• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar
  • Skip to user navigation

PopWP

WordPress and Genesis Tutorials

  • Get Started
  • About
  • Archive
  • Services
  • Membership
  • My Account

Customize Post info conditionally in Genesis

Last Updated on November 28, 2018 Favorited: 1 times

You can customize the ENTRY HEADER Entry Meta containing Post info for Blog, Post, Page, Custom posts types, archives and more Conditionally using the benefits of WordPress Conditional Tags.

The snippet will be added at the end of functions.php

Default

The Global settings can be made for post info using this

//* Customize the entry meta in the entry header.
add_filter( 'genesis_post_info', 'gk_post_info_filter' );
function gk_post_info_filter($post_info) {
	$post_info = 'September 19, 2018 written by Aryan Raj   ';
	return $post_info;
}

Different meta on the post page and singular post

To view the full content, please sign up for the membership.

Already a member? Log in below or here.

 
 
Forgot Password

Related Posts

  • Conditional Tag is_front_page() v/s is_home(). What to use?
  • Add Custom Body Class in Genesis
  • Customize entry header entry meta (Post Info) in Genesis
  • Conditional site footer in Genesis
  • Replace site footer widget area conditionally in Genesis

Categories: Genesis Tutorials, Premium Content, WordPress Tutorials Tags: conditional, conditional tags, post info

Primary Sidebar

Search

WPEngine WordPress Hosting, Perfected.

Hosting You are looking for?.
Perfect solution for small business to global enterprise.

Learn more

StudioPress Genesis Theme Framework

The No.1 Theme Provider.
Creative, SEO rich Theme for all niche projects.

Learn more

Categories

  • Free Content
  • Genesis Tutorials
  • Premium Content
  • Snippets
  • What's New?
  • WordPress Tutorials

Tag Cloud

Archive Background Section blog canvas menu center logo columns conditional tags CSS CSS Grid custom Customizer custom post type Custom Post Types custom template Custom Widget effect eNews Extended Featured Image front-page Genesis Genesis Sample header right hero section Image Background js layout left menu Logo menu Navigation Menu newsletter post page related posts responsive menu search search widget Shrinking Logo site header slide in-out Stylesheet Template Utility Bar Video Background widgets WordPress

Built with Genesis Framework + WordPress by Aryan Raj

  • Contact
  • FAQ
  • Disclaimer
  • Privacy Policy
  • Copyright Policy
  • Terms of Service