If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
Tagged: portfolio date
Is it possible to have a different template on a per-category basis?
If so how do I do this?
For example, for portfolio items I don’t want the date to appear next to the post title yet for normal blog posts i’d like it to be there.
How did you remove the date for portfolio items and not blog? I am definitely interested in this.
You can use the “Custom Post Template plugin” to select individual templates for your posts/portfolio entries. You can download it here:
Install the plugin, make a copy of single.php (rename the copy to template-portfolio-entry.php) and and paste the following code before the first code line.
Template Name Posts: Portfolio
Then modify template-portfolio-entry.php as you like (i.e. remove the date).
The topic ‘Different blog post templates?’ is closed to new replies.