Customizing Text for Business Hours
This topic contains 11 replies, has 3 voices, and was last updated by Alex Rollin 5 years, 9 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
July 11, 2019 at 3:07 pm #497118
I’m using the “Business Hours” field to actually represent our “service times” and all seems to be working, except I’d really like to change the wording of “Closed Now” and “Open Now”. Since we’re displaying service times, the businesses are technically open during other times, just not having service. I feel like “Closed Now” is a bit misleading since their office may technically be open. I’d like to replace “Closed Now” with “Service Times” and “Open Now” with “Service is Live”. Can I do this via CSS? Or will it need to be an html change?
July 11, 2019 at 3:17 pm #497122Hi Megan Kempf,
Thanks for your reply. You can use the “Translation” method here to change the texts https://wpgeodirectory.com/docs-v2/translation/overview/ . Could you give it a try?
July 11, 2019 at 3:21 pm #497123I’m sorry for probably sounding like an amateur (which I totally am), but is this really the easiest way to change two bits of text on my site?
Honestly I’d even be okay if both phrases were simply replaced with “Service Times”. I understand that this would provide a fix, but I don’t need to change text for anything else on my site, so this seems like a bit of overkill.
July 11, 2019 at 3:42 pm #497128Yes, and once you change one string you will probably find many more that will make your site really ‘speak’ to your niche.
The actual process can be done from start to finish in a couple minutes once you have the tools handy.
July 11, 2019 at 6:27 pm #497173Okay sounds good. So, I have another question – I can start a new thread if necessary, but I have a feeling it may be this same solution.
When I use address shortcode, the address displays like this:
Address: Street Address
City
State
Zip Code
CountryI’d like it to be more like this:
Address:(break here)
Street Address
City, State (these on the same line)
Zip Code
CountryWould this also be something I change with the translation method?
July 11, 2019 at 7:26 pm #497197Not sure how you are adding it but try GD Post Address and adjust the template to meet your needs:
https://wpgeodirectory.com/docs-v2/geodirectory/design-elements/#gd_post_addressJuly 12, 2019 at 1:38 am #497275This is what I’m wanting, except I’d like it to apply site-wide. I’m actually not using widgets anywhere, just shortcode. So on my archive and listing pages, the address displays as above. Is there any way to customize the layout of address tags for the entire site? Every place the GD Post Address shortcode is used?
July 12, 2019 at 9:13 am #497327Yes, every instance of the GD Post Address Element.
July 12, 2019 at 1:40 pm #497361I’m sorry for the confusion, but I’m unable to get it to work.
I’ve followed the directions here: https://wpgeodirectory.com/docs-v2/geodirectory/design-elements/#gd_post_address but nothing has changed. I’m not using a sidebar or anything to display my address, I’m just using the shortcode. I’m not sure if that’s the problem or not, but I’ve tried the method above to no avail. Am I missing something?
July 12, 2019 at 2:22 pm #497379Please send a link to the page where you want to show the address along with WP Admin credentials in a private reply and we will take a look.
“WordPress Credentials
WP Admin Login URL:
WP Admin Username:
WP Admin Password:”July 12, 2019 at 2:28 pm #497382This reply has been marked as private.July 12, 2019 at 3:13 pm #497398With V2 you can edit the templates for each display of the listing.
The first link is an archive page, and the archive item template is what determines what is shown.
To adjust the address with GD Post Address you will need to edit the archive item template and add GD Post Address as a shortcode.
https://wpgeodirectory.com/docs-v2/templates/archive-item/
For the details page, it is not possible to change the header area without a customization.
Instead, you can easily add a shortcode for GD Post Address to the tabs UI.
https://wpgeodirectory.com/docs-v2/places/tabs/
Find the tabs UI for your CPT, click the Tabs (tab) and then find ‘shortcode’ on the left. Click it to add one on the right. Then use the shortcode builder there to add a GD Post Address shortcode with your preferred template.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket