How to separate custom fields?
-
I love this plugin, or I will soon, I hope. It was going to solve all my problems and bring about world peace, until I got to the part of how custom fields display. Here’s my code:
[catlist name=basic-listings template=default title_tag=h4 title_class=basic_title template=listbasic customfield_orderby=company_sort order=asc customfield_display="address_1,city,state_province,zip,phone" customfield_display_name="no"]
The display looks like
COMPANY NAME
225 W. Main St.ChicagoIL60606(123) 456-7890I need it to look like
COMPANY NAME
225 W. Main St.
Chicago IL 60606
(123) 456-7890After reading and re-reading the instructions and searching the support forum and Stack Exchange, I’m forced to the conclusion that it isn’t possible. So. Very. Disappointed…
I hope I’m missing something, but you can’t display custom fields with separate customfield_display statements, is that right? I tried that, and only the first one is read. It has to be a comma-separated list within one customfield_display, but then what? The instructions say “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),” but is there a point to having the custom fields all run together inside a paragraph instead of a div?
I wondered about a custom template, but I looked how custom fields are handled in default.php, and couldn’t make sense of it. Leaving the labels on just adds to the mush.
Is there a fix in the works or a clever workaround? Thanks!
- The topic ‘How to separate custom fields?’ is closed to new replies.