you pass the variable using normal php string concatenation:
<?php echo do_shortcode('[jj-ngg-image-list html_id="about-image-list" gallery="' . $image_gallery . '" max_pictures="4" width="160" height="150" orientation="horizontal"]'); ?>
Related Posts:
- Output Custom Field value to shortcode
- Running a Gallery Shortcode in a Custom Fields Widget
- explode array within shortcode
- Change behavior of “Insert into Post” based on attachment metadata
- Add new “Insert Into Post” button with another function
- Call a custom field in an audio shortcode?
- wp_editor in add_meta_boxes does not show gallery
- Custom field for default gallery
- Execute/Parse Shortcode in Native WordPress Custom Field Value Field
- nextgen gallery: how to get picture url by gallery id
- Audio player shortcode not showing up when using variable
- Create WordPress shortcode with php code inside
- Display WP-Types custom fields in post [closed]
- Should custom meta boxes be able to output shortcodes the same as WordPress’ native post editor?
- Shortcode To Display Post Custom Field Value Inside Excerpt
- modify wordpress caption shortcode
- How to create a shortcode to print specific values stored in a post meta array?
- Insert a custom field into a shortcode and use it in post(s)
- Is it possible to create a post from an NextGen Gallery image?
- Custom wysiwyg editor doesn’t execute shortcodes?
- Custom Field 101
- shortcode in a custom metabox
- Can data from a Custom Field data be used by a shortcode on a per page/post basis?
- Shortcode To Display Post Custom Field Value in Post Title, Post Content
- custom field (video/audio url) and embed functionality
- IF Custom field value equals ZERO
- Display MP3 as media using an URL from a custom field
- Enable a short code in the custom meta field
- do_shortcode close
- Plugin or shortcode for ISBN number?
- How to pass custom field value to shortcode?
- Replacing custom field with shortcode
- Shortcode for Custom Field of Media Attachment (to use with Featured Images)
- how can i show WordPress custom field data to my short code?
- Search fails when using the radio buttons
- Create Shortcode shows only posts with custom_field meta
- PHP and Shortcode Combination
- Stop truncation of shortcodes in custom text fields?
- Retrieving Advanced Custom Field within Shortcode Function [closed]
- Using ACF Custom Field value in a URL with do_shortcode() [closed]
- Custom field in a shortcode?
- Display meta data from a custom field within plugin Category Grid View Gallery
- Insert wp gallery shortcode into custom textarea
- Displaying shortcode content inside custom field without images
- Parse Shortcodes in Theme’s Custom Field?
- Insert shortcode before and after a list automatically
- Retrieving custom field as shortcode
- Custom fields doesnt work well with any postTAB plugin
- How to include custom field in shortcode (do_shortcode) in theme file
- Shortcode not picking up custom field
- get_the_ID() retrieves same ID on Gutenberg’s Query Loop
- Sort custom fields in admin by last field added
- Display custom fields only if it has a value
- Custom fields and auto save
- Save values generated via API as custom meta fields
- Extra text’n’image field in a page
- Ordering posts by custom fields
- Get first URL from custom field, download and set as featured image on post publish
- Query postmeta values, and return multiple post_titles for common meta value
- Query Custom Fields in Searchform
- Make custom user_meta as permalink for post
- Creating Structured Documents (books) in WordPress?
- Term specific featured post on taxonomy archive pages
- Custom Info Box at end of posts?
- Filter query based on date in custom field
- Populate a select box with data stored in the database?
- Custom Post Field -> Returning only the word “array”
- Register author, facebook connect, publish posts from front end
- How do I use foreach to get content from a custom-field in multiple posts?
- Custom field and category query
- Why is wp_list_pages altering $post->ID of the page?
- Empty the_content for all posts
- When post is updated, custom metadata in text area field is overwritten
- Updating custom fields with external data
- Display Child Page with custom fields within Parent Page
- How to disable ‘enclosure’ custom field link from appearing in the post
- Thirtieth century date for a post
- How do you turn a custom field’s value into a permalink for that post?
- WordPress taxonomy child image
- Call the latest posts from a custom field group to be displayed on front-page
- Create custom fields/meta data gender+country – radiobuttons and dropdown on register screen for these fields
- Permalink structure depending on custom field
- Add nofollow to custom field link and make domain exceptions?
- change attachment custom field onChange event
- Wrap this custom field with hyperlink link
- Add custom field to post with some part of url as value
- Paying to Access Custom Fields Per Post
- Custom Meta Boxes and Fields for WordPress: Change directory upload based on user-edit page
- How to diplay a div only if at least one author custom profile field is filled?
- Set custom field value when reaching expiration date
- Get custom fields when hover link of post
- Filter and display a specific custom field value [closed]
- WP_query returns error when used for custom widget
- Adding custom fields to images
- How to save dynamically generated value in post type?
- Is it possible in WordPress
- Change path to child of page when uploading image via custom field
- How can I hide my section title if there is no data in custom fields?
- Set Value To Custom Field While Submit
- Saving metadata of related post on save_post