Black Friday Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[Support request] Post Nav in Page Header (GP 1.4)

Home Forums Support Post Nav in Page Header (GP 1.4)

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #359169
    Ophir

    Enjoying the new Page Headers in 1.4 (RC).

    I’ve setup a nicely formatted post header with background image, etc.

    I’m wondering, is there a clever/simple way to get .nav-previous and .nav-next from the bottom, into the post page header?

    Thanks!

    #359547
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Glad you’re enjoying it!

    Not yet – but I will be looking into adding those elements in an update 🙂

    #364112
    freeform1999

    I too would LOVE more design control of post-navigation and to put it in the post header.
    It seems there is many plugins or tweaks to various WP structure areas but not for post-navigation for some odd reason. (Fwiw, I just bought GP Premium mainly so I might get help with this need.)

    Currently, on some art gallery sites I make for clients I put the post-navigation on the same horizontal space as the post-title but aligned right. I just use something short like ” <<previous Projects next>>”, (sometimes I put a little ‘grid looking icon’ instead of the word ‘projects’ that when clicked on goes to a page with a gallery of thumbnails of all the projects’ (Tom, if you want to see a site I made as an example can I give a private link?)

    Hmmm, until update how can I best achieve this now?
    THX!!!!!!!

    #364146
    freeform1999

    Yo, I just found an older thread with code form Tom related to all this!… You gave code I’ll add here at bottom.

    But this code put’s the post-navigation above the post-title but as mentioned above I want it on same line, (I suppose if it was under the post-title I could css it with block align etc)…

    Also I’d want to change the ‘previous/next’ words
    and add the icon link between them (as mentioned in my post above)…

    THANKS SO MUCH FOR ANY HELP!

    ===========
    css:

    footer.entry-meta .post-navigation {
        display: none;
    }

    code (I put in functions but maybe could be added to hooks to place it where I want?):

    add_action( 'generate_before_content', 'tu_move_post_navigation' );
    function tu_move_post_navigation() {
        if ( function_exists( 'generate_content_nav' ) && is_single() ) {
            generate_content_nav( 'nav-below' );
        }
    }
    #364464
    Tom
    Lead Developer
    Lead Developer

    Are you wanting to do this as a template tag inside the new Page Header?

    #364477
    freeform1999

    I think so… if I understand what that really means. 🙂
    Hmm, can I give you a private link to a site I managed to hack the behavior working but in a another theme?
    thx!

    #364479
    Tom
    Lead Developer
    Lead Developer
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.