I am using Genesis 1.9.2 and the Prose theme version 1.5.2.
I want to modify the post-info line. In particular, I want to modify the "Leave a comment" link. If the page is a blog page or an arcive page that's a listing of posts, I want the post-info line to say "Read full post" and have a link to the single page for the post. (On my blog page, I show featured image and the excerpt, so it doesn't make sense to give the reader the opportunity to Leave a comment if he or she has not read it yet.) If the post-info is beign displayed on a single post page, then I'd like to use the current "Leave a comment" link which takes you to the bottom of the page where the comment area is.
I think I understand, WP, and Genesis enough to hack out the right code. My problem is, I can't figure out where the is generated. Does anyone know the function I'd have to replace or the which file in the themes I need to look at?
You could start with these snippets, modifying them as necessary to display different info on single pages vs. archive pages:
Since you're using Prose, you should paste any PHP snippets into Genesis --> Custom Code --> Custom Functions, NOT into the functions.php file as that tutorial suggests. This will let you make your changes without directly modifying the theme files.
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!