2016-05-09, 03:51:51
(2016-05-09, 02:09:36)Carlos Wrote:(2016-02-27, 03:41:58)davetest Wrote: Feature request - A special tag that stops a post from appearing on the News page so that it will only appear in pages using other tags that are set.
Try this:
- Replace files in news_manager/inc by the ones in the attachment.
- Add your "special" tag (or several tags separated by commas) to your gsconfig.php like this:
Code:define('NMDEFAULTEXCLUDETAGGED', 'tag1,tag2,tag3');
Or you can use "invisible" tags (prefixed with underscore), e.g.:
Code:define('NMDEFAULTEXCLUDETAGGED', '_hide');
(Posts having excluded tags will not be listed in: the main and secondary news pages, date archives, sidebar recent and archives functions - only in tag pages and search results.)
Thank you Carlos for this solution, it works great.