Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

Display meta data from a custom field within plugin Category Grid View Gallery

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).

Related Posts:

  1. wp_editor in add_meta_boxes does not show gallery
  2. Custom field for default gallery
  3. How to create a shortcode to print specific values stored in a post meta array?
  4. shortcode in a custom metabox
  5. IF Custom field value equals ZERO
  6. Insert wp gallery shortcode into custom textarea
  7. Retrieving custom field as shortcode
  8. Can I exclude a post by meta key using pre_get_posts function?
  9. Add custom fields to wp native gallery settings
  10. Custom post meta field effect on the performance on the post
  11. How to get custom post meta using REST API
  12. Difference between meta keys with _ and without _ [duplicate]
  13. Orderby meta_value only returns posts that have existing meta_key
  14. What is the index [0] for on post meta fields?
  15. What is “meta_input” parameter in wp_insert_post() used for?
  16. How to enable revisions for post meta data?
  17. Any way to add custom options to Gallery Settings?
  18. The “_encloseme” Meta-Key Conundrum
  19. Best way to programmatically remove a category/term from a post
  20. Using get_post_meta with new_to_publish
  21. Custom field metabox not showing in back-end
  22. So much data in postmeta
  23. explode array within shortcode
  24. Can I count the number of users matching a value in a multiple value key?
  25. Change behavior of “Insert into Post” based on attachment metadata
  26. When using add_post_meta and update_post_meta, is there any way to give the individual arrays keys?
  27. How to hide meta box values from custom fields list?
  28. Auto sort the wp-admin post list by a meta key
  29. get_post_meta() unserialize issue – returns boolean(false)
  30. What is the advantage of the wp_options design pattern?
  31. Storing meta fields multiple times OR once with multi dimensional array?
  32. Update all posts automatically when using post_meta
  33. Allow user to create instances of custom field
  34. display specific custom fields
  35. Add new “Insert Into Post” button with another function
  36. Is there a hook / action that is triggered when adding or removing a post thumbnail?
  37. Meta keywords and descriptions plugin for manually editing meta for each page/post
  38. passing argument to get_template_part() or a better way to code
  39. Is it possible to store arrays in a custom field?
  40. Get updated meta data after save_post hook
  41. Multiple meta values for same meta_key adding on “Preview Changes” hit but not on saving or updating post
  42. Save HTML formatted data to post meta using add_post_meta()
  43. importing data from non-wordpress mysql db
  44. Call a custom field in an audio shortcode?
  45. Create meta boxes that don’t show in custom fields
  46. Transients vs CRON +Custom Fields: Caching Data Per Post
  47. Unable to save datetime custom meta field using update_post_meta() function
  48. Up/Down voting system for WordPress
  49. post meta data clearing on autosave
  50. Create custom field on post draft or publish?
  51. Display info from custom fields in all images’ HTML
  52. Ordering posts by anniversary using only day and month
  53. get_post_meta fields don’t show up on posts page
  54. Update meta values with AJAX
  55. How to break meta values into different items and avoid duplicates?
  56. copy attachments to another post type and change attachment url
  57. Cannot edit post meta fields with rest API
  58. ajax delete value from custom field array
  59. Save attachment custom fields on front end
  60. How to use pagination with get_post_meta
  61. Copying Custom Meta Values from existing post to a duplicate post
  62. Add a post meta key and value only if it does not exist on the post
  63. Move value of one custom field to another
  64. Order posts according to user defined order for meta values?
  65. Displaying posts with only upcoming dates according their custom field date value
  66. Execute/Parse Shortcode in Native WordPress Custom Field Value Field
  67. Custom fields to save multiple values
  68. Custom fields: In what order are they saved into the DB?
  69. Function to change meta value in database for each post
  70. Get a post_id where meta_value equals something in a serialized meta_value field
  71. Get aggregate list of all custom fields for entire blog
  72. Transition from (classical) serialized custom meta field to (gutenberg) rest enabled meta
  73. Unable to show ACF’s Image Custom Field properly in Genesis Framework [closed]
  74. Custom field value based on other custom field values
  75. wp_handle_upload error “Specified file failed upload test” but still creates attachment?
  76. How to save a ToggleControl value in a meta field?
  77. Which is best in the following scenario : post_meta vs custom table vs parent/child posts
  78. Saving custom image meta fields
  79. Author Page Custom Query WHERE author OR [post meta value] OR [post meta value]
  80. How to display Meta Field Value?
  81. MySQL query to set wp_postmeta using term_taxonomy_id value
  82. How to Validate Post Meta type/extension (Video File Image File etc)
  83. Get all meta keys assigned to a post type
  84. using multiple meta_key and meta_value in query_posts
  85. Custom Meta Box not Saving in Posts with Gutenberg Editor
  86. Adding custom fields (post meta) before/during wp_insert_post()
  87. Combine multiple custom field values into single value
  88. How can I sort homepage by a meta value?
  89. Get specific custom field keys from a post and put into an array
  90. How do I use wp_query for WordPress search?
  91. Nav Menu – Add class based on meta keys
  92. How to query posts with certain custom meta data, and output Post data
  93. MySQL Query that looks for post with Custom Field, then changes Category
  94. ACF: How to get the full field name (meta_key) by a field key?
  95. Audio player shortcode not showing up when using variable
  96. How to wrap meta values seperated by comma in ? [closed]
  97. Create WordPress shortcode with php code inside
  98. Bulk remove post meta
  99. post meta getting deleted on save
  100. How to create html block to display extra information on woocommerce single product page
Categories custom-field Tags custom-field, gallery, post-meta, shortcode
Widget Development – Displaying dropdown content
WP white screen of death after duping a site that works fine on same server

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress