Need code on the sidebar to show links by country, region, city
I am looking for code (I am using bender theme) to put on the sidebar that will show links to narrow down search listings by Counrty, Region, City so the user can narrow down search results just like browsing categories on the sidebar. Thanks!
The libert theme has that option i guess.. check it out is that what do you want?
@admin Thanks for your reply but I get Fatal error: Uncaught Error: Call to undefined function getConnection()
in the sidebar and locationfind.php - there are some other plugins also that give this error. Do you know how I can fix that? Thanks!
getConnection() is an outdated function for database queries, no longer supported in 5.0
It can be replaced with something like
$dao = new DAO(); $dao->dao->query('SQL QUERY HERE');
Available for custom Osclass development. www.defected.dev
@dftd Thanks, Patrick - long time no see - that fixed that fatal error but those dropdotwn menus actually do not work ie. none of them show any countries, regions or cities. If you know how to fix it or if @admin the template owner knows what the fix is then a reply would be welcome. Thanks for your time.