Kiran

Forum Replies Created

Viewing 15 posts - 4,171 through 4,185 (of 6,022 total)
  • Author
    Posts
  • in reply to: Pre-populate a custom field on Add listing #427234

    Kiran
    Moderator
    Post count: 7069

    Hi Mark,

    You have incorrect double quote(“) in shortcode. It seems you have copy pasted shortcode.
    Correct:

    [gd_listings post_author="current_author"]

    Incorrect:

    [gd_listings post_author=”current_author”]

    I have fixed and now tab showing listings fine.

    Kiran

    in reply to: Forms in GeoDirectory Tabs #427229

    Kiran
    Moderator
    Post count: 7069

    Hi Kala,

    Please provide us FTP credentials, i need to check code and some debugging.

    Kiran

    in reply to: Pre-populate a custom field on Add listing #427225

    Kiran
    Moderator
    Post count: 7069

    Hi Mark,

    Please post admin credentials in private reply, so we can take a look.

    Kiran

    in reply to: Social share sidebar #427199

    Kiran
    Moderator
    Post count: 7069

    Hi Joy,

    Add following code snippet in your theme functions .php file or add code via snippet plugin.

    
    
    function _gd_custom_fontawesome_social_sharing_buttons( $content = '' ) {
    	if ( ! ( geodir_is_page( 'detail' ) || geodir_is_page( 'detail' ) ) ) {
    		return $content;
    	}
    	ob_start();
    	?>
    	<div class="geodir-company_info geodir-details-sidebar-social-sharing">
    		<div class="gd-custom-fa-share">
    		<style> .gd-custom-fa-share { text-align: center; } .gd-custom-fa-share a { margin: 0 7px; font-size: 1.25em; } </style>
    		<?php if ( geodir_is_page( 'preview' ) ) { ?>
    			<a rel="nofollow" target="_blank" title="<?php echo __( 'Share on Facebook', 'geodirectory' ); ?>" href=""><i class="fa fa-facebook"></i></a>
    			<a rel="nofollow" target="_blank" title="<?php echo __( 'Share on Twitter', 'geodirectory' ); ?>" href=""><i class="fa fa-twitter"></i></a>
    			<a rel="nofollow" target="_blank" title="<?php echo __( 'Share on Google Plus', 'geodirectory' ); ?>" href=""><i class="fa fa-google-plus"></i></a>
    		<?php } else { ?>
    			<a rel="nofollow" target="_blank" title="<?php echo __( 'Share on Facebook', 'geodirectory' ); ?>" href="http://www.facebook.com/sharer.php?u=<?php the_permalink(); ?>&t=<?php urlencode( the_title() ); ?>"><i class="fa fa-facebook"></i></a>
    			<a rel="nofollow" target="_blank" title="<?php echo __( 'Share on Twitter', 'geodirectory' ); ?>" href="http://twitter.com/share?text=<?php echo urlencode( html_entity_decode( get_the_title(), ENT_COMPAT, 'UTF-8' ) ); ?>&url=<?php echo urlencode( get_the_permalink() ); ?>"><i class="fa fa-twitter"></i></a>
    			<a rel="nofollow" target="_blank" title="<?php echo __( 'Share on Google Plus', 'geodirectory' ); ?>" href="https://plus.google.com/share?url=<?php echo urlencode( get_the_permalink() ); ?>"><i class="fa fa-google-plus"></i></a>
    		<?php } ?>
    		</div>
    	</div>
    	<?php
    
    	$content = ob_get_clean();
    	return $content;
    }
    add_filter( 'geodir_social_sharing_buttons_html', '_gd_custom_fontawesome_social_sharing_buttons', 10, 1 );

    Thanks,
    Kiran

    in reply to: Franchises will not save as enabled in Prices form #427196

    Kiran
    Moderator
    Post count: 7069

    Glad to hear that 🙂

    Thanks for letting us know.

    Kiran

    in reply to: Show checkbox results without "yes" #427067

    Kiran
    Moderator
    Post count: 7069

    Hi Emily,

    Add following code snippet in your theme functions.php file or add via any snippet plugin.
    Following code will remove “Yes” text for checkbox fields.

    
    
    function _gd_custom_hide_checkbox_yes( $html, $location, $cf ) {
        global $post;
    
        if ( ! is_array( $cf ) && $cf != '' ) {
            $cf = geodir_get_field_infoby( 'htmlvar_name', $cf, $post->post_type );
        }
    	if ( empty( $cf ) ) {
    		return NULL;
    	}
    
    	$html_var = $cf['htmlvar_name'];
    	if ( ! empty( $post ) && (int) $post->{$html_var} == 1 ) {
    		$field_icon = geodir_field_icon_proccess( $cf );
    		if ( strpos( $field_icon, 'http' ) !== false ) {
    			$field_icon_af = '';
    		} elseif ( $field_icon == '' ) {
    			$field_icon_af = '';
    		} else {
    			$field_icon_af = $field_icon;
    			$field_icon = '';
    		}
    
    		$html = '<div class="geodir_more_info  ' . $cf['css_class'] . ' ' . $cf['htmlvar_name'] . '" style="clear:both;"><span class="geodir-i-checkbox" style="' . $field_icon . '">' . $field_icon_af;
    		$html .= ( trim( $cf['site_title'] ) ) ? __( $cf['site_title'], 'geodirectory' ) : '';
    		$html .= '</span></div>';
    	}
    
        return $html;
    }
    add_filter( 'geodir_custom_field_output_checkbox_key_checkbox', '_gd_custom_hide_checkbox_yes', 10, 3 );

    Thanks,
    Kiran

    in reply to: Franchises will not save as enabled in Prices form #427042

    Kiran
    Moderator
    Post count: 7069

    Hi John,

    The error you mentioned indicates that franchise field not added in price package table. after running tool from GeoDirectory > GD tools > Clear All DB Versions will fix this problem.

    If that not works then post site admin credentials in private reply, we will look into there.

    Thanks,
    Kiran

    in reply to: Supreme Login Header Menu #426955

    Kiran
    Moderator
    Post count: 7069

    Hi Joy,

    If that did not worked then you can add your link in supreme child theme functions.php file. Here is the line that contains forgot password link https://github.com/GeoDirectory/supreme-directory/blob/4b0c253785ad8371c07a2c7bf4c155427eccbec9/functions.php#L346

    Let us know.

    Kiran

    in reply to: Event start/end time #426890

    Kiran
    Moderator
    Post count: 7069

    Hello,

    I have updated patch on your site and now recurring event problem has been fixed.

    Thanks,
    Kiran

    in reply to: Attachments deleted when editing a listing #426748

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Attachments deleted when editing a listing #426745

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Attachments deleted when editing a listing #426741

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: GD_Location not showing in sitemap.xml #426625

    Kiran
    Moderator
    Post count: 7069

    Hi Shane,

    Yoast SEO team has some major changes in their recent version v7.x and it breaking the sitemap for Location Manager plugin.

    I have fixed it and patch updated on your site, now location sitemap is working fine.

    Please check and let us know.

    Thanks,
    Kiran

    in reply to: Duplicate search field #426372

    Kiran
    Moderator
    Post count: 7069

    Hi Chris,

    The things you requested are currently not possible at the moment without doing core customization.

    With multiselect/select field this is possible but not with text field. Under CPT Settings > Advance Search you can set “Field Data Type => Check” & “Search Operator” => “AND” or “OR” within searched values for the multiselect/select field.

    Kiran

    in reply to: Translated Place does not show #426371

    Kiran
    Moderator
    Post count: 7069

    Hi Arwin,

    Please check now the listing “Village Whiskey” also working fine in Dutch language. This was happened due to untranslated url slug for “places”.

    I entered “plekken” > ticked ” Translation is complete” > clicked “Save” under WPML > String Translation. Then resave permalinks settings and the listing is working fine for Dutch language.

    You can find untranslated strings under WPML > String Translation buy searching the string and ticking ” Exact match” filter.

    Let us know.

    Thanks,
    Kiran

Viewing 15 posts - 4,171 through 4,185 (of 6,022 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount