Support » Plugin: List category posts » Multiple Categories and Subcategories

  • Resolved peterssh

    (@peterssh)


    Hi Fernando,

    Love the plugin. One functionality I’m trying to implement is when I’m linking posts from multiple categories, I can separate the links into their respective categories (see https://en.wikipedia.org/wiki/Template:Greatlakes). Is this possible in the current version or would I have to alter the code?

    Regards,
    Peter

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Fernando Briano

    (@fernandobt)

    Hi Peter,
    Do you mean doing something like:

    Category 1 | Post 1, Post 2, Post 3
    Category 2 | Post 1, Post 2, Post 3
    ...
    Category N | Post 1, Post 2, Post 3

    If that’s the case, you can use several instances of the shortcode in the same page. Example:

    [catlist name="main_lakes"]
    [catlist name="secondary_lakes"]
    [catlist name="bays_and_waterways"]
    [catlist name="islands"]

    Additionally, if you want to show the category name, you can use the catlink or catname parameters.

    Yes that’s it! That would work, thank you very much Fernando!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multiple Categories and Subcategories’ is closed to new replies.