« See all FAQs for Unite - WordPress Business, Magazine Theme

How do I exclude categories from appearing on my home page?

Open the file “index.php” and find the second instance of:

// Excluded categories
$excludeCategories = '';
$excludeCategories = get_theme_var('blogCategoriesMenuExclude');

There will be 2 instances of this exact code, find and EDIT THE SECOND INSTANCE.

Change the code to:

// Excluded categories
$excludeCategories = '';
$excludeCategories = array(1,2,3);

Change the numbers 1,2,3 to a comma separated list of the category ID’s you want to exclude from your home page.

by
by
by
by
by
by