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

WP SITES

2784

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Consultation
  • Full Access
  • Log in

Modify Post Info On Single Posts & Remove Or Customize On All Other Pages

Its pretty easy to add some PHP code in your child themes functions file to remove all the post info from all pages and posts on your site.

You can also add code to modify the post info you want to display on single posts or archive pages.

But what if you only want to modify your post info on single posts and remove it from all other pages on your site?

What if you only want to modify the entry meta in the entry header on single posts and also modify it differently on all other pages on your site?

In this post, i’ll give you 2 PHP code snippets you can choose from to remove all the post info from your site and only display modified post info on single posts.

Solution 1

The above code enables you to display a different post info for non single posts or completely remove the post info for non single posts and only modify the post info on single posts.

Solution 2

The above code enables you to customize the post info on single posts and completely remove it from all other pages on your site.

Both solutions only display the modified date using a shortcode i created for this purpose however you can use any existing shortcodes included in Genesis for the entry meta including author, comments, date, category & tagged with shortcodes.

You can also use any entry meta shortcodes for the entry header or entry footer including the tagged with and filed under shortcodes for category & tags.

Entry Meta

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags