This article shows how entry meta (or post info) in the entry header can be removed for specific post types in all views (singular and archives) in Genesis. Before: After: Here’s How: Add the following in child theme’s functions.php: Enter the post type(s) for which post info should not be output in this line: For […]
Post info
How to Customize Post Info in Genesis
This tutorial shows how to make changes to post info or entry meta before content in Genesis using the genesis_post_meta filter. Add the following in child theme’s functions.php: and edit the return line inside the function as needed. For example, to delete post comments, you would change it to:
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 remove Post info from Posts older than 30 days in Genesis
In the comments section of How to remove Post info conditionally in Genesis, a user asked: How do you remove post info based on post age? Say for posts older than 30 days? WP Engineer has published a post with a handy function for checking if a post is older than a certain number of […]
How to remove post info from a specific post in Genesis
In my previous tutorial titled How to remove Post info conditionally in Genesis, I shared code to remove post info from all archives posts on a Page that uses Blog Page Template all entries of a particular CPT What if you want to get rid of the post info from a particular post or a […]
How to remove post info in Genesis for all post types other than ‘post’
Looking to remove the post info (comprised of date, author, link to comments) on entries of all post types except the standard Posts in Genesis? Just add this in your child theme’s functions.php: Thanks to: Robin Cornett. Source: genesis/lib/init.php
How to add taxonomy slugs to entry terms span in Genesis
genesis_post_info filter hook can be used to customize post info which appears in entry header by default in Genesis. For example, This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional […]
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 […]
How to Remove Date from all Posts of a Specific Category in Genesis
Missy asks, Hey #genesiswp developers! Any of you know how to turn the date off on just 1 category?— Missy ♿️📚 (@nerdoutofspoons) October 8, 2014 @srikat on all the posts in a category— Missy ♿️📚 (@nerdoutofspoons) October 8, 2014 We can attach a function to the genesis_post_info filter and use in_category() if conditional to remove […]
How to remove Post info conditionally in Genesis
To view the full content, please sign up for the membership. Already a member? Log in below or here.
Recent Comments