• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Appfinite

Appfinite

Premium WordPress Themes for The Genesis Framework

  • Themes
  • Blog
  • Tutorials and Resources
  • Forums
  • Contact Us

Reply To: Removing the author and date from the Optimal Theme posts

Home › Community Forums › Optimal Theme Support › Removing the author and date from the Optimal Theme posts › Reply To: Removing the author and date from the Optimal Theme posts

October 3, 2012 at 4:19 pm #1543
Wes
Moderator

The post info can actually be removed from the functions file (not css) by adding this code –

/** Remove the post info function */
remove_action( 'genesis_before_post_content', 'genesis_post_info' );

To customize it, add the following code, and remove the shortcodes you don’t want to use –

/** Customize the post info function */
add_filter( 'genesis_post_info', 'post_info_filter' );
function post_info_filter($post_info) {
if (!is_page()) {
$post_info = '[post_date] by [post_author_posts_link] at [post_time] [post_comments] [post_edit]';
return $post_info;
}}

For more info – http://www.studiopress.com/tutorials/customize-post-info#remove

Primary Sidebar

Search Forums

Affiliate Program

Looking to earn some money? Join our Affiliate program and earn 35% of every sale you refer. Top referrers earn 40-50%.

Join Now →

The Genesis Framework

All of our themes are designed for the Genesis Framework. You will need to purchase Genesis in order to use any of our themes.

Purchase Genesis

Hire a Web Developer

Need help setting up or customizing your website?

Contact Us →

Search Full Site

  • Buy Genesis!
  • Shopping Cart
  • Themes
  • My Account
  • Support Forums
  • Tutorials and Resources
  • Privacy Policy
  • Contact Us
  • Follow Us on Twitter

Copyright © 2022 · Appfinite · Built With The Genesis Framework