Site logo

Archived topic

"Previous" & "Next" feature in Dispatch Theme Posts broken

5 replies · Started by XHAUER Media GmbH on July 26, 2021

Viewing posts 1–6 of 6

Hey team,

for some reason the "Previous" & "Next" features at the bottom of Posts (in Dispatch Theme) are broken. Screenshot:

Broken Previous & Next Post in Dispatch Theme

Do you have any idea how to fix it?

Many thank for your help,
Michael

Hi Michael,

I see you're using the old variant of Dispatch. (the one with Hook element for post navigation)

Is there any history of modification on the Hook element for it? The Execute PHP doesn't seem to be enabled on it or it's being HTML commented out.

Let us know. :D

Thanks a lot, Elvin!

There's no modification history – actually the bug suddenly appeared out of the blue.. :)

Where can I find the Execute PHP for this element or the potentially out-commented HTML?

THX
M

Hi there,

in Dashboard > Appearance > Elements. Look for the Post Navigation element and edit that to check the Execute PHP is enabled.

However this is most likely happening because a security rule is setting: DISALLOW_FILE_EDIT.

You can bypass that just in the Hook Element by adding the PHP Snippet provided here:

https://docs.generatepress.com/article/generate_hooks_execute_php/

Cool, many thanks! Great support, as always. 👍

Glad to be of help

This archived topic is closed to new replies.