"place title"
This topic contains 11 replies, has 2 voices, and was last updated by Alex Rollin 7 years, 2 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
February 2, 2018 at 8:47 pm #415677
Can someone please advise how to change the field “place title” to say somethign else?
Thanks!
February 2, 2018 at 9:06 pm #415683sorry, “place description” what I am trying to do is change those words, and under the field, have a little blurb, like in the other fields..
February 3, 2018 at 1:59 am #415704Hello,
please have a look at this page for more information:
https://wpgeodirectory.com/docs/faqs/can-i-change-place-title-and-place-description/February 3, 2018 at 8:50 pm #415798that doesn’t really help.. How can I have the “place title” and “place Description” as seen in the image below?
Reason being, I want to be able to allow these sections to be shown in the map bubble.
Thank you!
February 4, 2018 at 1:29 pm #415881Hello,
With translation you can change the text of Place title and place description.
https://wpgeodirectory.com/docs/translate-core/
Title and description refer to the basic WP post fields, and are not custom fields and don’t show in that list.
For how to add some field instructions to the title and description, and for how to display the description in the map bubble, I will refer your question for the developers.
Thanks for your patience while they look into it.
February 4, 2018 at 1:30 pm #415882This reply has been marked as private.February 4, 2018 at 3:21 pm #415904Can someone advise on the steps to set this up: where do I place this code? on what file?
https://wpgeodirectory.com/support/topic/profile-tab-in-bubble-map/
I understand I need to add this Hook:
/** * Filter to change infowindow html * * You can use this filter to change infowindow html. * * @since 1.0.0 * @package GeoDirectory * @param string $html Infowindow html. * @param object $postinfo_obj The Post object. * @param bool|string $post_preview Is this a post preview? */ $html = apply_filters('geodir_custom_infowindow_html', $html, $postinfo_obj, $post_preview);
February 4, 2018 at 3:35 pm #415909Hello,
We recommend you use the code snippets plugin to manage your customizations
https://wpgeodirectory.com/docs/useful-plugins/#snippets
However, the developers will have to get back to you about the map bubble and add listing page customizations.
Thanks for your patience while they look into it.
February 5, 2018 at 3:43 am #415949Hello,
a note about helper text on the description field.
There is text, but it only shows if the listing is being added is added with a package with a listing description field character count limitation. You will need to translate the Pricing Manager Addon to change the text. You can find an original string example here:
“For description you can use up to %d characters only for this package.”
To apply the change you want, you can edit this text in the translation, and then enable the listing description limit in GD > Priecs and Payments > Package > Apply description limit?
Still working on helper text for title and map bubble show description.
February 6, 2018 at 2:40 am #416181ok, thanks so much!
February 6, 2018 at 4:38 am #416203Please check your settings at:
GD > Design > Listing > Description word limit
We are still checking on display in the Map Bubble
About the help text for the title field, I conferred with the team and this is a customization, but we are looking to make it easier in future versions and thank you for bringing it to our attention.
February 6, 2018 at 6:05 am #416212Hello,
you can use the following snippet to display the description in the map bubble
function _gd_custom_description_on_map_bubble( $post_ID, $gd_post, $post_preview = false ) { global $post; $old_post = $post; $post = geodir_get_post_info($post_ID); $char_length = 40; // char limit $post->post_excerpt = $post->post_content; $content_out = geodir_max_excerpt( $char_length ); if ( ! empty( $content_out ) ) { echo '<div class="geodir_more_info gd-post-desc"><p>' . $content_out . '</p></div>'; } $post = $old_post; } add_action( 'geodir_infowindow_meta_before', '_gd_custom_description_on_map_bubble', 10, 3 );
To learn more about snippets read:
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket