PDA

View Full Version : Removing Timestamps



Truthseeker
February 8th, 2015, 02:20 PM
Hi Lynn and everyone,

I’m going through the Niche Success Blueprint course. In Module 5, Lynn suggests removing the Timestamp from posts but leaving it on the main page.

I tried googling this and found some information. I'm using the Going Green Theme on the Genesis Framework. But, it’s all gobbledygook to me. I’m not sure which string of code I should be using. :confused:

I don’t want to mess anything up. In the module, Lynn said that technical questions could be asked on the forum.

So, ... help! :eek:

Thanks in advance.

Cassandra
www.naturalgreenoasis.com

Lynn Terry
February 9th, 2015, 08:50 AM
Welcome Cassandra :)

In your WordPress Dashboard go to Appearance -> Editor.

Select your theme from the dropdown box at the top right.

Click Single Post (single.php).

The code for the datestamp in THIS file is what you want to edit to remove it from blog posts only.

First, copy all the code to notepad and save it - in case you need to change it back (if you mess it up).

Remove the line for the time/date. Save. Double check it in a browser.

If you can't locate the code, paste the page code here and I'll help you. :)

Truthseeker
February 11th, 2015, 10:12 AM
Welcome Cassandra :)

In your WordPress Dashboard go to Appearance -> Editor.

Select your theme from the dropdown box at the top right.

Click Single Post (single.php).

The code for the datestamp in THIS file is what you want to edit to remove it from blog posts only.

First, copy all the code to notepad and save it - in case you need to change it back (if you mess it up).

Remove the line for the time/date. Save. Double check it in a browser.

If you can't locate the code, paste the page code here and I'll help you. :)

Hi Lynn,

Thank you for responding. My framework is Genesis but seems to be a bit different though:

When I go to my theme which is the Going Green Child Theme, the only categories I see are:

Theme Functions (functions.php)
home.php
Landing Page Template (page_landing.php).

Now, if I go back and select Genesis as the theme, I see the Single Post (single.php) category.

However, when I click on that I get this:

WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances.
* Please do all modifications in the form of a child theme.


Is this a theme that won’t allow this type of modification?

Thanks again.

Cassandra

Lynn Terry
February 12th, 2015, 12:50 PM
Hi Cassandra,

I had to select my custom theme from that dropdown box. I use Genesis as well on ClickNewz, but had a "clicknewz theme" there and chose that and was able to edit that single.php file.

I haven't checked into it myself, but I read this on another blog:

"For each Genesis child theme there is forum where you can ask your doubts, code snippets for modifying Genesis theme..."

source: http://www.techlila.com/genesis-wordpress-theme-customization/ (some great tips for customizations there as well)

Truthseeker
February 13th, 2015, 06:41 PM
Hi Cassandra,

I had to select my custom theme from that dropdown box. I use Genesis as well on ClickNewz, but had a "clicknewz theme" there and chose that and was able to edit that single.php file.

I haven't checked into it myself, but I read this on another blog:

"For each Genesis child theme there is forum where you can ask your doubts, code snippets for modifying Genesis theme..."

source: http://www.techlila.com/genesis-wordpress-theme-customization/ (some great tips for customizations there as well)

Thank you Lynn.

Cassandra