Theme compatibility

This topic contains 9 replies, has 3 voices, and was last updated by  Graham Watkins 8 years, 4 months ago.

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #247790

    Graham Watkins
    Expired Member
    Post count: 18

    I am trying to use GeoDirectory with a theme called Directory+ from AIT Themes -http://corpdev.capechamber.auric-consulting.com/gd-home/. There seems to be a compatibility issue with the theme as I can see errors relating to Google Maps API being declared twice; the theme also has a field for the Google Apps API key to be entered. I’d really like to get GeoDirectory working with this theme. When I switch theme then everything starts to work correctly. Is there no error checking in GeoDirectory to make sure the Google Maps API is only declared once?

    #247826

    Kor
    Moderator
    Post count: 16516

    Hi Graham,

    Do you think you can share temp admin access to your site so we can take a better look? You can post the details here using the private reply option below.

    #247902

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Graham,

    As Kor said, please provide wp-admin in a private reply and we will take a look at resolving everything 🙂

    Stiofan

    #248222

    Graham Watkins
    Expired Member
    Post count: 18
    This reply has been marked as private.
    #248656

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Graham,

    I have fixed it up a bit but the theme does have some weird css, let me know how it goes.

    Stiofan

    #248893

    Graham Watkins
    Expired Member
    Post count: 18

    That’s great, thanks. I need to know what you did as I’ll need to replicate the actions you took on the live site once I’ve done more testing. Can you let me know what you did?
    Don’t worry about the CSS. AIT Themes’ theme look good at the start but they choose to build their themes ‘the AIT way’ which is different to all the standard ways other themes are build so there is always some strange shit going on.

    #248934

    Graham Watkins
    Expired Member
    Post count: 18

    Now that I’ve looked at the site, did you simply play with the widgets. I hadn’t noticed that GeoDirectory works by placing widgets in different places in different sidebars.

    #248951

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I did two things, i added some theme compatibility settings which you can find in GD>theme compat:
    Here is the settings for import:

    Also i added a snippet of code to the child them functions.php to add a class to the body tag when on the details page:

    
    
    add_filter('body_class', 'gd_detal_body_class');
    
    function gd_detal_body_class($classes) {
            if (function_exists('geodir_is_page') && geodir_is_page('detail')) {
    $classes[] = 'right-sidebar';
    	}
            return $classes;
    }

    Thanks,

    Stiofan

    #251054

    Graham Watkins
    Expired Member
    Post count: 18

    BLANK

    #251672

    Graham Watkins
    Expired Member
    Post count: 18

    BLANK

Viewing 10 posts - 1 through 10 (of 10 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