Could you please point me to how I can access the GD Sidebar area through code?
Is there a hook where I can setup my own condition for when to include certain links.
Right now I’m using widget logic on a navigation menu widget, is_page(‘add-listing’).
This is working fine however I need further control over what/when is displayed in the sidebar of add listings page.
KorModeratorPost count: 16516
Thanks for your post. You can avoid the hassle by just using this plugin https://jetpack.com/support/widget-visibility/ . Let us know how it goes.
Thank you Kor,
Right now I´m using Widget Logic -plugin which looks like something similar.
This works fine for showing/hiding widgets but I need to insert a small custom code so that I can display certain links based on some conditions. So I would like to have access to the widget area from my functions file in our child theme for directory starter theme.
Naveen GiriModeratorPost count: 1559
this is the hook, you can customise.
for any further customisation you can take help of GD Experts.
Thank you Naveen Giri!
I never sorted out how to best use that filter from our child theme, however I decided to create a new widget instead where I can control things fine for our purpose.
Alex RollinModeratorPost count: 27815
The topic ‘Sidebar hook? WPGeodirectory 2’ is closed to new replies, this may be for inactivity, please open a new topic if you have a similar question.