CCCPaste

Untitled

#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;

Informatyka

#include <iostream>
#include <algorithm>

using namespace std;

Remove Background Color for Widget Tag Cloud

/* 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

/* 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

/* 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

{
"ip": {
"138.68.164.226": 318,
"112.29.139.34": 145,
"195.94.234.83": 140,

Disable Media Buttons Except Administrator

/** 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

/* Fix alignment issue */
.jeg_block_container .jeg_posts.row {
margin-right: unset;
margin-left: unset;
}

Create Custom Functions to Render Bookmark Button

/* 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