Home Forums Themes Support General How to change post type slug in HaruTheme

Viewing 1 post (of 1 total)
  • Author
  • #2687

    Hi all Customer,

    In this topic tutorial we’ll help you change posttype slug (Archive Posttype page).

    We’ll use Formota theme as example and change slug of Posttype Video:

    Step 1: Go to wp-content/plugins/haru-formota-core/includes/posttypes/ then open file video.php

    Step 2: Change video slug please see line 75. You need change code here:

    'slug' => 'video',

    change to:

    'slug' => 'haru-video', // You can change to an other slug

    Step 3: Go to Settings -> Permalink and re-save.

    You can do similar when change video-category & video-tag slug

    Step 4: If you don’t want to show archive custom posttype page you can change the code on line 69 from:

    'has_archive' => true,


    'has_archive' => false,

    Maybe you need re-save permalink options.

    Hope this help you!



    Best regards,


    • This topic was modified 12 months ago by admin.
    • This topic was modified 12 months ago by admin.
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.