Paolo
Forum Replies Created
-
AuthorPosts
-
Hi,
if you assign your custom home page as GD Home in GD Permalinks, you are instructing the plugin to use that page as the directory home page.
To have a different custom home page, leave GD Home as GD home is GD Permalinks and select your custom home ONLY in Settings > Reading.
Hope it’s clearer now.
Let us know,
Thanks
Hi,
yes that is correct.
Thanks
please provide admin credentials, the one shared in a previous reply are no longer working. Also we would need phpmyadmin in case we need to change the collation of your database.
Let us know,
Thanks
Hi,
there is no need to set the location page as GD home as long as in Settings > Reading you set a different page as the home page.
Just FYI.
Thanks
They fixed it and it will be in the next version that we will release later this week.
Thanks
Hi,
try this in GD > Deisgn > Scripts > Custom CSS:
.full-width-section .geodir-search { float: none; margin: 0 auto; width: 43%; }Thanks
This reply has been marked as private.Hi,
please disable GD Booster while changing CSS or it’s impossible to debug. Where did you add that css?
Please try to add it in GD > Design > Scripts > Cusotm CSS.
Thanks
Hi,
this should do it:
add_action( 'geodir_detail_sidebar_inside', 'sd_map_in_detail_page_sidebar',2); function sd_map_in_detail_page_sidebar() { global $post, $post_images, $video, $special_offers, $related_listing, $geodir_post_detail_fields; $post_id = !empty($post) && isset($post->ID) ? (int)$post->ID : 0; $request_post_id = !empty($_REQUEST['p']) ? (int)$_REQUEST['p'] : 0; $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 ($is_backend_preview && !$post_id > 0 && $request_post_id > 0) { $post = geodir_get_post_info($request_post_id); setup_postdata($post); } $geodir_post_detail_fields = geodir_show_listing_info('detail'); if (geodir_is_page('detail')) { $map_args = array(); $map_args['map_canvas_name'] = 'detail_page_map_canvas'; $map_args['width'] = '300'; $map_args['height'] = '400'; if ($post->post_mapzoom) { $map_args['zoom'] = '' . $post->post_mapzoom . ''; } $map_args['autozoom'] = false; $map_args['child_collapse'] = '0'; $map_args['enable_cat_filters'] = false; $map_args['enable_text_search'] = false; $map_args['enable_post_type_filters'] = false; $map_args['enable_location_filters'] = false; $map_args['enable_jason_on_load'] = true; $map_args['enable_map_direction'] = true; $map_args['map_class_name'] = 'geodir-map-detail-page'; } elseif (geodir_is_page('preview')) { global $map_jason; $map_jason[] = $post->marker_json; $address_latitude = isset($post->post_latitude) ? $post->post_latitude : ''; $address_longitude = isset($post->post_longitude) ? $post->post_longitude : ''; $mapview = isset($post->post_mapview) ? $post->post_mapview : ''; $mapzoom = isset($post->post_mapzoom) ? $post->post_mapzoom : ''; if (!$mapzoom) { $mapzoom = 12; } $map_args = array(); $map_args['map_canvas_name'] = 'preview_map_canvas'; $map_args['width'] = '300'; $map_args['height'] = '400'; $map_args['child_collapse'] = '0'; $map_args['maptype'] = $mapview; $map_args['autozoom'] = false; $map_args['zoom'] = "$mapzoom"; $map_args['latitude'] = $address_latitude; $map_args['longitude'] = $address_longitude; $map_args['enable_cat_filters'] = false; $map_args['enable_text_search'] = false; $map_args['enable_post_type_filters'] = false; $map_args['enable_location_filters'] = false; $map_args['enable_jason_on_load'] = true; $map_args['enable_map_direction'] = true; $map_args['map_class_name'] = 'geodir-map-preview-page'; } if (geodir_is_page('detail') || geodir_is_page('preview')) {?> <div class="sd-map-in-sidebar-detail"><?php geodir_draw_map($map_args);?> </div> <?php } }Let us know how you went,
Thanks
February 22, 2016 at 4:11 pm in reply to: display only top categories on listing page using CPT > Categories widget #125906Hi,
I’m sorry but there is not such widget.
Thanks
Nope, that’s the wrong place.
Few lines below that you have
if (is_admin()) {Probably changing that to:
global $current_user; get_currentuserinfo(); if (is_admin() || $current_user->ID == $post->post_author) {Will work, however I haven’t tested it and even if it works, you ‘ll lose this change after every update. Just FYI.
This is considered a customization.
Thanks
February 22, 2016 at 3:45 pm in reply to: Auto-Recurring Listing Becomes Draft After Payment #125900Hi,
this is not a bug, but a specific problem of this member. Please avoid hijacking other people support threads.
Thanks
February 22, 2016 at 3:44 pm in reply to: does paypal recurring require a paypal business pro account ? #125899Hi,
paypal recurring doesn’t require a pro account. Actually GD doens’t even provide a paypal pro payment gateway.
Adaptive payment isn’t about recurring payments. Adaptive payments are split payments with more than 1 receiver. Ideal to get commisions in marketplaces for example.
Thanks
Hi,
100% sure, I just checked again.
Try searching for:
echo '<img alt="' . $cat->nameThanks
Hi,
GeoDirectory model is pay per list.
1 payment per listing and there is no limit on number of listings one can submit.
I don’t think you’ll find a plugin for this, it will require a customization.
Thanks
-
AuthorPosts