WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using this plugin, which creates a gallery of posts, fetching a thumbnail and the titles of the posts displayed in it.

I have enabled Custom Fields, and have created (and filled in values) a field for the posts I want displayed in the gallery. I know that I have to put <?php the_meta(); ?> within the loop for the meta data from the fields to show, which I have done and it works.

Now what I am wondering is: Can I somehow show the meta data from the fields within the plugin? Specifically, beneath (or instead of) the post title which the plugin already fetches and displays?

share|improve this question
up vote 0 down vote accepted

You should be able to pass the name of the custom field in the shortcode:

[cgview title="fieldname"]

Not tested; I just took a look at the source code (and now my eyes hurt).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.