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.
]]>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>
]]>
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.
]]>you will need to modify the add-listing template and also some of it’s function to do something like that.
Thanks
]]>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!
]]>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
]]>