You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 9, 2020. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.The text was updated successfully, but these errors were encountered: