GeoDirectory v2 requires entire rebuild of theme

This topic contains 4 replies, has 2 voices, and was last updated by  Guust 5 years, 8 months ago.

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #470304

    Ollie Stott
    Expired Member
    Post count: 60

    Hi guys

    Unfortunately the new release of GeoDirectory appears to have completely destroyed the theme we have built from the GeoDirectory v1. Of course we have the back up version and happy to reactivate but, from first look, it looks as though the replacement customised templates we used for list detail just can’t work – it primarily relied on hooks from the original v1 which are either removed and no longer available, or superseded by shortcodes.

    Any thoughts?

    #470305

    Ollie Stott
    Expired Member
    Post count: 60

    For example, for our search bar, we had previously used the hook

    do_action(‘geodir_home_before_main_content’);

    This now doesn’t populate the Advanced Search bar. Can I assume that if we have built the theme from these hooks then the theme just won’t work?

    Unfortunately all of the custom widgets we had were also removed during the installation of v2.

    #470317

    Guust
    Moderator
    Post count: 29970

    Those hooks are obsolete in V2 because you can design the whole template yourself using blocks or shortcodes, instead of being restrained by the top, content and bottom section in V1.

    You can add the [gd_search] shortcode or block anywhere you like now using your normal page editor, without have to use any hooks.

    https://wpgeodirectory.com/docs-v2/geodirectory/personalize/

    Thanks

    #470321

    Ollie Stott
    Expired Member
    Post count: 60
    This reply has been marked as private.
    #470334

    Guust
    Moderator
    Post count: 29970

    Just fix your pages linked from GD > Settings > Pages.
    They should be working as they are now, you may just want to customize them.
    If you get stuck, you know where we are 🙂

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