Simone
Forum Replies Created
-
AuthorPosts
-
December 22, 2014 at 3:11 pm in reply to: Questions about customize comment form and GD updates #25252
Hello, If I’m not wrong, you can edit the comments_functions.php in geodirectory/geodirectory-functions
you need to remove the “old” function and re-create it with your modifications in the functions.php inside your child theme , if you want to preserve your modifications in the future GD releases.Hello, please provide your login details, thanks
I can see two errors relative to the map..(attached).
Stiofan would be more helpful.for 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; } }
You could add a function that will add a custom tab, and inside you could post the custom field one by one 🙂
Stiofan has been notified, please be patient, today it’s his birthday 🙂
I’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 lodgesHello, the .po/mo files need to be placed in /wp-content/languages/geodir_socialimporter/
About 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.
Hmm. 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
Yes, going there you will be able to create/manage custom fields.
Your directory page is displaying the search bar twice, which is strange.
About the GD Booster, I can notify Stiofan or Paolo and they will surely be more helpful than me about the better settings.
The Multilocation will appear if you have the multilocation addon installed.
You will find the settings in the Geodirectory menu.
Otherwise you could not have a location menu (without this addon you can only set one city).
This is the addon page https://wpgeodirectory.com/addons/multilocation/Hmm….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.I see you have 2 search widgets one next to the other
-
AuthorPosts