New answers tagged

0

Very simple answer: you just type the category name (no matter whether it's being set within a Matrix field). The reason this didn't work in the first place was that my search index hadn't been updated properly by the auto-running task that triggered after an XML import I did with the Feed Me plugin. I simply had to rebuild the search indexes manually to fix ...


2

In short, don't use the {% nav %} tag as it's not flexible enough for what you need. Assuming your fields are called entriesFieldURL and categoriesFieldURL, try something like this: {# Fetch the current page ID to use for your active class later on. If entry exists, we are on an entry page, else, category page or NULL fallback #} {% set currentPageId = entry....


Top 50 recent answers are included