Home WordPress Snippet

Tag: WordPress Snippet

  • How to display related posts on your WordPress site

    Most of the time we want to keep the visitors more on our websites, by providing them options to explore after they have finished reading the article or when scrolling down the page.
  • How to fix the missing captions from the gallery without re-selecting each image

    Have you noticed that after the most recent WordPress upgrades you might have lost the captions on the images rendered in the galleries? See below the PHP snippet that fixes this programmatically, in just a few lines of…

  • How to Automatically Set a Specific Template to New WordPress Posts – Snippet Included

    Applying by default a specific template to new posts, pages or custom post types seems like the fastest…