Stiofan O'Connor
Forum Replies Created
-
AuthorPosts
-
February 14, 2018 at 4:50 pm in reply to: Understanding OpenStreetMap, auto-fill API and saving cities (locationss) #417595
please provide wp-admin and FTP details and i will take a look.
Thanks,
Stiofan
What you said will probably work yes.
Stiofan
No that is not possible you would need to remove it and add it back something like this
add_action( 'after_setup_theme', '_my_remove_theme_actions' ); function _my_remove_theme_actions(){ remove_action('sd_homepage_content','sd_homepage_featured_content'); } function _my_sd_homepage_featured_content() { if (is_singular() && geodir_is_page('location') && $location = sd_gd_current_location_name() ) { echo '<h1 class="entry-title">'. esc_attr(__($location, 'geodirectory')).'</h1>'; } else { echo '<h1 class="entry-title">'. get_the_title() .'</h1>'; } $sub_title = get_post_meta(get_the_ID(), 'subtitle', true); if (geodir_is_page('location') && defined('GEODIRLOCATION_VERSION')) { $loc = geodir_get_current_location_terms(); $location_type = geodir_what_is_current_location(); $country_slug = ''; $region_slug = ''; if ($location_type == 'city') { $slug = $loc['gd_city']; $region_slug = isset($loc['gd_region']) ? $loc['gd_region'] : ''; $country_slug = isset($loc['gd_country']) ? $loc['gd_country'] : ''; } else if ($location_type == 'region') { $slug = $loc['gd_region']; $country_slug = isset($loc['gd_country']) ? $loc['gd_country'] : ''; } elseif($location_type == 'country') { $slug = $loc['gd_country']; $country_slug = isset($loc['gd_country']) ? $loc['gd_country'] : ''; } else { $slug = ''; } $seo = geodir_location_seo_by_slug($slug, $location_type, $country_slug, $region_slug); $tagline = (isset($seo->seo_image_tagline)) ? __($seo->seo_image_tagline, 'geodirlocation') : ''; if ($tagline) { $sub_title = stripslashes($tagline); } } if (isset($sub_title)) { echo '<div class="entry-subtitle">' . $sub_title . '</div>'; } sd_search_form_shortcode(); // removed echo do_shortcode('[gd_popular_post_category category_limit=5 category_restrict=1]'); echo "MY NEW BUTTON CAN GO HERE"; echo '<div class="home-more" id="sd-home-scroll"><a href="#sd-home-scroll" ><i class="fa fa-chevron-down"></i></a></div>'; } add_action('sd_homepage_content','_my_sd_homepage_featured_content');
Stiofan
February 14, 2018 at 12:51 pm in reply to: Claiming a listing only allows single payment not subscription #417557You also need to enter the test api credintials in your settings, but just now its tellimg me your SSL is expired 1 hour ago, so i can’t test any further.
Stiofan
there is no filter in between those, not unless u remove and then add back the entire filter.
Stiofan
February 14, 2018 at 12:40 pm in reply to: GD Booster causing issues with payment update field #417554I don’t see that option in the account u sent me, am i missing it?
Stiofan
February 14, 2018 at 10:56 am in reply to: Claiming a listing only allows single payment not subscription #417544Hi Richard,
I checked your settings and they look good, where were you seeing a 500 error exactly?
Stiofan
add_filter('b_send_inquiry_url','_my_new_url'); function _my_new_url(){ return "https://example.com"; }
Stiofan
#3. There is not, it will always default to the default location, there is no setting to blank it.
Thanks,
Stiofan
February 13, 2018 at 11:44 am in reply to: GD Booster causing issues with payment update field #417364This reply has been marked as private.Yeah you seem to have a few missing core files, like wp-admin.php was missing, i reinstalled WP for you and that fixed things but i would be very concerned as to why they were missing.
Thanks,
Stiofan
The social import is not meant as a “bulk” importer, its is mean as a way for a user to import their listing to GD quickly.
Stiofan
look in the CPT addon in geodir_cpt_link_business.php around line 352
geodir_detail_page_link_cpt_business_tab()Thanks,
Stiofan
February 12, 2018 at 3:28 pm in reply to: Map Listings page – View Upcoming Events – Incorrect Date Order #417214Not at the moment but its something we are looking in to.
Thanks,
Stiofan
February 12, 2018 at 12:06 pm in reply to: GD Booster causing issues with payment update field #417199Hi Ian,
I did turn GDB on before testing but still could not replicate.
Also that file they mention, i don’t see it on your page at all…Please let me know the exact steps to be able to replicate.
Thanks,
Stiofan
-
AuthorPosts