How can we help?

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

Home Forums Poka support How to remove, or change to "review"

This topic contains 4 replies, has 3 voices, and was last updated by  admin 3 months, 2 weeks ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #963

    Participant Can i change that “review” name or can i delete it? I want to address is like



    Hi Juup3,

    You can change your Custom post type slug with the following snippet:

    //Change CPT slug
    /*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;

    I don’t recommend removing the slug completely because if you have pages with the same title you are going to have a conflict.
    But if you want you can try this plugin :

    • This reply was modified 8 months ago by  admin.


    And what if it’s a multilanguage site, how can we translate this slug into other language? (..using v2 here)



    I guess it only can be done with WPML isn’t it? (…not Polylang or free plugins)

    • This reply was modified 3 months, 2 weeks ago by  igc.


    Hi igc!

    With WPML you can translate the slug in CPT, I’m not sure if this can be done with other plugins… (I think this can be done also with Polylang Pro but I’m not sure)

    In the above code you can also change it to:

    $args['rewrite']['slug'] = __('affiliatesnewslug', 'poka');

    but I don’t think it’s going to help you if you want to make your site multi language.

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

You must be logged in to reply to this topic.