• 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 Academy Pro Hero Section To Archives With Unique Content For Each Category

This tutorial provides the code which enables you to add the hero section from the front page to each category page. You can also :

  • Add a unique hero image
  • Add a unique title & description

Demo Video

Shows custom fields added to each category admin page enabling you to add a unique title, description & poster to the hero section on any category archive page.

Tested using the Academy Pro child theme by StudioPress however should work in most Genesis child themes.

Installation Steps

There’s 4 steps :

  1. # Upload the folder named hero to the Academy Pro theme folder like this
  2.  

  3. # Upload the category.php file to the Academy Pro theme folder like this
  4.  

  5. # Copy & paste the following PHP code to the end of the Academy Pro themes functions file.
  6.  

    require_once CHILD_DIR . '/hero/hero-switch.php';

  7. # Install the ACF plugin ( free or premium version ), go to Custom Fields > Tools > Import and import the 96534.acf.json file.
  8.  

Download Folder

Academy Pro Theme Custom Fields

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.