Skip to content
This repository was archived by the owner on Jun 9, 2020. It is now read-only.

Strange issue: display_description() results in end of item/page output #55

Open
strarsis opened this issue Dec 10, 2019 · 0 comments
Open

Comments

@strarsis
Copy link

When using a custom template in theme (fdm-templates/menu-section.php),
using $this->display_description() inside will result in the item/page output to end right there.
Also the rest of WordPress page is not rendered.
Using $this->print_items() on that page works fine, the items of that section are correctly rendered.
Currently I use the condition + code (which isn't much) from display_description directly in the template file instead calling that function to avoid the issue and output the section description.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant