[Resolved] Custom Post navigation broken

Home Forums Support [Resolved] Custom Post navigation broken

Home Forums Support Custom Post navigation broken

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1102525
    Andrew

    Hi,

    My blog post functionality is seems to be malfunctioning. When viewing a post, before the footer on the page, I see the following:

    “1, ‘include’ => $prevPost->ID ); $prevPost = get_posts($args); foreach ($prevPost as $post) { setup_postdata($post); ?>”

    Also, the post author link is also “broken”

    “post_author; ?>”

    I’ve found this code is referenced in the Custom Post navigation page. I’m using the latest GP + Premium and I’ve imported the Peak starter site. This error persists even with all plugins deactivated as well.

    Seems like this is a case of a simple tag being left open, but I want to double check before editing the theme in a random way.

    Any help you can provide is appreciated.

    Thanks,
    Andrew

    #1102582
    Leo
    Staff
    Customer Support

    Hi there,

    Sorry what code are you referring to?

    #1102591
    Andrew

    This code is erroneously rendered on page in the browser. It seems it may be related to the “Custom Post navigation” element of the “Peak” package (imported site).

    #1102606
    Leo
    Staff
    Customer Support

    I just imported Peak and there is no Custom Post navigation under element:
    https://www.screencast.com/t/69oAqsc4W

    Peak is just using the default post navigation:
    https://gpsites.co/peak/?p=59

    #1102609
    Andrew

    Interesting. I attempted to recreate this but still had Custom Post…
    Please disregard this issue for now. Thank you for your time!

    #1102617
    Leo
    Staff
    Customer Support

    Did you import some other sites before Peak?

    If so it’s likely leftover from the previous install.

    You can just remove the element if you don’t need it ๐Ÿ™‚

    #1102619
    Andrew

    I don’t recall, but I may have. I’ll remove the element and see how this affects things. Thanks.

    #1102623
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.