Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1351146

    Hello, I hope you can help me with this. If you look at the screenshot here (and UR:https://www.auteltech.nl/product/im508/):

    you can see on the left of the Woocommerce image there is the word ‘winkel’ (The Dutch word for shop). If I press it one would normally go to the shop page but I redirected it to the homepage.

    However if you look at this image (and URL: https://www.auteltech.nl/product/maxisys-adas-calibratie-tool/):

    There is the name of the product itself. The difference between these 2 products is that the first one is made as a regular Woocommerce Product and the second I build using the advanced layout builder. If you click on that name you stay at the same product and that is exactly what I want. But that is not the case with the first product I described. Any idea how I can make this the same? (I don’t want to change the product to the advanced layout builder, that would introduce a lot of other problems.)

    #1351273

    Hey Eric,

    Thanks for contacting us!

    Please add following code to bottom of functions.php file of your child theme

    
    add_filter('avf_title_args', 'av_custom_single_title', 10, 2);
    function av_custom_single_title($args,$id)
    {
    if ('is_singular')
    	{
    		$args['title'] = get_the_title($id);
    		$args['link'] = get_permalink($id);
    	}
    return $args;
    }
    

    Best regards,
    Yigit

    #1351529

    Flawless! Thanks Yigit!

    #1351540

    Hi,

    You are welcome! Let us know if you have any other questions and enjoy the rest of your day :)

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Change name 'winkel'’ is closed to new replies.