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

WP SITES

2785

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Try Premium
  • Log in

Add Latest Post Before Archive Page Title In Genesis

This code enables you to add your most recent post before your archive page title and all other posts in the loop after your title like this :

The code enables you to :

  • Add your first post before your archive title on the first page of your paginated archives.
  • Customize/modify the default output for your Genesis child themes archive page.
  • Style the first post differently.

Demo Video

Shows the first post in the archive page loop displaying before the archive title description div on the tag archive page.

Tested using the Genesis Sample child theme by StudioPress.

Installation Steps

There’s 2 steps :

  1. # Upload the file named tag.php to your child theme folder like this:
  2.  

    Note : Rename the file to load the template on any other archive page type like category.php, archive.php and archive-portfolio.php.

  3. # Copy & paste the CSS to the end of your child themes style.css file and clear caching.
  4.  

Download Folder

Optional Styling

The style.css file includes optional styling. If you don’t want to style your archive like the demo, only use the first 24 lines of CSS.

CSS Grid Columns Taxonomy Terms

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
 

Loading Comments...
 

You must be logged in to post a comment.