Display extra field
-
Hi,
A couple of day now I’ve been looking for a way to display a custom field in the shortcode, without succes. I know a bit about programming, but I’m not a programmer. Is there somebody who can help me out with this?What I want is the following:
I’ve added custom field (which is named ‘land’) on top of some posts and they are displayed as I want it to display on the category page:
(the field just above the title displays ‘Marokko – Westelijke Sahara’) Which is what I also want to display in the ‘display-posts-shortcode’.In this page I’ve added this display-posts-shortcode shortcode
[display-posts field=locatie category="Marokko, Westelijke Sahara" posts_per_page="-1" include_date="true" order="DESC" orderby="date" image_size="thumbnail" include_excerpt="true" wrapper="div" date_format="l, j F Y"]
.
I want the text ‘Marokko – Westelijke Sahara’ to be displayd on top of the title as well. I hope this ia possible…As I said, I know a bit about programming, but I’m not a programmer. Is there somebody who can help me out with this? What should I do to solve this?
Jeroen
- The topic ‘Display extra field’ is closed to new replies.