Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author WPBean

    (@wpbean)

    Hi,

    Can you please tell me a little bit more about it?

    What exactly do you want to change in the permalink?

    Thanks

    Thread Starter missmikado

    (@missmikado)

    I would like to change the general slug “portfolio-items” to “coaches”

    Plugin Author WPBean

    (@wpbean)

    Add this PHP code to your child theme functions.php file. It will do it-

    add_filter( 'wpb_fp_post_type_slug', function( $slug ){
        $slug = 'coaches';
    
        return $slug;
    } );

    After adding it, you need to Refresh / Flush WordPress Permalinks.
    Step 1: In the WordPress admin area, go to “Settings > Permalinks”
    Step 2: Click “Save Changes”
    Step 3: Permalinks and rewrite rules are flushed.

    Thanks

    Thread Starter missmikado

    (@missmikado)

    Thank you, I will try that!

    Plugin Author WPBean

    (@wpbean)

    Hope it works. I am closing this ticket now.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘change permalink’ is closed to new replies.