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
  • Author
    Posts
  • #371604

    rigots
    Lifetime Member
    Post count: 275

    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.

    #371636

    Guust
    Moderator
    Post count: 29970

    You should use an HTML field and drag and drop it to the bottom of the list of custom fields.
    Thanks

    #371779

    rigots
    Lifetime Member
    Post count: 275
    This reply has been marked as private.
    #371780

    rigots
    Lifetime Member
    Post count: 275
    This reply has been marked as private.
    #371834

    Guust
    Moderator
    Post count: 29970

    To 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

    #371847

    rigots
    Lifetime Member
    Post count: 275

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

    #371861

    Guust
    Moderator
    Post count: 29970

    Thanks for letting us know.
    Enjoy GD 🙂

    #375629

    rigots
    Lifetime Member
    Post count: 275

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

    #375632

    rigots
    Lifetime Member
    Post count: 275
    This reply has been marked as private.
    #375705

    Guust
    Moderator
    Post count: 29970

    That’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/#custom

    Thanks

    #375785

    rigots
    Lifetime Member
    Post count: 275

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

    #375866

    Guust
    Moderator
    Post count: 29970

    A 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.
    Thanks

    #376115

    rigots
    Lifetime Member
    Post count: 275

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

    #376175

    Guust
    Moderator
    Post count: 29970

    That space comes from an empty line:

    
    
    <div class="sqs-block-content">
    <p>&nbsp;</p>
    <p>2017 Catering and Events Trends</p>
    <p>&nbsp;</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;
    }
    #376408

    rigots
    Lifetime Member
    Post count: 275

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

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

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount