Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author PWR Plugins

    (@rexdot)

    Hello @renik ,

    In the update today (version 2.3), we added the elpt_portfolio_cpt_slug_rewrite for the portfolio post type slug.

    So, you can add something this code snippet to the functions.php file, then re-save your permalinks, and this will be kept after future Powerfolio updates:

    // Powerfolio plugin: Modify CPT slug for the "elemenfolio" post type
    function powerfolio_modify_portfolio_cpt_slug( $slug ) {
        $slug = 'my-custom-slug';
        return $slug;
    }
    add_filter( 'elpt_portfolio_cpt_slug_rewrite', 'powerfolio_modify_portfolio_cpt_slug', 10);

    PS: modify the ‘my-custom-slug’ to the slug you need.

    Please let us know if it worked.

    Thread Starter WPUser

    (@renik)

    @rexdot thank you. Seems it works fine.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘URL slug of Portfolio’ is closed to new replies.