May 18, 2017 at 7:34 am #26660May 24, 2017 at 1:36 pm #26709
For news category permalink change, you can modify the framework/presentation/custom-post-types.php file (copy over the content of appropriate method
mo_register_news_post_type()to your child theme functons.php) and make the following change where it registers taxonomy –
register_taxonomy('news_category', 'news', array( 'hierarchical' => true, 'label' => __('News Categories', 'mo_theme'), 'singular_label' => __('News Category', 'mo_theme'), 'rewrite' => array( 'slug' => 'our-news' ), 'query_var' => true, 'show_ui' => true, 'public' => true, 'show_admin_column' => true ));
Do make sure you visit Settings->Permalinks after this change.May 24, 2017 at 1:44 pm #26710
For the other change relating to including the categories in the URL, pls use the permalink structure suggested in the below article –
BTW, would you mind giving us a positive rating for our theme on themeforest? You can rate us by visiting https://themeforest.net/downloads. Thanks in advance.May 24, 2017 at 5:04 pm #26723palmtreeParticipant
Thank you. It works!
I’ve found the plugin called “FV Top Level Categories” to change the category permalink structure:)
I have also left comment and 5 star rate at themeforest. You guys are fantastic!May 27, 2017 at 12:21 pm #26738
Glad you were able to resolve this. Thanks so much for the rating.
- The topic ‘Category post permalink URL’ is closed to new replies.