Site logo

Archived topic

Custom Post navigation broken

7 replies · Started by Andrew on December 12, 2019

Viewing posts 1–8 of 8

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

Hi there,

Sorry what code are you referring to?

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).

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

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 :)

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

No problem :)

This archived topic is closed to new replies.