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 do I show data from gravity forms in my template? [closed]
- Show a different number of posts per page depending on context (e.g., homepage, search, archive)
- How to make sense of the active_plugins option_value to enable and disable certain plugins from the database?
- Updating WordPress – the best approach (updating wp core, plugins and db)
- Bad Request (Invalid Hostname) on working server, database problem
- Plugin Not Working, But Only On GoDaddy Hosted site
- WP get_permalink Return Wrong URL
- shortcode doesn’t work
- post expire after x days
- How extend shortcode default values for a plugin?
- Use plugin or custom post type for game score functionality
- Can I use a Shortcode output as an HTML attribute value?
- Bulk Image Uploader to create new post from each image [closed]
- Force [wordpress_social_login] shortcode to display where it is embedded [closed]
- Is the wordpress user-model changed in wpmu?
- Post query – show posts from specified day and month and whole years
- Where to hook my plugin’s action
- Building an email signup form. Where should the information be saved in the DB?
- Support for simultaneous editing
- View Private Published Page with URL Code (no login required)
- tag breaks shortcode output (other solutions don’t work)
- Solutions to repost categories into multisite blogs?
- add_shortcode is not working in plugin where others are working
- Some code in shortcode function being ignored
- Create a table with wordpress plugin boilerplate
- plugin shortcode output
- how to add text to posts from tags
- plugin code is pulling information from database in one instance and not in other. What is wrong?
- What is @Action in WordPress?
- Can I create a table on my DB without creating a plugin?
- How to get the first post and second post in a wordpress blog?
- Gathering and logging data from a plugin: how to do it without race conditions?
- How to pass the API key to the client from the database? [closed]
- How to have sample page for each new register users in a membership website
- using do_shortcode
- dbDelta not adding additional columns in plugin database update
- Modify page title and subtitle with a plugin
- Add Shortcode tag in Widget/Sidebar
- WPTouch – how to remove shortcodes or make shortcodes function
- How to edit a published post?
- Plugin has added weird data in wp_options, set to autoload
- Custom shortcode for displaying user based on a role parameter
- Get all the URLs of the pages that uses a specific shortcode
- how to execute some code after a post is published in WordPress [duplicate]
- WordPress plugin: efficient way to store large data
- WordPress plugin: Getting posts where checkbox selected
- How to auto strip hyperlinks & images in wordpress post
- how to check if a shortcode is used more than one time in the same post
- Is this plugin safe to run?
- WP Editor, save content and category on frontend
- Plugin for TinyMCE to create reference to other posts
- Rename Smart YouTube’s httpv back to http for all posts
- help intercepting save_post through plugin
- Managing and deleting transients with dynamically generated transient names
- Thumbnail image doesn’t show up in Shortcode output
- list of custom post by custom field in frontend
- get_post_meta shortcode returns empty field
- create pages automatically and dynamically in wordPress
- JS working when used normally but not in wordpress
- .com creates automated link in post
- shortcodes not working [dt_carousel & [dt_fancy_image
- add_action(‘the_content’, ‘my_plugin_content’) is null
- Programmatically generate new pages for a site based on page template and content elements accessed via DB
- Remove special characters from filenames
- how can i get records from wp_postmeta table using particular meta_key in database?
- wordpress Shortocode running twice?
- Shortcode in a blog post, footer and related products stop working
- Write mysql credentials in plugin
- Better code/text editing for posts and pages?
- SWF in wordpress post
- Collaborate on wordpress local website, share files via dropbox?
- Strip shortcode from excerpt [duplicate]
- Contents are missing but shown when switching to another theme in wordpress
- Notifications on WordPress Website [closed]
- My page content doesn’t show up
- Sell “create a post”, paid account for post creation
- Does anyone recognize these table names?
- Shortcode cannot parse attributes within double quotes. ” is becoming ” breaking my shortcode
- Edit a page/post DB data?