: Remove post dates from pages : Matt Friend March 25, 2012, 07:53:56 PM I would like to remove the post dates from my pages when i create content in them. I would still like the post dates to appear in blog posts on the main page, but I feel it is just not necessary on the about us page.
You can see it here...http://haiti.chipsnetwork.com/wordpress/index.php/about-us/ Thanks! : Re: Remove post dates from pages : Tristan Rineer March 26, 2012, 09:04:21 AM There's no easy way to explain how to make that change on that specific theme; newer themes have been modified to have a per-page toggle to enable/disable showing the date.
If you would like to PM me login/FTP information, I can adjust it so the date will only show on "pages" that have multiple posts, and not on ones that are a single item. : Re: Remove post dates from pages : Tristan Rineer March 27, 2012, 10:34:38 AM Thanks for PMing the FTP info.
Just in case anyone else would like to do something similar, I'll post the solution here and lock the thread: I changed line 148 of "s5_admin/s5_fw.php" (the last line of "s5_inject_date()") from : return $return; : if(!is_singular()){return $return;}else{return '';} What this does is check to see if the current "page" being loaded only has a single post or page worth of content, and if it does, instead of injecting the date, it erases the area where the date would go. |