dnosker
Forum Replies Created
-
AuthorPosts
-
July 27, 2014 at 7:13 pm in reply to: (0) next to categories in popular post category widget? #10099
It’s not working then… No matter how many places I have in a category it always shows (0). I can click on the category and it will list all the places that are in that category only but still shows the number as 0.
Where is the code for this widget? I will have to manually remove that from the code. Even if it was showing the correct number I would not want that displayed.
Thanks
Very nice @purpleedge !!! Thanks for that! 🙂
Hey thanks a million Paolo, That works! 🙂
While I have no problem using the php code for my purposes, it might be nice to make that accessible via a shortcode for others someday.
Thanks again, Your support is superb!
Dave
Hi Paolo,
Ideally, what I would really like is something that looked just like the location switcher but without the pulldown for changing it. I just want to show the same thing and create a link instead to my all-locations page when clicked so the user can change the current location that way.
I don’t care that it would not be in a menu, I would place this somewhere else at the top of my site for the user to always see what the current location they last selected that is active.
Hope that all made sense! 🙂
Thanks much for looing into this!
Hi Paolo,
I wanted to throw my 2 cents in about this shortcode:
[geodir_location_switcher]The only thing I found was that the city input control does not work like the country and region. When anything is typed in the City input control nothing happens and a “please wait” just stays on the screen.
Dave
Thanks Paolo!
That worked like a charm! 🙂
John,
Having same problem with Genesis as we did in the Avada theme. (The problem with listings when browser window is sized to smallest width and when viewing in android phones. The listing picture is resized to a non viewable size.)
[Original Post for Avada Problem, same on Genesis]…
https://wpgeodirectory.com/support/topic/avada-child-theme-for-gd-1-0-released/page/2/#post-8474You had a solution that worked for the Avada theme but does not work on the Genesis theme. (Or at least not using original code)
Your original solution for Avada was:
@media only screen and (max-width:480px) { .wpgeo-avada .geodir_category_list_view li .geodir-content, .wpgeo-avada .geodir_category_list_view li .geodir-post-img, .wpgeo-avada .geodir_category_list_view li .geodir-addinfo { display: block; } }
But slapping this into the genesis theme made no difference. Can you please tell me what css needs to be placed to fix this in Genesis?
Thanks much John!
It appears that the problem with mobile phones and the location dropdown is a problem in most themes. (Clicking on it causes the redirect)… So I am just going to not use it and instead use the short codes for displaying a page with location choices.
Perhaps they will get that plugin fixed sometime down the road but the problem is not related to this theme at all.
Ok, all is well!
Thanks again!
Paolo,
Please look again at the demo page I am talking about. I really want a full page that shows the locations exactly like you are running in the demo shown at this link:
http://wpgeo.directory/all-locations/The shortcode does not make a page like the demo. It looks like some kind of switcher for a side bar.
Thanks for checking into this!
Dave
Problems with the location manager in Genesis theme…
The location manager does not display correctly. (Please see attachment)
Also, it does not function properly on android phone. When clicking on the Location link, the location manager acts like the user has clicked on a selection and redirects back to the same city. It does not allow any change to the city at all. (The pull down for the city does not work or show the other available cities). Basically, just clicking on the top location link starts the redirect without allowing any selection within the location manager.
John,
Thought I would throw out there for your final solution in your code changes that you can test for the setting on making the home page be the gd map is: get_option(‘geodir_set_as_home’))
Hope that helps!
Dave
Hi John,
What I did to make it work for now was change the if statement to check for is_front_page():
if ( $wp->query_vars[‘page_id’] == get_option( ‘geodir_location_page’ ) && !is_front_page() ) {
dynamic_sidebar(‘geodir_home_top’);
}That worked for my case of using a static front page 🙂
I actually tried that exact same thing myself earlier today. But it did nothing and the map still displayed on the home page. I can only assume that GD is marking the home page with ‘geodir_location_page’ also?
Unfortunately that not only removes the map from the home page but also from:
I still need the map to appear on the location page.
Thanks
-
AuthorPosts