Support » Plugin: Category Posts in Custom Menu » Show category (%post_category ?)

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Diana Koenraadt


    Hi Clément,

    thank you for responding. I could add such a wildcard, but the exact behavior needs to be specified first.

    Suppose we have categories:

    • Category 1
    • Category 1A
    • Category 1B
    • Category 1B-1

    And suppose we have posts:
    – Post 1 in Category 1
    – Post 2 in Category 1A but not in Category 1
    – Post 3 in Category 1A and explicitly also in Category 1
    – Post 4 in Category 1B-1 but not in others
    – Post 5 in Category 1 and Category 1B-1
    – Post 6 in *all* categories

    Suppose I display Category 1 Posts (including subcategory posts), and specify usage of %post_category.
    What would you expect to see?

    Kind regards,

    Thread Starter


    Hello Diana and thank you for the precise answer.

    In your case, the %post_category should be the closest category “child” for the post, such as :

    – For Post 1, 1
    – For Post 2, 1A
    – For Post 3, 1A,
    – For Post 4, 1B,
    – For Post 5, 1B-1
    – for Post 6, 1B-1

    That would work for my case : )

    Hope I make it clearer.

    Kind regard,

    Plugin Author Diana Koenraadt


    Hi Clément,

    I will not be implementing this wildcard directly, but I will allow further extensions of my plugin that can process additional wildcards. Keep an eye out for the next version.

    Kind regards,

    Chiming in, is this yet a possibility to add Categories as a wildcard?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Show category (%post_category ?)’ is closed to new replies.