-
AuthorPosts
-
September 21, 2014 at 12:50 pm #109202
Hi, I have a problem where child products categories are not clickable and do not show in the breadcrums hierarchy in the header. I only have a option to go back to the shop page irrespective how far down a parent/child hierarchy I am. It sort of defies the point of having breadcrums if it doesn’t give the customer a option to follow his/her tracks through the site and clicable links to previous pages they visited.
September 21, 2014 at 8:03 pm #109337Hi Shaun,
Thanks for posting in.
X uses a very basic breadcrumbs depending on current hierarchy. Given that there will be more plugins that will be using custom post types, there is no way for X to automatically detect those hierarchy. Just like woocommerce plugin.
Though, you can always use your own breadcrumb/advance breadcrumb plugin to replace X built-in one. You can do that by adding this code at your child theme’s functions.php
if ( ! function_exists( 'x_breadcrumbs' ) ) : function x_breadcrumbs() { if ( x_get_option( 'x_breadcrumb_display', 1 ) && function_exists('yoast_breadcrumb') ) { yoast_breadcrumb('<p id="breadcrumbs">','</p>'); } } endif;
yoast_breadcrumb('<p id="breadcrumbs">','</p>');
is breadcrumb feature of SEO Yoast plugin, where you can manually control your pages breadcrumbs.Cheers!
September 22, 2014 at 2:54 am #109486Hi!
I have the same problem.
Could you please be a little more detailed regarding the SEO Yoast plugin and breadcrumbs integration for X theme ?
I use the integrity stack in a blank new child theme.
I activated the X Theme breadcrumbs.
I installed and activated the SEO Yoast plugin.
I enabled and customized the breadcrumbs settings in internal link – Yoast WordPress SEO.
However I tried to put the above php code in various files, with no success. Could you be please more specific in which file should I place the above code ??
Thank you!September 22, 2014 at 3:53 am #109524Hi there,
Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.
After setting up the child theme you can put the suggested code in: YOUR CHILD THEME -> function.php file
Hope it helps.
September 22, 2014 at 4:25 am #109536Hi, I tried the above code, but the breadcrums disappears all together if i implement it
September 22, 2014 at 4:43 am #109555Hi Shaun,
In that case, would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
September 22, 2014 at 5:27 am #109586It worked for me! Thanks!
You just have to add the lines to the new functions.php that the child theme has!
I was copying the whole functions.php file from the main X theme and adding the new lines.Thank you for all the support!
September 22, 2014 at 5:33 am #109597You’re welcome. Glad it worked. 🙂
September 30, 2014 at 5:55 pm #115999The code works for me too :), One question: could I use . $home_text & . $delimiter with yoast_breadcrumb ?
Thanks 😀
October 1, 2014 at 4:37 am #116182Hi John,
I am sorry, I am not exactly sure what you are trying to accomplish.
Can you please explain further regarding the code.Thanks
October 1, 2014 at 6:59 am #116262Hey, I was wondering if I can have this as home link on breadcrumbs: http://prntscr.com/4s1589
Thanks
October 1, 2014 at 7:21 am #116272Hi There,
Would you mind providing the URL of your site? That should supposed to be the home link.
You can see it here,
http://theme.co/x/demo/integrity/1/blog/
http://theme.co/x/demo/icon/1/blog/
http://theme.co/x/demo/renew/1/blog/
http://theme.co/x/demo/ethos/1/activity/Cheers
October 1, 2014 at 7:54 am #116299This reply has been marked as private.October 1, 2014 at 8:37 am #116335Hi John,
Thanks for the url
The home icon should be the default home link on breadcrumbs.
It seems you are using seo yoast for breadcrumbs.
Regretfully, this particular customization request is outside the scope of our support as this is not related to an issue with the theme and instead has to do with your customization of it. As such, you will need to investigate this particular issue on your own or look to a service such as WerkPress or Elto for assistance should you not feel comfortable making these changes yourself. If you have any further questions about the theme, we are more than happy to provide you with assistance on these inquiries.
Thank you for your understanding.
-
AuthorPosts