Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.