Ready to get started?Download WordPress


Boot Store
Carousel records (1 post)

  1. 4ainick
    Posted 3 months 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.


You must log in to post.

About this Theme

About this Topic