Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Fernando Briano

    (@fernandobt)

    As you can read in the documentation, you can do this with the customfield_display parameter:

    customfield_display – Display custom field(s). You can specify many fields to show, separating them with a coma. If you want to display just the value and not the name of the custom field, use customfield_display_name and set it to no. By default, the custom fields will show inside a div with a specific class: <div class="lcp-customfield">. You can customize this using the customfield_tag and customfield_class parameters to set a different tag (instead of the div) and a specific class (instead of lcp-customfield).

    Thread Starter mueedkh

    (@mueedkh)

    Hi, thanks for the response, I read that I tried by following the above instructions but I got error.Here is the tag “exact_location” that I want to render and want it to be display after the list titles. Kindly guide me step by step how can I do that?

    Plugin Author Fernando Briano

    (@fernandobt)

    You should use a shortcode similar to this:
    [catlist id=7 customfield_display="exact_location" customfield_display_name=no]

    Thread Starter mueedkh

    (@mueedkh)

    Thanks for the help it worked like a piece of cake, but I have lots of pages and can’t do it manually for each page, is there any way to put the code in plugin’s code file and it will show the fields automatically whenever or wherever we put the short-code?

    Plugin Author Fernando Briano

    (@fernandobt)

    Glad it worked!

    There is nothing automatic for this at the moment. It could be implemented if there’s enough demand for this on the options page.

    I’m marking the issue as resolved for now, since it fixed the original issue.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to add custom field text in list's title?’ is closed to new replies.