• Resolved sokoln

    (@sokoln)


    Hi!

    I’ve created the custom field for my posts via ACF. It generates different Font Awesome icon for each post. There is the page with posts which are displayed via LCP Plugin. If i display it through customfield_display, i can only see name of value in the form of text after my block. But i need that this value е.g “fa fa-home” was in the customfield_class.

    Can i do this?

Viewing 1 replies (of 1 total)
  • Plugin Contributor zymeth25

    (@zymeth25)

    Hi @sokoln

    Yes, you can do this with custom templates. It’s not possible to do this just with the shortcode. You will need something like [catlist template=mytemplate] and then in the template file you can put your customfields wherever you want.

Viewing 1 replies (of 1 total)

The topic ‘customfield_name as a customfield_class’ is closed to new replies.