How to add another text field like the listing description
This topic contains 15 replies, has 2 voices, and was last updated by Guust 7 years, 11 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
April 3, 2017 at 8:24 pm #371604
Hi,
I would like to add another text field in the add listing page that has the same feauteres as the listing description that has some tools for letter size, color, bullet points etc.I added a ‘Textarea’ which is OK, but I would like the text area to be much larger, at least twice as it’s current default size and if possible it would be nice to have editing tools like the description field does. Can I do that? if so how?
I want to put these text field at the end of the listing page and encourage the merchants loading their listing to provide some additional useful information to the clients.
Thank you.
April 4, 2017 at 5:00 am #371636You should use an HTML field and drag and drop it to the bottom of the list of custom fields.
ThanksApril 4, 2017 at 5:31 pm #371779This reply has been marked as private.April 4, 2017 at 5:35 pm #371780This reply has been marked as private.April 4, 2017 at 10:02 pm #371834To add a new custom field to the list of custom fields “Click on any box below to add a field of that type to the add Service listing form.” There is no need to drag it.
Drag and drop is to change the order of the fields.
I had no issues adding a new custom field, I deleted it again.Here is the list of custom fields available: https://wpgeodirectory.com/docs/core-place-settings/#custom
Thanks
April 4, 2017 at 11:16 pm #371847Hi Thank you so much, and sorry for the confusion. Yes, it is working now. Mi mind was tricking me, In mind I was sure that I had to drag the fields to the windows, that is what I remembers, so I had not tried double clicking on the fields, but yes double clicking works.
This has been resolved, I tried the HTML field and that is exactly what I needed.
Thank you.
April 5, 2017 at 1:08 am #371861Thanks for letting us know.
Enjoy GD 🙂April 26, 2017 at 9:47 pm #375629Hi one more thing related to adding the “HTML” section to my add listing page.
See attachments “html.jpeg” so you can see all the field in my new “HTML” field I added.The problem is that when someone enters anything in these field the title description repeats twice. Once correctly as the title and one more time at the top of the description content. See attachment “repeating_title.jpg”. How can I fix that?
Note that title repeats twice in detail page: “Advice, Tips, Ideas, Guide, How to, Best Practice for …, Charts, or any event related educational material”
Thank you.
April 26, 2017 at 9:47 pm #375632This reply has been marked as private.April 27, 2017 at 10:15 am #375705That’s because you set the custom field to show in its own tab, so it shows as the heading and then as the label for the custom field.
Prevent that with adding a fieldset above it, see https://wpgeodirectory.com/docs/core-place-settings/#customThanks
April 27, 2017 at 4:54 pm #375785Hi, I read the link you provided above, so I moved the new field to the “More info tab” in the ‘Show in what Location?’. That got rid off of the heading “Front End Titles” showing in the details page, but the label title still shows. I wish I could get rid off the label title too.
Are you saying I could prevent the label title from showing by adding a fieldset above it? I read the link but I am not sure what you mean by adding a fieldset above my new HTML field that I added.
Can you elaborate on how to add a fieldset above my HTML field? And what should that fieldset be set too?
Thank you.
April 28, 2017 at 5:35 am #375866A fieldset creates a heading.
If you set it as “own tab”, it will create a tab.
If you drag the HTML field below the fieldset, then the HTML field will appear in the new tab.
Labels can be hidden with CSS.
ThanksApril 29, 2017 at 3:30 pm #376115Hi Guust, I am putting my HTML field under the ‘More Info’ tab. I can remove the label by doing “.geodir-i-text { display: none; }” that gets rid off the text but not the space where that text was written. The space is left under the “More Info” Tab see pic below. Is there a way to get rid of that space with CSS?
April 30, 2017 at 1:37 am #376175That space comes from an empty line:
<div class="sqs-block-content"> <p> </p> <p>2017 Catering and Events Trends</p> <p> </p>
and this CSS:
.geodir-company_info p { padding: 5px 0 15px 0; margin: 5px 0 10px 0; border-bottom: 1px #eee solid; line-height: 19px; }
The way you used
.geodir-i-text { display: none; }
will hide a lot more than just that line, target it better as
.geodir_advice .geodir-i-text { display: none; }
May 1, 2017 at 4:15 pm #376408Thank you.
I did find that there was an empty line at the beginning of the text content that was causing that extra space on the detail page display.
So, now I see that each time some one puts a new line return it but a line divider on the output text. Is there a way to remove that? So there is no line divider inserted each time some one puts a return on the keyboard?
Thanks.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket