Change to a , in the address

This topic contains 21 replies, has 4 voices, and was last updated by  Tony Bellens 4 years, 11 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #482830

    Tony Bellens
    Full Member
    Post count: 254

    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,
    Tony

    #482862

    Kor
    Moderator
    Post count: 16516

    Hi 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.

    #482880

    Alex Rollin
    Moderator
    Post count: 27815
    #484674

    Tony Bellens
    Full Member
    Post count: 254

    Hi,

    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/events

    I’m still copying content, so some listings don’t have images or all info.

    Thank you,
    Tony

    #484679

    Kor
    Moderator
    Post count: 16516

    Hi 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?

    #484702

    Tony Bellens
    Full Member
    Post count: 254

    Hi 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,
    Tony

    #484753

    Kor
    Moderator
    Post count: 16516

    Hi 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”.

    #484861

    Tony Bellens
    Full Member
    Post count: 254
    This reply has been marked as private.
    #484873

    Kor
    Moderator
    Post count: 16516

    Hi 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;
    }
    #484904

    Tony Bellens
    Full Member
    Post count: 254

    Hi 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,
    Tony

    #484919

    Kor
    Moderator
    Post count: 16516

    Hi 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;
    }
    #484922

    Tony Bellens
    Full Member
    Post count: 254

    Thank you very much Kor, works perfectly!

    #484931

    Tony Bellens
    Full Member
    Post count: 254

    Hi 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,
    Tony

    #484960

    Kor
    Moderator
    Post count: 16516

    Hi 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.

    #485087

    Tony Bellens
    Full Member
    Post count: 254

    Hi 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

Viewing 15 posts - 1 through 15 (of 22 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket