Issues since 1.04

This topic contains 10 replies, has 4 voices, and was last updated by  Stiofan O’Connor 10 years, 4 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #9335

    Ricky Elsum
    Free User
    Post count: 12

    Geodirectory 1.04 displays beautifully with my theme but every update since then messes up majorly. Please find attached screenshots to see what I am. Please help. The solution will need to be child theme compatable as I will be deploying a lot of sites like this and can’t have after every update for it to break my sites.

    #9338

    rockhopper
    Free User
    Post count: 53

    I only have one site but these updates are overly troublesome. I am sure it will get sorted soon.

    #9353

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Ricky, what theme are you using?

    Thanks,

    Stiofan

    #9427

    Paolo
    Site Admin
    Post count: 31206

    Hi Rick,

    please provide a link to your website and wp-admin credentials so that we can have a look at the problem.

    Thanks,

    #9529

    Ricky Elsum
    Free User
    Post count: 12
    This reply has been marked as private.
    #9729

    Ricky Elsum
    Free User
    Post count: 12

    Any luck? Sorry to be pushy but I have a strict deadline to have my site go live by Monday. If I can’t come up with a solution I either have to roll back to the old version or stop using this plugin altogether and request a refund on my membership.

    #9740

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Ricky,

    I have done most of the fixes for your theme but due to a typo by me an error is now being thrown, can you pass me FTP info and i will be able to make it right in 2minz.

    Thanks,

    Stiofan

    #9873

    Ricky Elsum
    Free User
    Post count: 12
    This reply has been marked as private.
    #9913

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Ricky,

    You said you were pushed for time so i thought i would do it for you.
    The changes are very simple and all in one place. All my changes are in your functions.php file in your child theme.

    Basically what i do is look at the standard page template of your theme and find the classes that are doing the work of positioning and then we use hooks to replace the GD wrappers with these, classes or id’s.

    for example the standard GD opening wrapper is:

    
    
    // action for adding the wrapper div opening tag
    add_action( 'geodir_wrapper_open', 'geodir_action_wrapper_open', 10, 3 );
    function geodir_action_wrapper_open($type='',$id='',$class=''){
    echo '<div id="'.$id.'" class="'.$class.'">';
    }

    (the ID and class are filled in by the page template)

    So to replace that with your theme wrapper we first remove the standard one

    remove_action( 'geodir_wrapper_open', 'geodir_action_wrapper_open', 10 );

    And then add in one that matches your theme:

    
    
    add_action( 'geodir_wrapper_open', 'smartmag_action_wrapper_open', 9 );
    function smartmag_action_wrapper_open(){
    echo '<div class="main wrap cf">';
    }

    It’s very simple once you get the hang of it, please look at the functions.php file for more examples. Depending on your theme we could also replace the standard breadcrum with the GD one but just now i have just did the positioning for you.

    Thanks,

    Stiofan

    #10108

    Ricky Elsum
    Free User
    Post count: 12

    Awesome thanks heaps for this, sorry for being grumpy due to lack of sleep pushing hard to reach deadlines 🙂

    Can close this as resolved, Good Job.

    #10197

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    You are welcome 🙂

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