Why don’t you use something like:
Bla bla bla [shortcode postID="100" content="Special bla bla"] Bla bla
and then retrieve your content in your shortcode function.
extract( shortcode_atts( array( 'content' => '', ), $attr ) ); echo 'special content is: '.$content;
Related Posts:
- How To Ignore a Filter On Applying Filter the Content In a Function
- Dynamic HTML not displaying at respective place
- Get the last post ID
- how to show database content in wordpress post
- Unable to add TAB character to post?
- Redirect to another page using contact form 7? [closed]
- Problem of encoding characters (apostrophes) in my posts publications
- Making my plugin create a page?
- Get post content from outside the loop with plugin shortcode usability
- How to relate 3 wordpress components with each other (Create database relationships)
- Plugin for visitors to edit content without logging in? [closed]
- Get Shortcode output to database for static post_content
- Is it possible to get a shortcode generated by a plugin, then, using a function, create a new post using that shortcode?
- How to display single arbitrary facebook post with a shortcode?
- How to use shortcode of any plugin to show it visually where i want?
- Posts are deleted everyday at night
- Insert data in custom table during new post creation
- What is the correct method for updating post content from a plugin?
- Embedding BitBucket Code in Posting
- Next and Previous Pagination button not displaying in WordPress
- Distribute post content through several divs [closed]
- How to generate CSS from a shortcode within a plugin
- Next and/or previous post content
- Add htmlentities and/or shortcode into data-attributes
- How can i list random post from multiple category?
- Storing Options in a Shortcode
- Building an email signup form. Where should the information be saved in the DB?
- Support for simultaneous editing
- Saving Custom Post types and fields to a custom table
- Retrieving a Value from a wp-database
- How to get 1 or 2 specific posts on top of my wordpress blog?
- Custom CSS for plugin form
- Portfolio + Blog: multisite or plugin?
- Any Short code Availble for Get Post List With Thumbnail Plugin?
- Need help restoring my WordPress blog
- Can we use a webservice with WordPress?
- Where to call add_shortcode function in WordPress Plugin Boilerplate?
- WP plugins for building a database?
- Show history of post revisions on front end
- Where does WordPress store plugin (enabled/disabled) status for multisite?
- Accessing post’s meta data based on user’s click of a post
- Prevent shortcode from being wrapped in tags
- How to remove html code in excel downloads using phpspreadsheet with wordpress plugins shortcode
- Plugin echos text from shortcode function in gutenberg page editor
- Shortcode based chart plugin
- Collapse content [closed]
- View Private Published Page with URL Code (no login required)
- When to use action hooks and plugins
- With W3 Total Cache when I publish a post it does not appear in the homepage. Only if i purge all cache [closed]
- Can I use a plugin for a singular page on my website?
- Plugin shortcodes not working in custom theme
- Plugin Options Not Saving to Database in WP 4.5
- Doubt using $wpbd->get_col for a single column
- tag breaks shortcode output (other solutions don’t work)
- The problem with WordPress Importer
- Input with spaces in Shortcode attributes overwritten by defaults
- Cron job not firing
- Access WordPress database outside of WordPress
- How to create custom tables in WordPress using my own plugin?
- Solutions to repost categories into multisite blogs?
- How can I create a custom shortcode that will return a custom post type by ID?
- How to enable qTranslate languages tabs in custom plugin page
- How do I “get the next 10 posts after post_id == x”?
- Hiding posts – WP Hide Post not working
- How to access data in wordpress database externally using php
- Plugin Handle URL With Custom Theme
- Allow users of my plugin to define their own shortcode rather than use mine?
- Is it possible to create Custom Post plug-in?
- Adding Shortcode to Text Widget
- How to get rid of shortcodes in post content once and for all
- submit posts by unregistered users in wordpress
- WordPress Settings Lost After Site Migration
- How to put JQuery/Ajax inside shortcode?
- Calendar Solution: Handling upcoming Dates with Posts?
- wordpress prevent multiple shortcodes
- get_post_type on post.php
- Is there an easy way to flag posts in the admin area?
- Help With MySQL to WPDB Query Conversion
- Snippets: is it better to add them in functions.php or make site-specific plugins?
- Can someone please tell me what is wrong with my plugin?
- finding whether request is for post, and post id
- Trouble with editing template for “List category posts” plugin
- custom user tables supported in SharDB plugin?
- Any built-in function to associate a post to category through a plugin?
- WordPress Shortcode to get URL Parameters $_GET[‘name’] redirects for no reason at all
- How to hide some section in WordPress under Post
- Display post lists in 2nd paragraph
- WordPress function not being called from jQuery method
- DROP TABLE with uninstall hook not working
- Can’t delete Draft Post [closed]
- How to check if tables in WordPress still exists after activations
- how to oauth1 Wp plug-in revoke/reset.?
- AddToAny shortcode in the loop
- Matching Chapters to a Custom posts [closed]
- WordPress comments not appearing in blog posts, likely because of Redux template. Could I fix this with a plugin that adds a comment form as a block? [closed]
- How to add an automatic refresh in WordPress for a Page/Post or an embedded OneDrive/Excel HTML Code?
- Prevent duplicate records in plugin table
- How to fix wrong attribute error for Visual Composer Grid Builder?
- WordPress display breadcrumbs using Yoast plugin [closed]
- Outbound link autometic converted into linkdirect , and not opening