If I understand your question correctly, you want to be able to get the parameter from the url, add it to the shortcode so you can add the parameter to the content.
See if this works:
add_shortcode('name', 'get_name');
function get_name() {
return $_GET['name'];
}
In the wordpress backend editor you would have something like:
Hello [name],
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
Related Posts:
- How to Get a part of URL and put in shortcode?
- Adding Author URL to Nav Menu via Shortcode
- User name in referral URLs
- How do I point bloginfo(‘stylesheet_directory’) to my parent theme?
- How to display a page dependent on a url parameter supplied by a form/button page?
- Add an access code form to call a unique page based on page without registration
- wordpress shortcode url decode non Latin character
- Enqueue Scripts / Styles when shortcode is present
- Pass boolean value in shortcode
- Encode text string being appended as query to URL [closed]
- Combining shortcode and get_template_part
- Escaping quotes from shortcode attributes
- Shortcode output always showing at top of page
- How to detect if a Shortcode is being called on a page?
- How to get current page title inside a page itself in a shortcode and in page content
- Short code to display a loop
- shortcode inside another shortcode
- Need MySQL Query or WP-CLI command to updates old URLs in Shortcodes [closed]
- Custom Shortcode AJAX 400 Bad Request
- WordPress core responsive video not working with shortcode
- shortcode to create dynamic dropdown box form shortcode attributes
- conditional shortcode not working
- How do I add my own custom shortcodes?
- Can’t seem to get [shortcode]s to work
- Wraping $content into link with shortcodes
- nested Shortcode doesn’t work
- TinyMCE get selected text and underlying HTML
- Remove and restore one shortcode
- Rewriting WordPress Gallery Shortcode with Bootstrap Carousel
- other shortcodes in Contact form 7 MAILS [closed]
- Remove empty p-Tags in Shortcode content before non p-Tags
- What is a short code?
- Wrap shortcode inside custom block
- Instagram URL is converted into oEmbed
- Shortcode with no attribute but has value
- Remove wpautop from specific shortcodes only
- Creating a shortcode based on users preferences
- Get a post’s thumbnail url or display default image in shortcode
- basic shortcode – Why 1st paragraph not wrapped in p tag, but 2nd is
- unwanted P tags in shortcode, delay wpautop not working
- Shortcodes and a list of IDs?
- Shortcode adding plugin output before post, instead of inline [duplicate]
- Convert HTML Script to Shortcode [closed]
- Registration Form Shortcode
- Include tags in the body of a post
- no content after shortcode
- Remove shortcodes that are different (but same pattern) in each post
- Place a URL parameter value inside a WordPress short code
- Shortcodes in excerpts returning empty string
- Scripts for shortcode: concatenate or load separately? [closed]
- Print shortcode in defined area
- WordPress shortcodes are not working
- Conditionally Loading JavaScript/CSS for Shortcodes
- How to use/enable Pagination?
- Wrap Shortcodes and wpautop
- Shortcode called twice
- Favorite websites with shortened hyperlinks
- Best way to find all shortcodes that come with WordPress
- Using Variables in Shortcodes
- Add JS in footer via shortcode?
- Shortcode syntax errors
- Passing variable in nested shortcodes
- Shortcode Always Displays Default Attribute Value
- WordPress Shortcode / Only works in classic editor, gutenberg error / invalid json response
- Do shortcode in template file
- How do I fit a function inside an opening and closing do_shortcode
- Pass instance number to shortcode child
- How to make shortcode which returns HTML?
- Add shortcode within the_content()
- How to create a custom shortcode for custom login form?
- Pass a comma separated shortcode attribute to a function
- Enclosing Shortcode not working in a Template
- how to write short code in word press
- hard code shortcode only on specific category
- pass complex json as shortcode parameter
- How to include shortcodes and pdfs in WordPress search without plugin?
- How to embeded shortcode for another website
- Gutenberg Shortcode will turn html to html entity
- Need help in setting up a transient using API Key and if possible updating it in the ACF field
- the_content() not showing the content in good order (with a shortcode)
- Execute shortcode in backend
- How to Enable embedding WordPress default gallery in comments?
- Print shortcode according to site language
- Remove a short code and update it’s content (AJAX)
- create a shortcode for embedding google map in a page
- Timber – don’t display shortcode
- Use ACF array values in shortcode
- php in a shortcode
- Pull in excerpt with shortcode
- Using ACF Custom Field value in a URL with do_shortcode() [closed]
- WordPress core playlist function not showing artist and album info
- Which method to use when deleting posts from the front-end
- short code is not working in in custom wordpress theme it’s only working in default theme
- Display post_meta in Shortcode
- Gallery Shortcode: using size=”full” doesn’t call the actual thumbnail image size
- loop on page makes shortcode fail
- WordPress Shortcode loads at the top
- php code to shortcode [duplicate]
- Shortcode leads to white screen [closed]
- How to stop an image link continuing to link adjacent text from a shortcode?