If you’ve directly deleted images uploaded to WordPress using FTP or another method, you might notice that your WordPress Media Library still displays blank thumbnails of the deleted images. This can be frustrating, especially after trying various plugins like Advanced Database Cleaner and Media Cleaner without success. However, there’s a straightforward solution to this issue …
Category: Code
Enhancing User Engagement with Infinite Scrolling in WordPress
Implementing infinite scrolling on your WordPress site can significantly enhance user engagement by providing a seamless browsing experience. This technique allows readers to continuously view content without manual pagination, keeping them engaged for longer periods. Implementing Infinite Scrolling in WordPress Introduction Infinite scrolling is a popular feature on modern websites, particularly beneficial for blogs and …
How to Add a Pinterest Button to Images on Your Website
In this post, I’ll teach you how to add a Pinterest button on your website without plugins, and the images will always display on your images, not mouse hover to display the button. In the era of digital marketing and social media, integrating platforms like Pinterest into your website can significantly enhance your content’s reach …
How to Customize WordPress Thumbnail Cropping to Focus on the Top Part of Images
If you’re looking to customize the default behavior of WordPress thumbnail cropping to focus on the top part of your images, you’ve come to the right place. By default, WordPress crops thumbnails from the center, which might not always be ideal, especially if you want to emphasize the top section of your images. Here, we’ll …
How to Null WP Rocket Plugin
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 …
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 …