Tag: CSS

How to Add Related Posts to Your WordPress Site Without Plugins – A Simple Guide

If you want to keep your readers engaged and interested in your content, one way to do it is by showing them related posts. Luckily, WordPress has a built-in function called get_posts() that can help you fetch related posts based on the current post’s categories and tags. Before making any changes to your WordPress theme, […]

How to Add a Vimeo Background Video to Your WordPress Site: A Step-by-Step Guide

Adding a background video to your WordPress site can enhance its visual appeal and engagement. Vimeo offers a great way to add a background video to your site without using any plugins. In this tutorial, we will show you how to add a Vimeo background video to your WordPress site in a few simple steps, […]

The Simplest Way to Add Related Posts to Your WordPress Site Without Plugins

The Simplest Way to Add Related Posts to Your WordPress Site Without Plugins

Creating your own Related posts for WordPress custom post types or for your blog isn’t that hard. You can use my example code below to set it up. Before we start, I assume you already have experience with editing PHP and working with your WordPress child theme. Also check the new post about adding related […]