CCCPaste

Restrict Upload Access for Users not paid

/* Restrict Upload Access for Users not paid */
function restrict_upload_access() {
if ( ! current_user_can( 'administrator' ) ) {
if ( get_user_option( 'jpw_subscribe_status', get_current_user_id() ) !== 'ACTIVE' ) {
$url = $_SERVER['REQUEST_URI'];

Untitled

#include <iostream>
#include <algorithm>
using namespace std;
int main() {

Make Featured Image fullsize

/* Make Featured Image fullsize */
.jeg_featured_img {
background: unset;
background-repeat: no-repeat;
background-attachment: fixed; /* Paralax Effect || Try enable and disable this line */

Custom Position Media Credit Text

/* Custom Position Media Credit Text */
$thumbnail .= '<span class="media-credit" style="max-width: 750px">' . \Media_Credit::get_plaintext( $image, true ) . '</span>';

2021-04-19_stats.json

{
"ip": {
"103.9.159.222": 3604,
"103.119.92.112": 60,
"58.226.52.77": 1704,

Some Customization

/* Some Customization */
.jeg_filter_button {
background-color: #111111;
border: 1px solid #303030;
}

Set max height mobile logo

/* Set max height mobile logo */
.jeg_mobile_logo img {
/* Increase Value */
max-height: 90px;
/* Unset Value */

Add content after body

/* Add content after body */
function add_content_after_body() {
?>
<style>
.wrapper_facebook_promote {

2021-04-18_stats.json

{
"ip": {
"58.226.52.77": 426,
"165.227.128.170": 225,
"185.202.0.7": 99,

Make Sidefeed to the right of content

/* Make Sidefeed to the right of content */
#jeg_sidecontent {
left: unset;
right: 0px;
border-right: unset;