I am a little confused as to your question. If you know how to create shortcodes with attributes, then I think the answer to your question is to simply output text with the correct attributes predefined.
For example, just add text into your custom column for the appropriate arguments, such as echo “[book id=” . $post->ID . “]”. The shortcode isn’t generated in any permanent way, it’s just a textual representation of the arguments required to display that specific information. In this example your shortcode would extract the ID argument and select the correct post via it’s ID.
Related Posts:
- How to add tab which is visible only in admin side of product in woocommerce? [closed]
- Optimize shortcode callbacks
- How would I create a plugin for my shortcodes?
- How to prevent newline from appearing in shortcode?
- Shortcode adding p and br tags
- Enqueue script only when shortcode is used, with WP Plugin Boilerplate
- Dashboard like meta boxes in my plugin – how to save their position and open/closed state?
- Save metabox with multiple checkbox array
- How do I make specific plugin functionality apply to different sites in a network?
- How to Use WordPress Color Picker API in Custom Post Type Metabox
- Shortcodes, output buffering, and WordPress functions
- Filter on the_content ignores shortcodes
- How to create Image gallery Metabox in wordpress [closed]
- stray elements
- Pass javascript result to shortcode executer function
- Conflicting save_post functions when passing the post id and saving custom meta boxes for different post types
- How to get shortcode to work inside a foreach loop called within a shortcode?
- Get returned variable from a function to add_shortcode function
- How to add meta boxes to the ‘Add new post’ screen?
- What is rich_editing?
- Why is my shortcode not working
- Rearranging Dashboard meta boxes with use of plugin/functions.php
- On plugin deactivation hide its shortcode
- Plugin admin page meta_box toggle and order state not saving
- Can’t get JS code to work with shortcode
- Best choice of options/settings framework for plugin/theme development
- Is it possible to delay execution of shortcode output callback?
- How do I write a shortcode that opens and closes?
- Admin auto-refresh is interfering with Firebug — how to prevent it?
- update post meta for checkbox in the admin when inserted in the front-end
- Gutenberg Block showing invalid content on edit
- Storing product price data in the database
- What is the best way to embed an JS App in a WordPress Page?
- What is the proper way to include Bootstrap when executing a shortcode
- Custom Taxonomy to dropdown box on adminside wordpress
- Secure Pages Best Practice
- Adding option to Gallery shortcode
- Create & Save multiple Meta-boxes
- Add a Save Button to Custom Meta Box [duplicate]
- Getting List of all registered Dashboard Widgets
- what is the difference between these phares?
- How to get Metabox custom field to show checked if value is updated using post meta query?
- How do I update a field of a meta box?
- Input value from metabox is not found in $_POST after post save
- Wrap text around shortcode
- wp_nonce_field displaying twice
- How to handle shortcodes through plugin
- How to add a widget to the post editing view?
- Adding admin menus to wordpress
- When echoing my own shortcode, it keeps adding a 1 at the end of my blogpost
- Create Widget or Enable Shortcodes in Sidebar
- Moving/dragging a metabox removes TinyMCE’s content
- Store custom meta box data as serialized array
- WP nonce field checkbox prints checked=’checked’ outside input field
- Shortcode not appearing when used as post content in wp_insert_post() or possibly, shortcode not being registered at all
- How to create ShortCode
- How to add custom post widgets as tags into wordpress
- add_filter img_caption_shortcode not implemented
- shortcode tags not working in do_shortcode
- How to insert HTML/CSS/JS into my iframe plugin?
- Passing values between enclosing and enclosed shortcodes
- Any way to update_post_meta with html content? It gets stripped and becomes empty
- Adjust query on single
- post content and shortcode content displaying out of order
- Can I attach a plugin via my add_filter callback contents?
- Font size of HTML content
- Cannot output plugin twice with shortcode
- How to call a function from a shortcode function in an oop plugin
- WP_List_Table Inside Metabox With Bulk Actions Not Working on Submit
- WPGut – Updating failed and shortcode?
- How to write a custom shortcode name book?
- How can we stop showing short code in create or edit post section
- Save meta box data from selected dropdown list in bbpress reply form
- Shortcode content is not showing. Only the [shortcode-tag] is showing
- WordPress Filesystem create CSS-File – get Shortcode ID for Name
- Including content into an add_shortcode() function
- How to save multiple values in custom post type from front end to back end
- add_meta_box does not display meta box in Admin
- Add WordPress Meta Box saved form input to WordPress RSS feed [duplicate]
- Pass javascript result to shortcode executer function
- set a custom post type to a taxonomy term programmatically in metabox
- Dynamically getting tags in post edit screen
- Shortcode from a plugin not working
- Which filter to use to pre-parse form elements, which are generated by plugin’s shortcode?
- Custom meta box in editor of custom post type not working
- How to show metabox just in post.php in admin?
- Is there a way to tell if a shorcode’s handler is being run before or after the content formatting filter?
- How to add conent (text) to Add New pages form of admin in WordPress
- Do a summary based on sections in a post
- Children Shortcodes?
- Wrapping shortcodes in another shortcode
- Get fields of a widget
- Display Data’s metabox in page
- Cannot echo a JS variable to a jQuery plugin coming from wp_localize_script
- Multi-part form and wp_redirect()
- Create pages for authors
- Developing a wordpress.com shortcode [closed]
- WordPress simple ‘Hello World’ plugin – problems
- Leveraging Core Functionality in Icon Upload Plugin [closed]
- Saving metabox updates causing fatal error