This premium tutorial provides the code to customize the post info to remove the published date from all category archive pages in Genesis except for a specified category. Add this in child theme’s functions.php: To view the full content, please sign up for the membership. Already a member? Log in below or here. Username Password […]
genesis_post_info
Conditional Post Info in Genesis
This members-only tutorial provides the steps to remove “by <author name>” from the entry header’s post info in Genesis for posts in which “Hide Author?” checkbox, a custom field has been ticked. True / False type of custom field added using Advanced Custom Fields Post info without”by <author name>” for entries where “Hide Author?” has […]
How to customize post info in entry header on select single posts in Genesis
Looking to modify the entry meta or post info in the entry header in your Genesis site but only on specific single posts? We can do this by wrapping the code inside a if condition that checks for IDs of selected posts in the function that is hooked to genesis_post_info. Adding the following sample code […]
How to remove Dates from Posts in Genesis
Looking to get rid of dates from appearing in the post info text in your Genesis site? Add the following in child theme’s functions.php: add_filter( ‘genesis_post_info’, ‘sp_post_info_filter’ ); /** * Customize entry meta in the entry header. * * @param string $post_info Existing post info * @return Modified post info */ function sp_post_info_filter( $post_info ) […]
How to add link to comments when commenting is disabled for posts in Genesis
By default bylines or post info in Genesis shows the published date, author link, link to comments and edit links. Posts for which comments have been turned off by unchecking “Allow comments.” in the Discussion meta box in post editor will not show the link to comments. It is possible to show comments link by […]
How to add a link to author’s Twitter page in post info in Genesis
Post info or entry meta in the entry header in Genesis shows published date, author link, link to comments and edit link by default. What if you want to display post author’s Twitter link in the post info? In this article I share the code to load Dashicons (we are going to use its font icon […]
Recent Comments