Naveen Giri
Forum Replies Created
-
AuthorPosts
-
Hi Foster,
could you please share the site details in the private reply.
Thanks
March 26, 2020 at 6:18 am in reply to: Archive Item Template – using image for background image in CSS #536839Hi Simon,
Sorry, I haven’t read all your replies above.
You can try the below code instead. this is a custom shortcode.
you can use it with container like<div class="int-div-prac" [gd-background-image]>
function custom_image_url_callback( $atts ) { global $gd_post; $featured_img = get_the_post_thumbnail_url($gd_post->ID, 'full'); if( empty( $featured_img )){ return false; } ob_start(); ?> style =" padding:10px 5px; background-image: url('<?php echo $featured_img; ?>'); background-repeat: none; background-size: cover;" <?php $output = ob_get_contents(); ob_end_clean(); return $output; } add_shortcode( 'gd-background-image', 'custom_image_url_callback' );
You can look for GD experts here for any further customization.
https://geodirectoryexperts.com/Thanks
Hi Joy,
I will check and get back to you.
Thanks
Hi Alain,
The code has been Fixed and pushed in the addon branch. It will up in the upcoming version.
Thanks
Hi Joy,
Please try this snippet.
add_filter('geodir_widget_listings_query_args', 'custom_geodir_widget_listings_query_args_callback', 10, 2); function custom_geodir_widget_listings_query_args_callback( $query_args, $instance ){ global $gd_post; $query_args['post__not_in'] = $gd_post->ID; return $query_args; }
meanwhile, I will make sure to push the code on the plugin branch. It seems a meaningful point to me.
Regards
NaveenMarch 24, 2020 at 12:10 pm in reply to: Hide a specific category in Drop down for auto submit. #536465Thanks for confirmation Surender, Stay safe from Covid-19.
Hi Joy,
can you please share the post URL, where you had noticed the issue.
Thanks
Hi Ron,
I have noticed the same issue on my local too. While we add a permanent fix for it.
You can try this css snippet instead..geodir-tabs dl.geodir-tab-head{display: block!important;}
Thanks
Thanks for confirming Joy, I will reply you on other ticket Ron.
You can try this and alter this array values.
$post_types = array( 'gd_events', 'gd_places' );
add_action( 'wp_footer', 'custom_callback_gd_add_listing_top_code', 1 ); function custom_callback_gd_add_listing_top_code(){ $post_types = array( 'gd_events', 'gd_places' ); if( !empty( $_GET['listing_type'] ) && in_array( $_GET['listing_type'], $post_types ) ){ ?> <script type='text/javascript'> jQuery(document).ready(function(){ jQuery('#gd-social-importer').remove(); }); </script> <?php } }
Thanks
Please clear the cache on-site and server and check again.
It seems like a cache issue.Hi Doug,
Please use the following snippet. I have removed the social importer field option add a new event page.
You can replace gd_event from below code with your own cpt name.
add_action( 'wp_footer', 'custom_callback_gd_add_listing_top_code', 1 ); function custom_callback_gd_add_listing_top_code(){ if( !empty( $_GET['listing_type'] ) && 'gd_event' === $_GET['listing_type'] ){ ?> <script type='text/javascript'> jQuery(document).ready(function(){ jQuery('#gd-social-importer').remove(); }); </script> <?php } }
Thanks
Hi Joy,
Please have a look, seems external js issue. I have added a small css patch.
Thanks
Hi Ronald,
The category issue on the frontend cause by Snax plugin.
not sure if you need that plugin. Please report this issue to the plugin author.
Thanks
I have added an id to the parent container of the header section in elementor but it seems that has been overridden recently.
I have added that id back and confirmed it working for all location.
I see two location does not have a image.
https://www.luckywelivehere.com/wp-admin/admin.php?page=gd-settings&tab=locations§ion=citiesPlease make sure to refresh your page before making any changes in elementor layout of that custom location page.
Thanks -
AuthorPosts