Website speed is one of the major criteria Google uses to rank your site. If you have a slow site it not only hurts your search engine ranking but is also bad for your users. A performance optimized site not only helps you get higher ranking but also helps you generate more revenue from your site. The question is how can you increase your site’s load time. There are many […]
Why is a child theme important in WordPress?
RSS (Rich Site Summary) is a format for delivering regularly changing web content. Many news-related sites, weblogs and other online publishers syndicate their content as an RSS Feed to whoever wants it. If you would like to use RSS feed of some other site to show their latest posts into your site/blog then WordPress has a handy function which you can use to pull the posts from another site. Following code helps you […]
If you want to dynamically add your own class to every image added from WordPress Editor then use following code. Add the code into your theme’s functions.php file and change the class according to your requirement.
In WordPress, you can only remove post featured image one by one by editing each post and clicking on the “Remove Featured Image” link, which is easier to do if you have only few posts but if you have hundreds of posts then removing them one by one can be a daunting task. But fear not, there is a simpler and easier way to bulk remove featured image in WordPress. […]
The “the_post_thumbnail()” function for featured image in WordPress does not shows anything if a featured image is not attached to the post. In case you want to show a default image in your theme if a user has not attached any featured image then use following script: