How can we help?

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

Home Forums Poka v2 support How to change the review link in pokatheme?

This topic contains 1 reply, has 2 voices, and was last updated by  admin 23 hours, 46 minutes ago.

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

    Ermin Rajic

    Hi guys and girls im just triyng the poke them for the first time on my site and i really like it but its also new for me so thereare some things im still struggelning on. For example right now i want my review links for ex so be and i cant figer out how to change this=( There is a way to change the breadcrums and choose a site the “review” links to but i want to change the link=( Anybody know how to do this?



    Hi Ermin,

    In your child theme inside functions.php you’ll find a snippet called “Change CPT slug”
    In specific:

    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['rewrite']['slug'] = 'affiliatesnewslug';
        return $args;

    You should activate your child theme in order to have the ability to make future changes and remove the comment from this snippet.
    After that you can change the word “affiliatesnewslug” with your own slug.

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

You must be logged in to reply to this topic.