Giri
Forum Replies Created
-
AuthorPosts
-
In your case it should be
if ($tab_index ==’my_new_tab’) { echo do_shortcode('[ayi]'); }
Use the shortcode
[ayi]
You are welcome 🙂
This reply has been marked as private.Please post your site login credentials.
Thanks
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
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
Fixed
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
Hi Roman,
Can you link me to the page? So I can understand it better.
Please provide admin credentials too.
Thanks
Can you give me login credentials?
Thanks
This reply has been marked as private.You are welcome 🙂
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
This reply has been marked as private. -
AuthorPosts