Giri

Forum Replies Created

Viewing 15 posts - 436 through 450 (of 2,661 total)
  • Author
    Posts
  • in reply to: Supreme mobile menu #382070

    Giri
    Expired Member
    Post count: 3155
    This reply has been marked as private.
    in reply to: Automatically Fill Linked Business #382062

    Giri
    Expired Member
    Post count: 3155

    Hi Matt,

    Stiofan is correct. It will stop showing in the frontend. But the data would still remain in the DB. So if you turn on that feature again, data will be visible in the frontend.

    Hope that helps

    Thanks

    in reply to: Supreme mobile menu #381907

    Giri
    Expired Member
    Post count: 3155

    Yep, I’m pretty sure thats the url i was trying so far. I’m being redirected to the home page.

    in reply to: Supreme mobile menu #381903

    Giri
    Expired Member
    Post count: 3155

    Hi Edith, I’m unable to access wp-admin. It keeps redirecting me to home page.

    in reply to: Move CPT #381896

    Giri
    Expired Member
    Post count: 3155

    Hi,

    By mean “Hook”, paolo meant the snippet.
    Please use code snippets plugin to add the following snippet.

    https://wordpress.org/plugins/code-snippets/

    
    
    remove_action('sd_homepage_content','sd_homepage_featured_content');
    function sd_homepage_featured_content_modified() {
        if (is_singular() && geodir_is_page('location') && $location = sd_gd_current_location_name() ) { ?>
            <h1 class="entry-title"><?php echo esc_attr(__($location, 'geodirectory')); ?></h1>
        <?php } else { ?>
            <h1 class="entry-title"><?php the_title(); ?></h1>
        <?php }
    
        $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();
        echo do_shortcode('[gd_cpt_listings cpt_img_width=120 cpt_img_height=90]');
    
        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','sd_homepage_featured_content_modified');

    Thanks

    PS: Make sure to activate the snippet.

    in reply to: Supreme mobile menu #381889

    Giri
    Expired Member
    Post count: 3155

    Hi Edith,

    I’m unable to access the backend. Can you make sure that test user is Admin?

    in reply to: Yelp Copy #381880

    Giri
    Expired Member
    Post count: 3155

    Where do I edit the footer details? I have tried from footer.php but i could not find.

    What exactly you are trying to do in footer and what theme are you using?

    in reply to: View My Store Tab on Directory Listing #381673

    Giri
    Expired Member
    Post count: 3155

    Hi there,

    I’m not sure which theme you are using in your website.

    But you can try this code. This will add a Visit Store link in your detail page sidebar.

    
    
    add_action('geodir_before_detail_page_more_info', 'gd_visit_store_button');
    function gd_visit_store_button(){
    	global $post;
    	$author = $post->post_author;
    	$author_info = get_userdata( $author );
    	if ( $author_info->roles[0] == "vendor" ) {
    		$store_url = WCVendors_Pro_Vendor_Controller::get_vendor_store_url( $author );
    		echo '<a href="'.$store_url.'">Visit Store</a>';
    	}
    }

    Let me know if you face any problem.

    Thanks

    in reply to: Decription in Add listing not mandatory #381669

    Giri
    Expired Member
    Post count: 3155

    Hi Tania,

    Your workaround involves both js and css

    Add this JS in Design > Scripts

    
    
    jQuery( document ).ready(function() {   
        jQuery("#geodir_post_desc_row").removeClass("required_field");
    });

    Apply this CSS too.

    
    
    #geodir_post_desc_row label span, 
    #geodir_post_desc_row .geodir_message_error {
       display:none !important;
    }

    Let me know how that goes.
    https://wpgeodirectory.com/docs/common-code-snippets/#desc

    Thanks


    Giri
    Expired Member
    Post count: 3155

    Hi Peter, That layout is coming from genesis theme. I guess its designed that way to show the full blog post on first post without thumbnail.

    It has nothing to do with geo theme. Please check for blog layouts settings in genesis theme.

    in reply to: Social login not redirecting in claim listing #381277

    Giri
    Expired Member
    Post count: 3155

    Thanks for letting us know.

    in reply to: Send Enquiry + Form #381266

    Giri
    Expired Member
    Post count: 3155

    Hi Tim,

    I’d like the 2nd link to be conditionally visible like the default in the event that the listing doesn’t have an email assigned to it.

    You have to wrap paolo code inside an if check like this

    
    
    global $post;
    if (!isset($post->geodir_email) || empty($post->geodir_email)) {
    	?>
    	<a href="javascript:void(1);" class="b_send_inquiry2" onclick="jQuery( '.b_send_inquiry' ).click();">Send Enquiry</a>
    	<?php
    }

    Also, for the enquiry form itself, I’d like to use a different form entirely. Would it be better to create a different form template file or update the existing to accommodate the desired fields/content and by chance is it possible to integrate something like contact form 7 into this?

    This is not possible without hiring a developer. You can reference this code if you wanna link send enquiry button to another page.

    https://wpgeodirectory.com/support/topic/listing-detail-author-link/#post-361147

    Thanks

    in reply to: BP Members Map autocomplete issue #380924

    Giri
    Expired Member
    Post count: 3155

    Hi wonderbc,

    Do you use any other caching plugins besides GD booster?

    None of my changes reflecting in frontend

    in reply to: BP Members Map autocomplete issue #380921

    Giri
    Expired Member
    Post count: 3155

    Hi wonderbc, Sorry i missed your reply.

    Let me check.

    in reply to: UsersWP BETA + GD integration + UWP reCAPTCHA #380920

    Giri
    Expired Member
    Post count: 3155

    Hi pedstone, Thanks for reporting. I’ll fix that one.

Viewing 15 posts - 436 through 450 (of 2,661 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount