Home › Forums › WoodMart support forum › Direct URL in Brand
Direct URL in Brand
- This topic has 14 replies, 3 voices, and was last updated 6 years, 2 months ago by Elise Noromit.
-
AuthorPosts
-
October 7, 2018 at 7:55 pm #81489
rifatspirParticipantWhat is the best way to add direct URL in the brand? Any free plugin works perfectly with this theme?
For example, http://www.example.com/brand/brandname.Currently, woodmart theme create this type of URL
http://www.example.com/shop/?filter_brand=hocoOctober 8, 2018 at 4:35 am #81498
rifatspirParticipanthello is there anyone?
October 8, 2018 at 6:09 am #81509
Artem TemosKeymasterHello,
Thank you so much for purchasing our theme and contacting our support center.
Try to add the following PHP code snippet to the child theme functions.php file to do this
add_filter( 'woodmart_brands_link', function( $link, $brand ){ return get_term_link( $brand->term_id, $brand->taxonomy ); }, 10, 2 );
Kind Regards
XTemos StudioOctober 8, 2018 at 7:17 am #81532
rifatspirParticipantAfter adding your code its redirecting me to home page & when I use this http://www.example.com/brand/brandname, it’s redirecting me to any of the post url.
You can check in my test site.
October 8, 2018 at 8:39 am #81550
Artem TemosKeymasterCould you please disable all plugins that are not related to our theme and provide us your FTP access so we can check it?
Thank you in advance
October 8, 2018 at 8:56 am #81556
rifatspirParticipantok.. & here it is. check private content
October 8, 2018 at 9:12 am #81560
Artem TemosKeymasterYou need to enable archives for your brand attribute in Dashboard -> Products -> Attributes.
October 8, 2018 at 5:35 pm #81657
rifatspirParticipantThanks.. is that possible to edit each of the brand pages using wp bakery to add banner & other details like the portfolio?
October 8, 2018 at 6:07 pm #81661
Artem TemosKeymasterYes, you can put any custom content to the brand’s description field and it will be displayed before products.
October 8, 2018 at 6:20 pm #81663
rifatspirParticipantYeah, HTML block also works but the default shop settings also affect the brand page. It prevents me to create the unique brand page with background Image for page title for each brand. I hope you will help me to find a solution.
Check the screenshots.
October 8, 2018 at 6:57 pm #81669
Elise NoromitMemberHello,
The Brand is an attribute and an attribute is the functionality and part of the Woocommerce so it works as it does now. There is a way out but it is more complicated. You can create a page with the template as per your needs and redirect the appropriate brand to this page.
Best Regards
October 8, 2018 at 7:04 pm #81670
rifatspirParticipantLet me know if there is a tutorial of that complicated method. Thank you for your instant support.
Anyways, is that possible to rename portfolio/projects url to anything I want? Let me know.
http://www.example.com/portfolio/name/
to
http://www.example.com/anything/name/October 9, 2018 at 5:45 am #81701
Elise NoromitMemberHello,
1. Find a plugin with redirect and redirect one link to another after you have created a page for a brand.
2. No, it is not possible.
Best Regards
October 13, 2018 at 6:37 am #82538
rifatspirParticipanthi instead of showing tab title as about brand it shows brand archive in browser. How do i remove that?
Check the below attachment.
October 13, 2018 at 9:12 am #82554
Elise NoromitMemberHello,
Install free Yoast SEO plugin and replace the title as per your needs.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register