GD Compatibility Pack for Genesis released
This topic contains 25 replies, has 6 voices, and was last updated by John Allsopp 10 years, 3 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: genesis, Geodirectory
-
AuthorPosts
-
July 21, 2014 at 11:38 pm #9299
Hi all,
John completed the Genesis Compatibility Pack plugin, members can download it from the download area as usual. This integration is 100% compatible with the sample child theme. Other custom child theme might require extra tweaks.
You can see a demo here: http://dropct.com/wpgd/
For free users, we’ve submitted the plugin to wordpress.org, please be patient few more days, while they review it too.
Before activating the plugin make sure to have both GeoDirectory core plugin and Genesis installed and activated.
Don’t forget to report any issue here… 🙂
Thank you!
The Team
July 22, 2014 at 10:02 pm #9491Hi, This probably sounds like a stupid question but exactly what does this do?
Is it mostly about adding the map to the home page and the formatting associated with it? What other advantages are there for using it?
I installed plug in. Then popular categories, map and search (in this order) are on home page. I go into widgets and delete all of those but they are still showing on front end. I deactivate the plugin and the 3 listed above are no longer showing on home page. I reactivate the plugin and they are showing again, then go to widgets and no widgets are showing in the GD widget area sections (top section, etc.)… both in Firefox and Chrome..
Thanks :).
July 23, 2014 at 3:43 am #9519Update, glad you hadn’t answered this yet. Still would like to know what the advantages are for using the compatibility plugin though. I can see no difference with it activated or not. But to be fair, I do not have really any content yet…
Widgets showed up where they are suppose to. Very, very odd, came back a few hours later and there they were.
Thanks much
July 23, 2014 at 9:53 am #9538Hi,
This plugin places all the GeoDirectory generated content into the correct wrappers for Genesis.
It has minimal styling, which is why you may think it isn’t doing much.The reason for this is with so many Genesis child themes available, and each one doing things slightly differently, it didn’t make sense to include lots of styling changes in the core plugin.
Changes to the styles should be made in your child theme.
We will also be building child themes which have styling included, which will work along-side the plugin.
Hope that makes sense 🙂
July 23, 2014 at 8:08 pm #9659Thank you for the explanation John, very much appreciated.
July 23, 2014 at 9:18 pm #9682Found a small problem…
I have set GD to use my own static home page. i.e. unchecked “Set geodirectory home page as your home”
This worked fine in my last theme. However, turning this plugin on it now included the map on my home page above all my content.
I *think* the following code in the plugin is causing this. I am just not sure how to fix it after trying different things…
// REPLACE HOME TOP SIDEBAR AFTER HEADER function geodir_genesis_home_sidebar() { global $wp; if ( $wp->query_vars['page_id'] == get_option( 'geodir_location_page' ) || is_home() && !$_GET['geodir_signup'] ) { dynamic_sidebar('geodir_home_top'); } }
Any ideas on how I can fix this code in the plugin?
Thanks!
July 23, 2014 at 11:04 pm #9696Hi,
You should be able to disable this in your child theme by adding this line to your functions.phpremove_action( 'genesis_after_header', 'geodir_genesis_home_sidebar', 21 );
If you run into any problems, please let me know…
July 23, 2014 at 11:08 pm #9697Unfortunately 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
July 23, 2014 at 11:15 pm #9698Ok, i will have to look at maybe doing something with this, but in the meantime, you could add this to your child theme
remove_action( 'genesis_after_header', 'geodir_genesis_home_sidebar', 21 ); add_action( 'genesis_after_header', 'dnosker_genesis_home_sidebar', 21 ); function dnosker_genesis_home_sidebar() { global $wp; if ( $wp->query_vars['page_id'] == get_option( 'geodir_location_page' ) ) { dynamic_sidebar('geodir_home_top'); } }
July 23, 2014 at 11:54 pm #9703I 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?
July 24, 2014 at 12:28 am #9708Hi 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 🙂
July 24, 2014 at 12:48 am #9709John,
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
July 24, 2014 at 6:34 am #9722Just tried the plugin with several theme and with just the framework and the map is aligned left
July 24, 2014 at 9:40 am #9730Hi @websitu,
This is standard behaviour from the core plugin, the compatibility plugin doesn’t change that.
You should either set the map width (in the widget settings) to 100%, or use a child theme to alter the display of the map.@dnosker,
Thanks for that, i will take another look at the map logic to try and cater for all scenarios.July 24, 2014 at 4:07 pm #9783Problems 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.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket