Stiofan O'Connor

Forum Replies Created

Viewing 15 posts - 7,066 through 7,080 (of 13,774 total)
  • Author
    Posts
  • in reply to: hook / filter help #308601

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    You can simply manipulate the $_REQUEST data before it’s proccesed

    
    
    add_action('geodir_detail_before_main_content', '_my_geodir_action_geodir_set_preview_post', 7);
    function _my_geodir_action_geodir_set_preview_post(){
    global $post, $preview, $gd_session;
        $is_backend_preview = (is_single() && !empty($_REQUEST['post_type']) && !empty($_REQUEST['preview']) && !empty($_REQUEST['p'])) && is_super_admin() ? true : false; // skip if preview from backend
        if (!$preview || $is_backend_preview) {
            return;
        }// bail if not previewing
    
    //lets check what info we have
    print_r($_REQUEST);
    
    }

    Stiofan

    in reply to: Start up dummy data issue #308462

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    You would either set as “NONE” for testing or HTTP referrer.

    Stiofan

    in reply to: Start up dummy data issue #308386

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    You have not authorised the Google maps api key to use that site url, please follow setp #4 here: https://wpgeodirectory.com/docs/add-google-api-key/

    Then once maps are working, set the defualt location: http://ruralworld.org/newsite/wp-admin/admin.php?page=geodirectory&tab=default_location_settings

    Then you can enable multilocations addon and you can install dummy data.

    Thanks,

    Stiofan

    in reply to: Website,Email, Phone not recording #308259

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Thank you! 🙂

    in reply to: Neighborhood pages directing to Blog instead of Home #308203

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I don’t see any problem here, if you set GD to be the homepage under GD>Permalinks>homepage, then that will take over the template and will be a widget area page, you can add things to the start of the page now but not edit the whole page via a visual editor type plugin. If you want to use a VC type plugin make sure NOT to set GD homepage as the same page as the frontpage, and you will just have a normal blank page to edit how you want.

    I hope that makes sense, just let me know if you have any questions.

    Stiofan

    in reply to: Start up dummy data issue #308198

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Rachel,

    It is done via AJAX so i guess there is some sort of JS error on the page, if you post wp-admin details in a private reply (only staff can see) then i will take a look.

    Thanks,

    Stiofan

    in reply to: Website,Email, Phone not recording #308192

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Please check now, the redirect on main wp-admin seemed to be caused by the query monotor plugin, i have removed it.

    The not saving meta info was caused by a tag having a ‘ in it, i added code to escape that and it seems to work now.

    Thanks,

    Stiofan

    in reply to: Disable Schema? #308160

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Scott, do you mean the details page schema? If so you can filter it with the “geodir_details_schema” filter, if you need and example just ask.

    https://wpgeodirectory.com/codex/codex/geodirectory_filters/geodir_details_schema/

    Stiofan

    in reply to: Update map custom query using ajax? #308157

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi crystal,

    If you explain what you are trying to achieve i will tell you the best way to do it.

    Thanks,

    Stiofan

    in reply to: Page Error 500 & Other PHP Issues #308155

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I can’t seem to replicate any of this, can you give me detailed instructions on how to replicate.

    Thanks,

    Stiofan

    in reply to: Map home landing zoom level #308152

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I would suggest adding the Near me button widget or shortcode to the site so users can choose to go to the nearest.

    Stiofan

    in reply to: Missing Structure Data #307856

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    It should be this week, if you provide FTP info in a private reply i will update it for you early.

    Thanks,

    Stiofan

    in reply to: Listing page not showing images and map #307855

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    When GD Booster is active it seem to try to load Google maps but you have it set yo use OSM, i will assign this to Kiran for now and if he has not solved it by the time i come back online tomorrow then i will check it again.

    If you can provide FTP info that will help us with debugging.

    Thanks,

    Stiofan

    in reply to: Missing Structure Data #307847

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    This has been fixed and will be in the next release.

    Thanks,

    Stiofan

    in reply to: Map home landing zoom level #307658

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Visiting the root of the site will always reset the location, the auto redirect only works on the first visit, then it is stored as a session, you would need to close the browser and then reopen to get it again.

    Stiofan

Viewing 15 posts - 7,066 through 7,080 (of 13,774 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount