For this method, you need to have the original, not nulled WP-Rocket plugin source. Don’t download the already nulled version of WP Rocket plugin, as someone may add some bad script in the code. Here are the steps to null the wp rocket plugin: Open your not nulled wp-rocket plugin zip file. then go to /inc/functions and …
Category: Code
Add Content After Theia Post Slider
// slider function my_custom_function( $html) { $html .= ‘ ‘; $html .= get_post_field(‘post_content’, $post_id); $html .= ‘ ‘; return $html; } $priority = 10; add_filter( ‘tps_the_content_after’, ‘my_custom_function’, $priority, 2 ); wp_register_script(‘clickmag’, get_template_directory_uri() . ‘/js/slider-handlers.js’, array(‘jquery’), ”, true);
WordPress- Don’t Allow Users See All Posts – Only See Their Own Posts
If you open the register function, or you have a lot of other contributors, authors, they will see all the posts published or pending, what a mess! How to find their own posts to edit? I just want to limit the post owners only view and manage their own posts in WordPress dashboard. Here is …