Hello, I would like to display specific pages in the left sidebar of my page which is working. in the right sidebar I would like to display only the sub pages of the current page. Is this possible?
Looks like there is no way to determine the id from the markup anymore.
You can give this one a try, but it’s purely a best guess:
If that doesn’t work, one last thing to try is adding the following filter which will allow us to see the widget args within the markup. This will determine if there is something we can use.
Hi, sorry to say but I had to make some changes on the webpage and it seems that IDs did change as well.
https://www.viacarta.eu/horoskope/50-plus-horoskop/
Would it be possible for you to check the page and update the code above?
Thanks in advance.
Frank
Hi Frank,
Looks like there is no way to determine the id from the markup anymore.
You can give this one a try, but it’s purely a best guess:
If that doesn’t work, one last thing to try is adding the following filter which will allow us to see the widget args within the markup. This will determine if there is something we can use.
Hi and thanks again for your support.
Unfortunately the code did not bring the result I was hoping for.
Anyhow, I did also add the other function. Are you able to inspect again now?
Frank
Hi Frank,
I think that gave us what we need. Give this a try:
It is working. 🙂
Thank you again for your outstanding support.
Frank