• Resolved kourosh77

    (@kourosh77)


    Hello.

    It is instructed to change permalink name from /news to something else, but how can I do that?

    right now my permalink address is like this :

    As you see the “news” part of the slug is fixed and can’t be changed. I can only change after that. So how to change /news to something else?

    • This topic was modified 2 years, 10 months ago by kourosh77.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Ketan Patel

    (@patelketan)

    Hello,

    Thanks for connecting with us…

    Please go to your activated theme function.php file and add the below filter code in your function file and check.

    function wpnw_modify_news_post_slug( $slug ){
            $slug = 'latest-news'; // Write your desired slug      
            return $slug;
    }
    add_filter( 'wpnw_news_post_slug', 'wpnw_modify_news_post_slug' );

    Please refer to the below screenshot.
    https://prnt.sc/Lh83niC3lG5p

    Please check and let me know if you have anything else.

    Thanks,

    Thread Starter kourosh77

    (@kourosh77)

    Yes! That fixed my problem. Thank you for the help. Appreciate it.

    Plugin Author Anoop Ranawat

    (@anoopranawat)

    Hello @kourosh77

    Please share your rating and review if you like our plugin and support.

    Thread Starter kourosh77

    (@kourosh77)

    I just did. Thanks again.

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