hello =) im looking for some help.
this is my web page https://raicespichilemu.cl/tienda/
i need include a category of products, over the products. !so people can filter faster
I will attach an image so that you can understand me better
thank you!!
hello =) im looking for some help.
this is my web page https://raicespichilemu.cl/tienda/
i need include a category of products, over the products. !so people can filter faster
I will attach an image so that you can understand me better
thank you!!
Hi Marta,
I can see you are using X theme and you want to add it on breadcrumbs area. Unfortunately, it is possible only with customization. I can give you a guide but the actual customization is outside the scope of our support.
First, you need to install a child theme.
You are using integrity stack, so the file responsible for that part is this:
\wp-content\themes\x\framework\legacy\cranium\headers\views\integrity\_breadcrumbs.php
Copy that file on the same folder path on your child theme here:
\wp-content\themes\x-child\framework\legacy\cranium\headers\views\integrity\_breadcrumbs.php
Create the folder path on your child theme if it doesn’t exist yet.
On your copied file, that is where codes for the categories should be added.
For the categories, see this documentation
[product_categories]– Will display all your product categories.
To finish this completely, php coding is needed. You might need to consult a developer if you are not familiar with coding.
Hope this helps.
yes, i dont know where put [product_categories]
<?php // ============================================================================= // VIEWS/INTEGRITY/_BREADCRUMBS.PHP // ----------------------------------------------------------------------------- // Breadcrumb output for Integrity. // ============================================================================= ?> <?php if ( ! is_front_page() ) : ?> <?php if ( x_get_option( 'x_breadcrumb_display' ) == '1' ) : ?><div class="x-breadcrumb-wrap">
<div class="x-container max width">
<?php x_breadcrumbs(); ?>
<?php if ( is_single() || x_is_portfolio_item() ) : ?>
<?php x_entry_navigation(); ?>
<?php endif; ?>
</div>
</div>
<?php endif; ?>
<?php endif; ?>
Hi Marta,
It depends on where you want to show the category if you want to show it inside the container you can add it after:
<div class="x-container max width">
Just to let you know in a PHP file you can not add [product_categories] and expect it to work. You need to add it inside a PHP function below:
echo do_shortcode( '[product_categories]' );
You can learn more about that function here.
Please consider that the customization that we are talking about is outside of our support scope and we will not be able to implement the customization for you. The points that my colleague and I mentioned are the starting point to help you get started, but the actual implementation is on your shoulders. If you feel like you can not do the customization you need to hire a developer to do so.
It is possible to learn more about the theme customization here and here.
Thank you for your understanding.
Oh thank you, can u provide me pls some Contact of developer please
Hi Marta,
We don’t offer customization service yet, but you can find X and PRO freelance developers from top outsourcing sites.
If you know someone that knows PHP even just a bit, he/she might able to follow Lely’s and Christopher’s instruction above.
Cheers!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.