Contributors: @pixolin
Requires at least: 4.5
Tested up to: 6.0.2
Requires PHP: 5.6
Stable tag: 0.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Exclude Category from Homepage
To exclude posts of a certain category, go yot posts > categories and
hover over the category you want to exclude. Note the tag ID shown in
the status bar of your browser. Replace -42
in function
exclude_category()
with the category ID you just retrieved, e.g. -21
.
- Go to your 'Plugins' menu > Install > Upload plugin.
- Activate the plugin through the 'Plugins' menu in WordPress