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 Ticket
  • Author
    Posts
  • #9299

    Paolo
    Site Admin
    Post count: 31206

    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

    #9491

    m forbes
    Expired Member
    Post count: 338

    Hi, 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 :).

    #9519

    m forbes
    Expired Member
    Post count: 338

    Update, 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

    #9538

    John Allsopp
    Expired Member
    Post count: 399

    Hi,

    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 🙂

    #9659

    m forbes
    Expired Member
    Post count: 338

    Thank you for the explanation John, very much appreciated.

    #9682

    dnosker
    Buyer
    Post count: 68

    Found 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!

    #9696

    John Allsopp
    Expired Member
    Post count: 399

    Hi,
    You should be able to disable this in your child theme by adding this line to your functions.php

    remove_action( 'genesis_after_header', 'geodir_genesis_home_sidebar', 21 );

    If you run into any problems, please let me know…

    #9697

    dnosker
    Buyer
    Post count: 68

    Unfortunately that not only removes the map from the home page but also from:

    http://MySite.com/location/

    I still need the map to appear on the location page.

    Thanks

    #9698

    John Allsopp
    Expired Member
    Post count: 399

    Ok, 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');
    		}
    }
    #9703

    dnosker
    Buyer
    Post count: 68

    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?

    #9708

    dnosker
    Buyer
    Post count: 68

    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 🙂

    #9709

    dnosker
    Buyer
    Post count: 68

    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

    #9722

    Paul
    Expired Member
    Post count: 171

    Just tried the plugin with several theme and with just the framework and the map is aligned left

    #9730

    John Allsopp
    Expired Member
    Post count: 399

    Hi @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.

    #9783

    dnosker
    Buyer
    Post count: 68

    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.

Viewing 15 posts - 1 through 15 (of 26 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount