Support » Plugin: News CPT » Change the news url

Viewing 1 replies (of 1 total)
  • Plugin Author vanjwilson

    (@vanjwilson)

    @jaspen,

    Sorry I missed the notice of your question when you asked it. I’m just circling back around to this plugin after being busy with other projects for a while.

    To change the URL for the main page and all the individual news items, just change the slug field of the rewrite element in the $args array. This is around line 63 of the file news-cpt.php file.

    For instance, change this:

    'rewrite' => array(
                    'slug' => 'news',
                    'with_front' => false
                    ),

    to this (substitute whatever slug you want your news items to have):

    'rewrite' => array(
                    'slug' => 'zeitung',
                    'with_front' => false
                    ),

    I hope this is not too late to help. Let me know if you have any other questions.

    -Van

Viewing 1 replies (of 1 total)
  • The topic ‘Change the news url’ is closed to new replies.