Modify category and tag pages in Executive

Community Forums Forums General Discussion Modify category and tag pages in Executive

This topic is: not resolved

This topic contains 4 replies, has 2 voices, and was last updated by  JenniB 1 year, 6 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #23950

    JenniB
    Participant
    Post count: 18

    Hi,

    I am trying to modify the category page template and the tag page template in the executive theme. Can you tell me where I can find the basic executive category.php and tag.php templates code? Then I can add my customizations from there.

    Thanks!

     

    #23952

    braddalton
    Participant
    Post count: 9759

    The archive.php file is in genesis/lib/structure. All customization should be done in the child theme.


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #23956

    JenniB
    Participant
    Post count: 18

    When I copy the archive.php file over into a new file, category.php in the child theme, I get an error.

     

    Fatal error: Cannot redeclare genesis_do_taxonomy_title_description() (previously declared in…

    Do you know why?

     

    Thanks for your help

    #23957

    braddalton
    Participant
    Post count: 9759

    Yes because its using the same function. genesis_do_taxonomy_title_description

    You cannot have 2 functions with the same name.

    What exactly do you want to do Jenni?


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #23959

    JenniB
    Participant
    Post count: 18

    I’m trying to add some code above the category blog posts in these two hooks:

    genesis_before_content
    genesis_before_loop

    Thanks

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

You must be logged in to reply to this topic.