Return to Support

Home page panes above content

Home Forums Graphene WordPress theme Support Home page panes above content

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9065
    cjkorf
    Member

    I am wanting to move the home page panes on my site above the page content. I was searching the forum and came across a post that said this could be done by adding the following to my child-theme’s functions.php:

    Quote:
    function graphene_move_homepage_panes(){

    remove_action( ‘graphene_bottom_content’, ‘graphene_display_homepage_panes’ );

    add_action( ‘graphene_top_content’, ‘graphene_display_homepage_panes’ );

    }

    add_action( ‘template_redirect’, ‘graphene_move_homepage_panes’ );

    I tried this and it moved the page content to the bottom of the page, but the home panes were not visible. Any ideas?

    #42699
    Prasanna SP
    Member

    Did you change the home page from static front page to recent posts?

    #42700
    cjkorf
    Member

    I figured it out. Thanks.

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

You must be logged in to reply to this topic.