GeoDirectory SupportAdd random content and HTML to the Add Listing Form – GeoDirectory Support https://wpgeodirectory.com/support/topic/add-random-content-and-html-to-the-add-listing-form/feed Sun, 05 Apr 2026 21:57:36 +0000 http://bbpress.org/?v=2.5.14-6684 en-US https://wpgeodirectory.com/support/topic/add-random-content-and-html-to-the-add-listing-form/#post-55074 <![CDATA[Add random content and HTML to the Add Listing Form]]> https://wpgeodirectory.com/support/topic/add-random-content-and-html-to-the-add-listing-form/#post-55074 Tue, 29 Sep 2015 21:13:33 +0000 Dylan Hello,

We want to add additional content and html to the Add Listing form. We would like to place this content in specific locations, between certain fields.

How can this be done?

Thanks.

]]>
https://wpgeodirectory.com/support/topic/add-random-content-and-html-to-the-add-listing-form/#post-55122 <![CDATA[Reply To: Add random content and HTML to the Add Listing Form]]> https://wpgeodirectory.com/support/topic/add-random-content-and-html-to-the-add-listing-form/#post-55122 Wed, 30 Sep 2015 09:36:05 +0000 Guust You can use the translation file for that.
For example if you would like a heading above the ZIP code you would translate

Please enter listing address. eg. : <b>230 Vine Street</b>

to

Please enter listing address. eg. : <strong>230 Vine Street</strong><h3>Heading for ZIP code</h3>

https://wpgeodirectory.com/docs/translate-core/

]]>
https://wpgeodirectory.com/support/topic/add-random-content-and-html-to-the-add-listing-form/#post-55620 <![CDATA[Reply To: Add random content and HTML to the Add Listing Form]]> https://wpgeodirectory.com/support/topic/add-random-content-and-html-to-the-add-listing-form/#post-55620 Sat, 03 Oct 2015 15:41:03 +0000 Dylan Hi Guust,

The translation file works for small changes. But for instance, if I want to add this:

<p class="food-cat-desc">Select one or more Food Categories. Have a suggestions for a new category, let us know at [email protected]</p>

prior to the Category section of the Add listing form, it cannot be done by translating the “Category” word, because it inserts the HTML within the <label> tag, and not above it. So it does not display correctly, and CSS cannot be used to adjust the position, because the <label> tag contains the new html/text.

Thanks.

]]>
https://wpgeodirectory.com/support/topic/add-random-content-and-html-to-the-add-listing-form/#post-55785 <![CDATA[Reply To: Add random content and HTML to the Add Listing Form]]> https://wpgeodirectory.com/support/topic/add-random-content-and-html-to-the-add-listing-form/#post-55785 Mon, 05 Oct 2015 15:01:00 +0000 Paolo Hi Dylan,

you will need to modify the add-listing template and also some of it’s function to do something like that.

Thanks

]]>
https://wpgeodirectory.com/support/topic/add-random-content-and-html-to-the-add-listing-form/#post-55842 <![CDATA[Reply To: Add random content and HTML to the Add Listing Form]]> https://wpgeodirectory.com/support/topic/add-random-content-and-html-to-the-add-listing-form/#post-55842 Mon, 05 Oct 2015 21:35:50 +0000 Guust As per the ZIP example I gave, you can add it to the bottom of the previous text, see image.
Or do it as Paolo suggests.

]]>
https://wpgeodirectory.com/support/topic/add-random-content-and-html-to-the-add-listing-form/#post-56068 <![CDATA[Reply To: Add random content and HTML to the Add Listing Form]]> https://wpgeodirectory.com/support/topic/add-random-content-and-html-to-the-add-listing-form/#post-56068 Wed, 07 Oct 2015 14:12:56 +0000 Dylan Hi Guust,

Adding it to the bottom of the previous text will not work in our case, because the previous is a fieldset, and they are not in the PO file.

So we would have to modify the add-listing template to add even a single line of text. How would the function target the exact area we would like to add our text? Is it by function priority only, on the hook?

Thanks!

]]>
https://wpgeodirectory.com/support/topic/add-random-content-and-html-to-the-add-listing-form/#post-56137 <![CDATA[Reply To: Add random content and HTML to the Add Listing Form]]> https://wpgeodirectory.com/support/topic/add-random-content-and-html-to-the-add-listing-form/#post-56137 Wed, 07 Oct 2015 18:52:09 +0000 Paolo Hi,

fieldset and custom fields text can be added to the PO file.

Please see: https://wpgeodirectory.com/docs/translating-custom-fields/

Let us know how you went.

Thanks

]]>