— we are at a Baker collection called English Classes. The link at the bottom of the sidebar in red is the problem. Instead of it going to
it goes to
Check again. It does not work as you describe, but rather correctly.
I am sorry, I forgot to include the link of the collection. That is where the error is. The link at the Brands level is a hardcoded link.
At the lower left, it should link to http://www.flegels.com/furnishings/baker-2/ .
However, it links to http://www.flegels.com/product/shield-back-side-chair-2/ .
Does it have the same error for you as it does for me?
You may clear your browser caches and cookies and check the links. I don’t find any problems. Even if you find the links incorrect, you just need to correct them which is not a big problem.
Thank you Krishna.
I have cleared my caches/cookies and tried the links on different computers over the course of the week without any success. It links to different products depending on which one was the last loaded on the page which can be different when cache is deleted. However, the link is meant to not point to the last product but the Brand where the collection is a member of.
Since the site uses the same sidebar for all the collections, the link is supposed to be created when the collection page is accessed. I do not know how to dynamically set up the link. Nor do I know what that functionality is called to research about it. Does this type of function sound familiar? Is there a workaround to this problem I have?
Thank you for your time in reading this and your imputs.
Return collections at
http://www.flegels.com/product-category/english-classics/is linked to
http://www.flegels.com/product/shield-back-arm-chair-2/and it is taking me there. I do not understand what else you need it to do.
Thank you for your quick replies.
I need the link on english-classics to send me to http://www.flegels.com/furnishings/baker-2/.
There are similar links, say http://www.flegels.com/product-category/consoles-buffets/ should link me to http://www.flegels.com/furnishings/woodbridge/.
If you click on Furnishings on the header, it takes you to the total list of Brands. Each Brands has a number of collections. Click on any collection and you will be brought to that collection page that is not a static page. That page has a sidebar with the link that goes back the list of collections, but each of those links are incorrect right now.
I’m sorry I do not know programming language to describe it clearly.
Thank you for your time,
- The topic ‘Using Sidebar and get_permalink to navigate on site’ is closed to new replies.