single
Show single post child category from a determined parent
I am trying to show in a single post child category from a selected category. For some single post, I have a category that is corresponding to an area. I want to show that category in a special area of my single post template.
Check If Post Was Published More Than 6 Months Ago Using get_the_date
Inside my content-single template, I have a conditional check that displays text based on how old the post is. The idea is to inform visitors that they might be reading “old” news.
Redirect Single Post CPT (Custom Post Type) to a specific URL
I have a domain domain.com and subdomain materials.domain.com
How to disable the single view for a custom post type?
Given this custom post type:
Is it possible to use a single custom post as the site front page
I know I can set a static page as the homepage but is it possible to set a single custom post as the site front page?
How do I create a widget that only allows a single instance?
How do I create a widget that only allows a single instance of a widget to be added through the WordPress interface?
Related Posts by Multiple Tags?
I was curious if was possible to display related posts by multiple tags.
How to get a list of term names of the custom post type im currently on in single.php
Ok so I have a custom post type of “Products” and a custom taxonomy of “Types”. Now in the types taxonomy I have dozens of categories and sub categories assigned to custom post types.
HTML code in Custom field
I’m using a custom field to display images in a slider on each post, but when I update the post after having entered the HTML code in the custom field, the code disappears. I’m assuming that there is some kind of filter that removes HTML code from custom fields when a post is saved. Is there a way to circumvent that without using a plugin?