Change to a , in the address
This topic contains 21 replies, has 4 voices, and was last updated by Tony Bellens 5 years, 11 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
April 25, 2019 at 2:04 pm #482830
Hi,
how would we change the <br> in the address to a , so that the city, region, postcode and country are displayed on one line. Even more ideal would be as follows
city, region postcode, country (so a space between region and postcode
Thank you,
TonyApril 25, 2019 at 3:51 pm #482862Hi Tony,
Thanks for your post. You can refer to this section of the documentation https://wpgeodirectory.com/docs-v2/faq/common-examples/#address that explains how this can be done.
April 25, 2019 at 5:55 pm #482880May 6, 2019 at 12:56 pm #484674Hi,
I think I finally figured out the basics (not easy switching from Joomla) on how to change bits and pieces with blocks and shortcodes. I experimented with Archive Item and deleted the classic editor short-codes with blocks. I succeeded partially as I don’t know how to open and close the left side and the right side. Do I keep the original short-codes for that in-between the blocks? Another question is I couldn’t figure out how to add the event date and time and the price of the event.
I hope I’m making sense and did this in the correct way.
You can view the places on gdatest05.website/places
You can view the events on gdatest05.website/eventsI’m still copying content, so some listings don’t have images or all info.
Thank you,
TonyMay 6, 2019 at 1:23 pm #484679Hi Tony,
Thanks for your reply. You can use the “Post Meta” shortcode https://wpgeodirectory.com/docs-v2/geodirectory/design-elements/#gd_post_meta to display the event date. Check out the attached image. Did you create the event price using custom field?
May 6, 2019 at 2:20 pm #484702Hi Kor, thank you, I found it in the blocks but when I use that it shows all the recurring event dates. How do I only show the date and time on 1 line as it showed originally in the classic editor?
The Price is OK.
Thank you,
TonyMay 6, 2019 at 6:43 pm #484753Hi Tony,
Thanks for your reply. Could you share your WP admin access here in private reply so that I could check your setup? Also, share the URL of the page in question where it appears “all recurring event dates”.
May 7, 2019 at 5:55 am #484861This reply has been marked as private.May 7, 2019 at 7:38 am #484873Hi Tony,
Thanks for your reply. You can use the custom CSS code below to hide the recurring dates.
.geodir-output-location-detail .geodir-schedules .geodir-schedule { display: none; } .geodir-output-location-detail .geodir-schedules .geodir-schedule:first-child { display: block; }
May 7, 2019 at 10:20 am #484904Hi Kor,
thank you for the info. I added the block to display the date and time and added the custom css, but it still shows a list of all the occurrences. Please have a look at gdatest05.website/events
Thank you,
TonyMay 7, 2019 at 12:12 pm #484919Hi Tony,
Thanks for your reply. Try using the custom CSS code below.
.geodir_post_meta .geodir-schedules .geodir-schedule { display: none; } .geodir_post_meta .geodir-schedules .geodir-schedule:first-child { display: block; }
May 7, 2019 at 12:29 pm #484922Thank you very much Kor, works perfectly!
May 7, 2019 at 1:04 pm #484931Hi Kor, sorry but I noticed that it shows the 1st date from when the event was created. Any way to change that? With the original installation and the original shortcodes in the classic editor, it showed the date and time of that particukar occurrance.
I copied the original codes back under the new ones, so that might make it easier to explain/follow. So if you go to gdatest05.website/events I hope you understand what I mean.
Thank you,
TonyMay 7, 2019 at 4:08 pm #484960Hi Tony,
Thanks for your reply. Unfortunately, there isn’t a way to automatically choose the date of that “particular occurrence”. Let us know how it goes.
May 8, 2019 at 6:36 am #485087Hi Kor, I deleted my changes and added the original shortcodes in the classic editor as they come when installing Geodirectory. As you can see on gdatest05.website/events, the date and time are displayed in accordance to the actual date of the recurring event. So this is what I would like to acjieve. I could leave it as is, but I want to change some of the other elements, that’s why I started replacing the original shortcodes with blocks. I really hope Im making myself clear.
Thank you,
Tony -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket