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 »

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: 9451
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: How to show one category in an article

Post by Benno »

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 »

Thanks a lot :)
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9451
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: How to show one category in an article

Post by Benno »

You're welcome!

Kind regards,
Benno
Post Reply