Forum Replies Created
-
AuthorPosts
-
October 31, 2014 at 10:57 am in reply to: Comments & Comment List insert after genesis_entry_footer #130024GregThriveMember
Getting closer:
// Removes entire comments section
remove_action( 'genesis_comments', 'genesis_do_comments' );Now to figure out how to add it back to the entry footer.
I thought this would work but no go:
add_action('genesis_entry_footer', 'genesis_do_comments' );October 30, 2014 at 9:49 am in reply to: Genesis Featured Post Widget – Order by Date not working #129890GregThriveMemberWell, I selected don't show the previous posts option and now that seems to have triggered it to display ascending or descending posts properly- no more random.
GregThriveMemberWell home.php didn't work for whatever reason. Which is what I had originally set the template name as from memory but then scrapped it when it wasn't working!
However, thanks to you refreshing my memory on the template naming I named the template index.php and now it gets picked up properly.
I had to add
remove_action( 'genesis_loop', 'genesis_do_loop' ); vs.
remove_action( 'genesis_loop', 'genesis_standard_loop' );But hey, it's working as I wanted now! Thanks for your help!
GregThriveMemberAh yeah, you are correct. Though if I named the template home.php that should work or so I thought...
GregThriveMemberGregThriveMemberThe template is not being read once the page has been set to Posts Page under Settings -> Reading.
Once that page has been set as the blog page, nothing in the template has any affect. So the above code, or any code at all on the template or any markup of any kind is not working.
When "X" page is set as the blog page Genesis Standard Loop takes over. I have no idea why, this is my first Genesis site.
Note that I have other custom template with custom loops that work fine, it's something about setting the Posts Page in WordPress that blows this up.
GregThriveMemberJames,
Just so I understand completely, you are trying to create a custom page template that you would like to use as your blog page, is that correct?
Yes that's correct. More specifically I'd like to set my default blog category to 'blog', add '/%category%/' to my permalinks and create a custom Blog page (I want to leverage some functionality of it being a page). Ideally all archives and the blog page will share common markup, but I haven't gotten that far yet. I need custom markup outside of what the standard Genesis loop offers.
My custom loop function is a carbon copy of the genesis_standard_loop with a simple addition of an H1 for now to test that it is infact the loop being displayed. No other changes have been made.
-
AuthorPosts