Text custom field

This topic contains 6 replies, has 3 voices, and was last updated by  Kiran 5 years, 5 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #456521

    Irene Nora Raizboim
    Free User
    Post count: 16

    Hi,
    In detail page, content column, I want to have an excerpt text (250 Characters), before the slider.

    1)I add a custom field in places>settings
    2)In pages>GD Details template, I add the gd_post_meta that I generated in setting, before the slider.

    I see the text area in the add listing, and in the backend of the detail page. However it doesn’t appear in the front end of the detail page. I didn’t choose the side bar detail page.

    Please, could you tell me, where am I wrong?

    #456524

    Irene Nora Raizboim
    Free User
    Post count: 16

    I am using Geodirectory V2, Supreme Theme V2 last updates. WP 4.9.8

    #456567

    Alex Rollin
    Moderator
    Post count: 27815

    You can paste your GD Detail page template content here and we can take a look.

    #456698

    Irene Nora Raizboim
    Free User
    Post count: 16

    Hi,
    Thanks for your reply.
    1)I found why the custom field was failing to show in the front end.
    I choose a wrong name for the custom field in the database . I call it excerpt, which is the name wp uses.
    I change it and now it works.

    2) I want to ask something else:
    For location I chose Buenos Aires City.
    However, is confusing because in the front end addresses, shows:
    Ex:
    Address: Dr. del Valle Ibarlucea y Magallanes
    Buenos Aires
    Buenos Aires
    Argentina
    Buenos Aires City is in the Province of Buenos Aires.

    The wright way is:
    Address: Dr. del Valle Ibarlucea y Magallanes
    Ciudad de Buenos Aires
    Provincia de Buenos Aires
    Argentina

    I there a way to customize this?
    Thanks in advance

    #456707

    Alex Rollin
    Moderator
    Post count: 27815

    The information comes from the API. If you change it the next person will get the result from the API again and so it goes.

    #456728

    Irene Nora Raizboim
    Free User
    Post count: 16
    This reply has been marked as private.
    #457192

    Kiran
    Moderator
    Post count: 7069

    Hello,

    Use following pattern in CPT Setting > Custom Field:

    
    
    .{3,}         3 characters minimum
    .{5,10}       5 to 10 characters
    .{0}|.{5,10}  Either 0 OR (5 to 10 chars)
    .{0}|.{8,}    Either 0 OR (8 chars minimum)
    .{0}|.{0,40}  Either 0 OR (40 chars maximum)

    Kiran

Viewing 7 posts - 1 through 7 (of 7 total)

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

Open Support Ticket