How do I remove date from front page, post pages?
Hello BytesForAll Forum!
Question 1: How do I remove the date from the front page and the post page? Question 2: Could I use a child theme to remove the dates? Here is the URL: http://www.artantiquebroker.com/ I have got a couple of hacks that I put in the Edit CSS file. But I want to figure a better, more permanent fix. The display: none works okay for the front page. But whiting out the date on the post page is not a very good fix. I might could figure out how to write a plugin but I was wondering if there might be an easier way to solve my problem? PHP Code:
Non-functional date remover plugin: PHP Code:
|
edit the sub template 'postformat.php'
|
Editing the postformat.php sub-template only removes the date from the front page. I already figured out how to do that.
This css snippet in the Edit CSS section removes the date from the front page. div.post-date { display: none; } You can't edit the date on the post pages from the postformat.php page. I am trying to figure out a permanent fix so I don't lost all my changes when the theme updates. |
single post pages use the 'single.php' template
|
Juggledad;
Thanks for the help. I updated to the latest version of the Montezuma theme the other day. I had forgotten but I had made a list of changes that I made to the previous version. What I have got is a text file where I am making a list of the changes so when I update I can remind myself. That is probably the best way to do what I need rather than try to figure out how to write a plugin. Thanks again. |
doing an update shouldn't change any theme option changes you made. If you go in and change the theme code - yes it will wipe them out, but changing a virtual template (like the single.php virtual template) will not be effected by a theme upgrade.
|
All times are GMT -6. The time now is 08:26 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.