Forum Support

Shape 5
March 29, 2024, 04:22:25 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Remove post dates from pages  (Read 693 times)
Matt Friend
Jr. Member
**
Offline Offline

Posts: 12



« on: 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!
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #1 on: 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.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #2 on: 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
Code:
     return $return; 
to
Code:
     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.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.