How to show one category in an article

Phoca Gallery - image gallery extension
paladin
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 19 Jul 2017, 13:46

How to show one category in an article

Post by paladin » 03 Oct 2019, 15:17

Hi.
i would like to know if it is possible to show ONE category in an article.
i use the plugin to add categories but the option allow me to mask categories. Not to add.
Of course i could mask all categories except the one i want to show but if i add another category later, it will appear on my article...

Tags:

User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 7202
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: How to show one category in an article

Post by Benno » 03 Oct 2019, 16:37

Hi,
this is possible. For example this plugin code:

Code: Select all

{phocagallery view=category|categoryid=40}
displays the category with ID=40 inside an article.

See backend:
Image

Result at frontend:
Image

Kind regards,
Benno

paladin
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 19 Jul 2017, 13:46

Re: How to show one category in an article

Post by paladin » 04 Oct 2019, 08:07

Thanks a lot :)

User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 7202
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: How to show one category in an article

Post by Benno » 04 Oct 2019, 08:54

You're welcome!

Kind regards,
Benno

Post Reply