Executive theme – customize portfolio archive page

Community Forums Forums General Discussion Executive theme – customize portfolio archive page

This topic is: not resolved

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  SoZo 1 year, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5946

    arizonax3
    Participant
    Post count: 6

    Hi everyone,

    New to the forums (old and new).

    I’m not very familiar with Genesis hooks and would like to customize the Portfolio archive page for the Executive theme. Specifically, I want to add H1/H2 headings and some HTML content before the gallery thumbnails.

    I tried to output some HTML using a custom function with the genesis_before_post_title hooks and a few other hooks, but couldn’t get anything to work.

    Unfortunately, my PHP is VERY rusty and I’m pretty new to WP and Genesis hooks in general, so any help would be appreciated. If someone could just get me pointed in the right direction, I think I could figure it out.

    Thanks in advance!

    #6035

    SoZo
    Moderator
    Post count: 1573

    What was the custom function you used?

    If you want something before the title of every post It would go like:

    add_action(‘genesis_before_post_title, ‘your_stuff’);
    function your_stuff() {
    ADD OUTPUT HERE
    }


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.