How can we help?

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

Home Forums PokaTheme support Adding content to archive page for reviews

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


    I am currently working on changing a couple of my sites to pokatheme V3. I used to have my reviews as pages under /casino-bonus/review-title etc. I would like to keep this structure so that I don´t need to make any redirections. I have seen that I can change the slug to casino-bonus, but then I get an archive page where I can´t add any content. Is it possible to keep my old page as the slug or somehow add the content to the archive page?

    Thanks in advance!



    You can disable the archive pages for the reviews with the following snippet:

    `add_filter( ‘register_post_type_args’, ‘change_slug_affiliates_cpt’, 10, 2 );
    function change_slug_affiliates_cpt( $args, $post_type ) {

    if ( $post_type == ‘affiliates’) {
    $args[‘has_archive’] = false;

    return $args;

    If you add the above to your functions.php child theme then the archive page for this CPT is going to be disabled and you can use a page with the same URL and customize it as you wish.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.