Alex Rollin

Forum Replies Created

Viewing 15 posts - 19,486 through 19,500 (of 23,809 total)
  • Author
    Posts
  • in reply to: Notice: A non well formed numeric value #428698

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    in reply to: payments manager wont update #428696

    Alex Rollin
    Moderator
    Post count: 27815

    Please update the plugin manually, that version is too old for auto-updates.

    Deactivate, delete, install new version, activate, add license

    And from there it will update automatically with WP Easy Updates.

    Be sure to review this post about upgrading here: https://wpgeodirectory.com/payments-manager-v2-setup/

    in reply to: Map can't find city #428695

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    Sometimes address are not found, it is true.

    When you did find it by scrolling the map, was the address as you expected?

    Have you turned on autocomplete for the address?


    Alex Rollin
    Moderator
    Post count: 27815

    Wordpress – Settings – Media

    It is a CSS ‘thing’ so, dropping the cache is a good idea.

    in reply to: Copyright Code Change and GDBooster #428693

    Alex Rollin
    Moderator
    Post count: 27815

    Try this one: https://wpgeodirectory.com/docs/faqs/how-do-i-change-the-footer-text-in-supreme/

    There was an update to the theme.

    About GD booster, and any cache plugin, I usually turn them off while working on a site.

    Have you tried excluding your CSS file?
    https://wpgeodirectory.com/docs/gd-booster-add-on-overview/

    in reply to: Search Filtering By Custom Field #428692

    Alex Rollin
    Moderator
    Post count: 27815

    Nothing obvious is jumping out at me.

    Have you tried the cuisine options without parentheses ()?

    I will ask our team about it, thanks for your patience while we take a look.

    in reply to: Replace radion button selections with images #428690

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    give this snippet a try:

    
    
    
    // NOTE: change "geodir_Radio_Test" to your field name
    function _gd_custom_radio_output( $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 ) && in_array( $html_var, array_keys( (array) $post ) ) ) {
    		$value = $post->{$html_var};
    
    		$image = '';
    		if ( $value == '1' ) {
    			$image = 'http://mysite.com/images1.jpg';
    		} else if ( $value == '2' ) {
    			$image = 'http://mysite.com/images2.jpg';
    		}
    			
    		$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 = '';
    		}
    
    		if ( $image != '' ) {
    			$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><img src="' . $image . '" style="width:16px;"></div>';
    		} else {
    			$html = '<div style="display:none">'.$value.'</div>';
    		}
    	}
    
        return $html;
    }
    add_filter( 'geodir_custom_field_output_radio_var_geodir_Radio_Test', '_gd_custom_radio_output', 10, 3 );
    

    Let us know how it goes 🙂

    The site is looking great, btw! Looking forward to seeing it in the showcase!

    https://wpgeodirectory.com/category/showcase/

    in reply to: Error table #428689

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    in reply to: 'Add Listing' not showing on primary menu #428688

    Alex Rollin
    Moderator
    Post count: 27815

    Yes, those settings look correct.

    Are those menu locations displayed in your theme?

    We can take a look, just make a private reply with your site details.

    in reply to: CPT Add page #428687

    Alex Rollin
    Moderator
    Post count: 27815

    That is not possible, no, but you could change the default location to somewhere else?

    Maybe they would find another city less disturbing?


    Alex Rollin
    Moderator
    Post count: 27815

    Hi Colin,

    yes, some elements of GDV1 are a little difficult to move around, and moving them can cause unexpected results. There aren’t any settings to change the location of those elements, so it would be a customization, which we can’t help with here in the forum.

    in reply to: Site Title / Breadcrumb #428685

    Alex Rollin
    Moderator
    Post count: 27815

    Usually the home page has a class that marks the body as the home page, so, often it is possible to target the CSS to just the home page. Give it a try, and here’s a doc to help:

    https://wpgeodirectory.com/docs/customizing-your-style/

    in reply to: Geodirectory configurations, Add-ons #428684

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    I think you have one or more widgets in something like the “Header” or “Featured: widget area, and you will want to remove that.

    We can take a look at the settings if you send a private reply with your site login URL and WP Admin credentials.

    in reply to: GD Home page with latest blog posts #428683

    Alex Rollin
    Moderator
    Post count: 27815

    Hi Rachel,

    you could try using a blog post widget in the GD Home widget areas to put your blog content on the GD Home page.

    The GD Home template will override any other content on the page set as the GD Home page except for the GD Home widget area.

    What many members choose to do is to have a completely separate page as their WordPress Front: Static page, and use some GD widgets there, but also include a link to the GD Home called “directory” or something similar.

    Hope that helps to clarify things.

    in reply to: Worldwide Listings #428682

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    It can be helpful to add listings in the areas where you know your members will be using the directory.

    Otherwise yes, users will need to zoom in and out on the map to find the location on the map.

    You can set the map language to English to be sure you are getting the English version, but it is the default. Can you provide an example of one of the HK addresses? https://wpgeodirectory.com/docs/translating-countries-and-map-directions/#change

Viewing 15 posts - 19,486 through 19,500 (of 23,809 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount