Boot Store
Carousel records (1 post)

  1. 4ainick
    Posted 2 years ago #

    Thank you for such a wonderful theme.
    I encountered the following problem:
    I want to hide the category number 1 records, so it's do not appear in the main, but that they are displayed in the carousel. Hide category 1 with function:

    function hidecategory ($ query) {
    if ($ query-> is_home) {
        $ query-> set ('cat', '-1');
    return $ query;
    add_filter ('pre_get_posts', 'hidecategory');

    don't possible, write to disappear along with the main carousel.
    The same effect on the plugin Frontpage category filter.
    Help me please.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic