Home › Forums › Themes Support › Claue › Portfolio Subcategories + Breadcrumb Navigation
Tagged: navigation, url, url string, optimize, breadcrumb, SEO, portfolio
- This topic has 10 replies, 2 voices, and was last updated 6 years ago by Harry.
-
AuthorPosts
-
-
December 10, 2018 at 5:47 am #27507
Hi Harry,
I have some questions regarding the portfolio site. I want to make the Portfolio site more SEO friendly. To do this I would like to create a clean and logical URL structure. Moreover, I would like to add a breadcrumb navigation on the individual portfolio page, because as it is right now, the user is stuck on the portfolio page. To reach this goal, I think it would be the easiest to create categories, sub-category1 & sub-category2 (I have something in mind how is it in the shop-category URLs)
I tried to add subcategories to the Parent-Categories, but once I add more than one sub-category, the sub-category 2 becomes a parent category somehow. So it somehow doesn’t work here with more than one subcategory. Do you have an idea why this doesn’t work?
And my second question is if it is possible to create a URL string which looks like this /portfolio/parent-category/sub-category1/sub-category2/?
Hope you have an idea and thank you very much.
Florian
PS: If you have a look at my site, you see that the portfolio slug is renamed in outfits, just to prevent confusion
-
December 10, 2018 at 10:54 pm #27528
Hi Florian.
1. Please try this plugin https://wordpress.org/plugins/breadcrumb-navxt/
2. Please use this plugin https://wordpress.org/plugins/custom-post-type-permalinks/
Regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
December 13, 2018 at 5:25 am #27624
I worked now at the URL structure and did not look very much at the Breadcrumb Plugin.
Questions:
1. The problem that I can’t add more than one subcategory is not solved or named. I tried to explain it with the following:
“I tried to add subcategories to the Parent-Categories, but once I add more than one sub-category, the sub-category 2 becomes a parent category somehow. So it somehow doesn’t work here with more than one subcategory. Do you have an idea why this doesn’t work?”
To sum up once i create a sub-sub-category and say asign a parent category, the sub-sub-category becomes a parent category itself.
2. I am using the plugin now and I want to custmize the permalinks:
I tried it with the following /portfolio/%category%/%postname% – But the problem is that it doesn’t know these here “%category”. When I open a portfolio site I get an error 400 because the URL is like that /portfolio/%category%/name-of-the-portfoliopage
I tried these here as well /portfolio/%portfolio_cat%/%postname% – But same problem here.
Do you have an idea maybe?
Thank you & best regards,
Florian -
December 13, 2018 at 5:26 am #27625This reply has been marked as private.
-
December 13, 2018 at 11:38 pm #27655
Hi Florian,
1. I tried add sub-category and sub-sub-category it still work well http://prntscr.com/luaneb
2. For breadcrumb please go to plugin Settings > Post type and enable portfolio
3. I’m sorry the plugin doesn’t support add category to permalink of custom taxonomies. Use can use default permalinks it still work well for SEO https://yoast.com/wordpress-seo-url-permalink/
Regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
December 14, 2018 at 4:33 am #27663
1. Okay, maybe it was because I created in on the actual portfolio page and there it did not work. But that makes me happy now 🙂
2. Yes, I enabled it and I am technically able to add breadcrumbs into the theme via a widget. Sadly there is no opportunity to add the widget on the portfolio page.
3. Is there no way to make that work? I worked with someone else on that, he made it work but because we did not come to an agreement, he deleted everything.
-
December 14, 2018 at 4:38 am #27664
You know let’s focus on the Breadcrumbs I can live with some different links as long as I got the Breadcrumbs. So need for Point 3. 🙂
-
December 14, 2018 at 9:28 pm #27695
I’m sorry it now i don’t have solution for this. 🙁
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
December 15, 2018 at 5:24 pm #27700
There are Plugins out there, where I can insert Breadcrumbs via Shortcode.
I should be able to insert the shortcode like this, correct?
<?php echo do_shortcode(“[breadcrumbs]”); ?>
But I don’t know exactly where I need to place this. On the archive.php of the theme or one the single-page.php of the portfolio plugin? And in which line?
-
December 15, 2018 at 8:23 pm #27706
Okay I got it now.
I will tell it in case someone will need it in the future.
I didn’t use an extra “Breadcrumb Plugin”, Yoast SEO was enough to make it work.
Go on Yoast SEO on Search Appearance and activate Breadcrumbs.
Then in the Breadcrumbs Tag under the heading Taxonomy to show in breadcrumbs for content types you choose at the portfolio section “Category”.
Then you insert the following code on the archive.php and single-page.php of the Portfolio Plugin. (Plugins -> Claue-Addons-> Includes -> Portfolio -> Views)
<?php
if ( function_exists(‘yoast_breadcrumb’) ) {
yoast_breadcrumb( ‘<p id=”breadcrumbs”>’,'</p>’ );
}Insert the code for the single-page.php on line 14.
And insert the code for the archive.php on line 18.To insert the code Harry installed the plugin AcelDE on my site. Very intuitive and easy to use plugin to insert a little bit of code.
Thanks Harry.
Note: In case someone want to change the name of Breadcrumb Title of “portfolio” to something else, you can do this in Yoast as well under Search Appearance -> Portfolio -> at the bottom is a field for Breadcrumb title -> Enter the name you want -> Done 🙂
Attachments:
You must be logged in to view attached files. -
December 16, 2018 at 11:30 am #27715
Hi Florian,
Thank you for sharing, It now I see the breadcrumb’s setting of Yoast SEO for breadcrumb. I remember Yoast SEO have option for breadcrumb don’t know why i can’t find while you show me in Yoast SEO > Search Appearance > Breadcrumb.
Thank again have a great Sunday.
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio
-
-
AuthorPosts
You must be logged in to reply to this topic.