How can we help?

If you are looking for support for our Poka theme, this is the place!

Home Forums Poka support Archive page

This topic contains 1 reply, has 2 voices, and was last updated by  admin 7 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #880

    Alexandr Kachur
    Participant

    Is it possible to disable this page https://demo1.pokatheme.com/review/ and disable it from breadcrumbs https://demo1.pokatheme.com/review/888poker/

    For example I want to have several top lists without pagination.

    And breadcrumbs for review must be
    home > 888poker

    Also suggestion, is it possible to add rating score to review comments

    #885

    admin
    Keymaster

    Hi Alexandr,

    You can add the following in your child theme in order to remove Archives for Affiliates Custom post type.

    add_action( 'wp_loaded', 'poka_child_change_cpt_affiliates', 20 );
    
    function poka_child_change_cpt_affiliates()
    {
        $cpt_object = get_post_type_object( 'affiliates' );
    
        if ( ! $cpt_object )
            return FALSE;
    
        $cpt_object->has_archive = false;
    
        return TRUE;
    }

    Also if you want to remove completely the “review” from breadcrumb you can copy-paste the poka_breadcrumbs() to your child theme functions in order to overwrite the default function and remove the line 116 (Add taxonomy link and separator).

    Thanks for the suggestion adding score to comments!

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.