Archives
Trending
Support
Login
Untitled
Show paste
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
Informatyka
Show paste
#include <iostream>
#include <algorithm>
using namespace std;
Remove Background Color for Widget Tag Cloud
Show paste
/* Remove Background Color for Widget Tag Cloud */
.jnews-dark-mode .jeg_main .widget.widget_tag_cloud {
background-color: unset!important;
}
Fix Truncated Text in Mobile
Show paste
/* Fix Truncated Text in Mobile */
@media only screen and (max-width: 480px) {
.jeg_pl_lg_4 .jeg_post_excerpt {
max-height: unset;
}
Responsive Font Size Example
Show paste
/* Responsive Font Size Example */
@media only screen and (max-width: 480px) {
.jeg_block_heading h3.jeg_block_title span {
font-size: 5vw;
}
2021-06-15_stats.json
Show paste
{
"ip": {
"138.68.164.226": 318,
"112.29.139.34": 145,
"195.94.234.83": 140,
Disable Media Buttons Except Administrator
Show paste
/** Disable Media Buttons Except Administrator */
function disable_media_buttons() {
$user = wp_get_current_user();
if ( ! in_array( 'administrator', (array) $user->roles ) ) {
remove_action( 'media_buttons', 'media_buttons' );
Fix alignment issue
Show paste
/* Fix alignment issue */
.jeg_block_container .jeg_posts.row {
margin-right: unset;
margin-left: unset;
}
Create Custom Functions to Render Bookmark Button
Show paste
/* Create Custom Functions to Render Bookmark Button */
function custom_bookmark_button( $post_id ) {
/* need to flag if this can render login form */
add_filter( 'jnews_can_render_account_popup', '__return_true' );
Function to Render Bookmark Button
Show paste
Previous
1
2
...
2276
2277
2278
2279
2280
...
2682
2683
Next