- This topic has 1 reply, 6 voices, and was last updated 9 years, 9 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › WordPress Themes – Premium › Encounters › Customizing Post Meta Data
Hello,
I’d like to make a modification to the look of each post. I’ve hidden the entry-date-box on all of my posts because my users are getting confused between when the post was posted, and the date of the event that the post describes.
I’ve attached a screenshot of what I’m trying to achieve.
In the Functions.php file I’ve found encounters_post_meta_data();
How do i insert a new span like “Posted on: Mar 01 2014”? I’ll also neet to append a • separator.
Thanks!
Post.png
Yikes! Very carefully actually. This unfortunately is something you will need to be very comfortable in writing php code plus know how WordPress gets the info and displays it because that code for post_meta_data is only part of the process; the rest happens behind the scenes with WordPress. In a nutshell, you would have to take that batch of code out and write your own. You would also need to modify the code in the content.php file…basically you have some coding to do.
You may want to see what other themes have that does that kind of layout and look at their code. Perhaps start with the WP default themes. You would have to take my code out from the content.php to replace it with yours.
If you plan on making these kinds of code changes (any code changes), it’s recommended you switch the theme to the child theme for this so that you can get parent theme (Encounters) updates without losing your modification that would be done in the child theme.
With our premium themes, we offer access to site documentation, video tutorials and timely support. Even if you have just started on WordPress, our support staff have the patience to help you create appealing sites gracefully.
Company
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.To find out more, including how to control cookies, see here: Privacy Policy
© Copyright © 2023 Styled Themes. All Right Reserved.