These 3 code snippets all produce exactly the same result on the front end: The code enables you to display the value of all custom
WordPress Tips
You've landed on the archives page for posts filed under the WordPress Tips category.
Here you'll find useful tips and tutorials to help solve common problems and build a better WordPress site.
Add Post Views Counter For Popular Posts
This code enables you to display the single post view count for each post. The code creates a new function get_views(); you can use in any
Show Child Pages on Parent Page
These 5 code snippets provide 5 different ways to display a list of all child pages on their respective parent pages. The list of child
Show Child Categories On Parent Category Page
This code displays a list of all child or sub categories of the parent category like this in the sidebar: You can change the hook to
Link Read More Link to Any URL
This code enables you to conditionally link the read more link to any URL. Here's the demo video: The code in this tutorial
Remove Class From WordPress Body & Post Classes
These code snippets enable you to remove body & post classes in WordPress. You can use the code directly in a template file which uses