Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2015-02-09 05:12:04

rsamco
Member
From: Bend, Oregon
Registered: 2012-12-20
Posts: 177
Website

Where is php code for rendering post meta-date?

This is my first foray into trying to write custom php within a WordPress theme so please bear with me on this basic question ...

I wish to modify the post-meta info shown at the bottom of a blog post in WordPress -- from the CE4 default of "<author><date>" back to what we had in CE3: "Posted on <date>". I have searched high & low trying to find the php code that writes the html but for the life of me can't find it. Here's the html generated:
post-meta-html.JPG

My understanding is that, once I find it, I can copy the relevant php function into my /phplugins/phplugins.php file, with necessary modifications ... right? 

Or maybe there is another way to "skin this cat"?  TIA!


Rick

Offline

#2 2015-02-09 05:42:32

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Where is php code for rendering post meta-date?

if you're doing this in WordPress, the best way would probably be to create a child theme and put the function in the child theme's functions.php file.

look in the theme files. It looks like the code is in the loop.php file.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2015-02-09 06:24:35

rsamco
Member
From: Bend, Oregon
Registered: 2012-12-20
Posts: 177
Website

Re: Where is php code for rendering post meta-date?

Thanks, Rod, that did it!


Rick

Offline

Board footer

Powered by FluxBB