List stores in a centre
This topic contains 15 replies, has 3 voices, and was last updated by Guust 9 years, 4 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
December 19, 2014 at 6:14 pm #25033
Hi GD Team,
I was wondering if I could have a tab like “Related Lsting” except instead of listing the related listings, I could add my own listings in this tab.
This would be a tab showing the available stores in the listing.
Thank you
December 19, 2014 at 6:17 pm #25036Hmm….what you could to is to create a custom field, set it to Show as a tab and use a “link” where you would paste the address of other listing.
Otherwise it will require custom modifications.December 19, 2014 at 6:40 pm #25045How would i create a custom field? Through GD>Place Settings?
December 19, 2014 at 6:43 pm #25046Yes, going there you will be able to create/manage custom fields.
December 19, 2014 at 7:06 pm #25048How would I add another photo tab
December 19, 2014 at 7:11 pm #25049Hmm. a photo tab cannot be added without custom modification….you can add photos in the details tab, by adding a custom field (File Upload) and clicking Yes on the “Show on detail page” dropdown
December 19, 2014 at 7:16 pm #25050That could work nicely, thanks. Just need help with the stores tab mentioned above.
Also has there been a booking system added for restaurants, clubs, accomodation?December 19, 2014 at 7:29 pm #25052About the accommodation system…I think something is boiling in the big caldron ….so maybe in the future it will be released. I have to ask to Paolo or Stiofan to confirm that.
December 19, 2014 at 7:50 pm #25059I’ve asked to Paolo, and Kiran’s been working on it since almost a month now, so it shouldn’t be much longer.
I know it will be a simple one to start with probably suitable for b&b and small lodgesDecember 19, 2014 at 7:53 pm #25063Lol the caldron…. Just 1 more question, if i were to get technical about the “Stores” tab, how would i do it.
December 19, 2014 at 7:56 pm #25065You could add a function that will add a custom tab, and inside you could post the custom field one by one 🙂
December 19, 2014 at 7:59 pm #25066for example:
add_filter('geodir_detail_page_tab_list_extend', 'geodir_detail_page_tab_list_extend') ; function geodir_detail_page_tab_list_extend3($tab_array) { $tab_array3['custom_tab'] = array( 'heading_text' => __('<b>CUSTOM TAB</b>',GEODIRECTORY_TEXTDOMAIN), 'is_active_tab' => false, 'is_display' => apply_filters('geodir_detail_page_tab_is_display', true, 'custom_tab'), 'tab_content' => '' ); return $tab_array ; } add_action('geodir_after_tab_content' ,'geodir_my_new_tab_content'); function geodir_my_new_tab_content($tab_index) { global $post; global $wp_query; $postid = $wp_query->post->ID; if($tab_index =='CUSTOM') { $CUSTOM_FIELD= geodir_get_post_meta($postid,'geodir_customfield',true); echo "<b>custom field:</b> € ".$CUSTOM_FIELD; } }
December 19, 2014 at 8:18 pm #25069The “Show as a tab on detail” option is not showing in the custom field. How would i fix this?
December 19, 2014 at 11:07 pm #25094The tab setting should be there:
http://docs.wpgeodirectory.com/core-place-settings/#tabJust chipping in with a different solution: use the favorite system, and rename it to MyStore or something. Then a listing owner can add all his stores as “favourite” and add a link to that as a custom field for example.
Then the only thing they need to do is to favorite their stores, and they will be added.December 20, 2014 at 6:10 am #25115No its not showing. “Show on detail page” is there but the “Show as a tab on Detail page?” option is not.
Should I upgrade my GD plugins? Ive seen that most people are getting errors and crashes when they update
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket