Giri

Forum Replies Created

Viewing 15 posts - 826 through 840 (of 2,661 total)
  • Author
    Posts
  • in reply to: Append "Favorites" into list #367789

    Giri
    Expired Member
    Post count: 3155

    In your case it should be

    
    
    
    if ($tab_index ==’my_new_tab’) {
        echo do_shortcode('[ayi]');
    }
    in reply to: Append "Favorites" into list #367788

    Giri
    Expired Member
    Post count: 3155

    Use the shortcode

    [ayi]
    in reply to: Append "Favorites" into list #367774

    Giri
    Expired Member
    Post count: 3155

    You are welcome 🙂

    in reply to: Append "Favorites" into list #367769

    Giri
    Expired Member
    Post count: 3155
    This reply has been marked as private.
    in reply to: Doesnt seem to be working for me #367749

    Giri
    Expired Member
    Post count: 3155

    Please post your site login credentials.

    Thanks

    in reply to: set thumbnail height in only one CPT #367687

    Giri
    Expired Member
    Post count: 3155

    Hi kelly,

    If your post type is gd_dog

    then you can use style like this to set the height.

    
    
    
    .geodir_category_list_view li.geodir-gridview.gd-post-gd_dog .geodir-post-img {
         height: 250px;
    }

    replace

    gd_dog

    with

    gd_elite_dog

    if you want those styles for elite dog page.

    Let me know.

    Thanks

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

    Giri
    Expired Member
    Post count: 3155

    Hi chris,

    “Add Listing” link should be placed in main menu. Because there will be many post types and its not really possible to put that in profile sidebar.

    Are there plans for a second user group (consumer and vendor) for registering?

    Yes we have planned an addon for that.

    Thanks

    in reply to: Supreme Directory rel=nofollow Missing #367656

    Giri
    Expired Member
    Post count: 3155

    Fixed

    in reply to: Append "Favorites" into list #367650

    Giri
    Expired Member
    Post count: 3155

    I think you are looking for a RSVP feature.

    See “Are You Interested?” widget here.

    https://wpgeodirectory.com/docs/whoop-theme-available-widgets/#ayi-widget

    If yes, then we moved it to a new addon. So it supports all themes now.

    Let me know if thats what you are looking for.

    Thanks

    in reply to: Supreme Directory rel=nofollow Missing #367647

    Giri
    Expired Member
    Post count: 3155

    Hi Roman,

    Can you link me to the page? So I can understand it better.

    Please provide admin credentials too.

    Thanks

    in reply to: Whoop options – menu hover colour not working #367646

    Giri
    Expired Member
    Post count: 3155

    Can you give me login credentials?

    Thanks

    in reply to: Show Linked Post in Whoop Listings #367445

    Giri
    Expired Member
    Post count: 3155
    This reply has been marked as private.
    in reply to: Show Linked Post in Whoop Listings #367440

    Giri
    Expired Member
    Post count: 3155

    You are welcome 🙂

    in reply to: Show Linked Post in Whoop Listings #367412

    Giri
    Expired Member
    Post count: 3155

    Hi James,

    Fixed that in your site.

    Here is the modified code.

    
    
    
    function whoop_event_detail_venue() {
        ?>
               <dl>
                    <dt>
                        <?php echo __('Venue:', GEODIRECTORY_FRAMEWORK); ?>
                    </dt>
                    <dd class="eve-dates">
                        <?php
                        do_action('whoop_event_detail_venue_link');
                        ?>
                    </dd>
                </dl> 
                <?php
    }
    add_action('whoop_event_detail_after_category', 'whoop_event_detail_venue');
    add_action( 'whoop_event_detail_venue_link', 'whoop_geodir_event_display_link_business' );
    function whoop_event_listing_venue($view, $post) {
    
        if ($view != 'listview') {
            return;
        }
        if ($post->post_type != 'gd_event') {
            return;
        }
        ?>
        <div>
        <span>
        <?php echo __('Venue:', GEODIRECTORY_FRAMEWORK); ?>
        </span>
        <?php
        do_action('whoop_event_listing_venue_link');
        ?>
        </div>
        <?php
    }
    add_action('geodir_after_listing_post_title', 'whoop_event_listing_venue', 0, 2);
    add_action( 'whoop_event_listing_venue_link', 'whoop_geodir_event_display_link_business' );
    
    function whoop_geodir_event_display_link_business() {
    	global $post;
    	$post_type = $post->post_type;
    	$all_postypes = geodir_get_posttypes();
    		
    	if ( !empty( $post ) && $post_type == 'gd_event' && isset( $post->geodir_link_business ) && !empty( $post->geodir_link_business ) ) {
    		$linked_post_id = $post->geodir_link_business;
    		$linked_post_info = get_post($linked_post_id);
    		if( !empty( $linked_post_info ) ) {
    			$linked_post_type_info = in_array( $linked_post_info->post_type, $all_postypes ) ? geodir_get_posttype_info( $linked_post_info->post_type )  : array();
    			if( !empty( $linked_post_type_info ) ) {
    				$linked_post_title = !empty( $linked_post_info->post_title ) ? $linked_post_info->post_title : __( 'Listing', 'geodirevents' );
    				$linked_post_url = get_permalink($linked_post_id);
    				
    				$html_link_business = '<a title="' . esc_attr( $linked_post_title ) . '" href="'.$linked_post_url.'">' . wp_sprintf( __( '%s', 'geodirevents' ), $linked_post_title ) . '</a>';
    				
    				echo apply_filters( 'whoop_geodir_more_info_link_business', $html_link_business, $linked_post_id, $linked_post_url );
    			}
    		}
    	}
    }

    Thanks

    in reply to: Show Linked Post in Whoop Listings #367289

    Giri
    Expired Member
    Post count: 3155
    This reply has been marked as private.
Viewing 15 posts - 826 through 840 (of 2,661 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount