Empty on tag/category pages
-
The widget works fine on single pages and the blog overview page, but in tag and category templates, it’s empty, returning nothing. Tried using the shortcode as well, still nothing returned (only title is present, none of the links). Seems to be some issue related to the main post query. If I run the shortcode [simple-links] without any options, it returns a long list of posts (not links!). Tried using wp_reset_query(); in the template, before using the widget/shortcode, still no go. Displaying PHP errors gives me nothing relevant. Neither any js errors. Running var_dump on $simple_links gives me an empty object.
Not sure what to do next to troubleshoot this, do you have any tips?
- The topic ‘Empty on tag/category pages’ is closed to new replies.