Home Forums WoodMart support forum Direct URL in Brand

Direct URL in Brand

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #81489

    rifatspir
    Participant

    What 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=hoco

    #81498

    rifatspir
    Participant

    hello is there anyone?

    #81509

    Artem Temos
    Keymaster

    Hello,

    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 Studio

    #81532

    rifatspir
    Participant

    After 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.

    #81550

    Artem Temos
    Keymaster

    Could 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

    #81556

    rifatspir
    Participant

    ok.. & here it is. check private content

    https://www.buyingmethod.com/wp-admin/

    #81560

    Artem Temos
    Keymaster

    You need to enable archives for your brand attribute in Dashboard -> Products -> Attributes.

    #81657

    rifatspir
    Participant

    Thanks.. is that possible to edit each of the brand pages using wp bakery to add banner & other details like the portfolio?

    #81661

    Artem Temos
    Keymaster

    Yes, you can put any custom content to the brand’s description field and it will be displayed before products.

    #81663

    rifatspir
    Participant

    Yeah, 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.

    #81669

    Hello,

    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

    #81670

    rifatspir
    Participant

    Let 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/

    #81701

    Hello,

    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

    #82538

    rifatspir
    Participant

    hi instead of showing tab title as about brand it shows brand archive in browser. How do i remove that?

    Check the below attachment.

    #82554

    Hello,

    Install free Yoast SEO plugin and replace the title as per your needs.

    Best Regards

Viewing 15 posts - 1 through 15 (of 15 total)