Support Forums for LiveMesh Themes & Plugins › Forums › Invent Theme Support › Category post permalink URL
- This topic has 4 replies, 2 voices, and was last updated 7 years, 6 months ago by Raghavendra.
-
AuthorPosts
-
May 18, 2017 at 7:34 am #26660palmtreeParticipant
Hello Code Master,
I would like to change category related permalink.
Currently the invent theme default is…Category
1. https://www.livemeshthemes.com/invent/category/inspiration/ (Category: inspiration)
2. https://www.livemeshthemes.com/invent/college-interview/ (Category is inspiration but not shown in URL)News related
3. https://www.livemeshthemes.com/invent/our-news/
4. https://www.livemeshthemes.com/invent/news-category/achievements/I would like the permalink to be following
================================================
1. https://www.livemeshthemes.com/invent/inspiration/ (Category: inspiration)
2. https://www.livemeshthemes.com/invent/inspiration/college-interview/ (Category is inspiration shown in URL)
3. https://www.livemeshthemes.com/invent/our-news/
4. https://www.livemeshthemes.com/invent/our-news/achievements/ (out-news instead of news-category)It would be really great if I could do this.
May 24, 2017 at 1:36 pm #26709RaghavendraModeratorFor 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 #26710RaghavendraModeratorFor the other change relating to including the categories in the URL, pls use the permalink structure suggested in the below article –
http://www.wpbeginner.com/wp-tutorials/how-to-include-category-and-subcategory-in-wordpress-urls/
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 #26723palmtreeParticipantThank 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 #26738RaghavendraModeratorGlad you were able to resolve this. Thanks so much for the rating.
-
AuthorPosts
- The topic ‘Category post permalink URL’ is closed to new replies.