To answer the heart of your question: no, WordPress does not have a way of referencing posts by ID/slug/etc. within the post content. In fact, probably the recommended way to do that is with a…shortcode! Even that wouldn’t help you in this case, though, since you can’t nest shortcodes without a plugin.
So I’d recommend you use your own shortcode, or plug theirs if it’s a pluggable function. Simply replacing their URL argument with a get_permalink()
that accepts an ID from the shortcode is probably all that’s required.
Related Posts:
- Colon is Missing In My Website Url in WordPress Shortcode
- current_shortcode() – detect currently used shortcode
- Get shortcode name from within it’s callback function? [duplicate]
- Tinymce – How to hook before or after live shortcodes rendering?
- How to customize a shortcode using the customizer
- Stray closing paragraph tag when using shortcodes
- The result of a shortcode appear BEFORE page content
- Getting the count of a shortcode that is nested
- Getting attribute value from shortcode
- Get shortcode attributes outside shortcode function
- Get Shortcode Attributes
- Problem with email_exists in shortcode
- Shortcode doesn’t work with classes
- Alternate text if shortcode returns no data
- sql query in shortcode not working
- Video size and border radius using a shortcode
- Adding shortcode to the main menu
- Inserting PHP inside do_shortcode
- How to use div class between the shortcode variable?
- wp_editor returns the shortcode and not render the output
- Prevent wordpress from rendering shortcode in post
- Error do_shortcode In WooCommerce Template
- Embedding Instagram via shortcode doesn’t work as advertised in official docs
- Execute shortcode only once in the page
- Can a shortcode return its own name?
- Extra paragraph tags in an enclosing shortcode
- Nesting shortcodes results in the inner shortcode being placed AFTER outer shortcode
- i have create shortcode that work but not perfect coding
- WordPress Vue Js Shortcodes
- Shortcode multiple values
- menu item to display the most recent post
- how to format / execute post content and shortcode?
- Documentation for adding a tinyMCE view for visual live preview of custom shortcode?
- Gravity forms – get shortcode attribute from post content
- How to get the $atts of a shortcode
- Getting the count of a shortcode that is nested
- do_shortcode via ajax
- How to list users by custom field?
- Single post content custom order
- Parse Error: unexpected ‘}’ while creating Shortcode with Loop [closed]
- Code is providing a row of data but not formatting it as table
- How can I execute shortcode outside the loop?
- Gutenberg Shortcode Fail
- How to add “get_theme_mod” inside a shortcode?
- passing markup thought a shortcode attribute
- Echoing Shortcode content inside the loop
- How to have shortcode autofilling the content if the attribution is specified?
- Shortcode argument multiple values
- How can I collect and output all attributes of all executed ShortCodes?
- Do I need to escape number in this shortcode function?
- Substite Category Slug in a Shortcode
- add new attributes into existing shortcodes
- Anchor text in Short code →
- Need 2 separate elements of add_shortcode for presentation
- Why ‘do_shortcode’ doesn’t work in a REST request?
- Basic custom Shortcode not working
- Theme Icons not visible on http://domain.com, works on http://ipaddress
- Shortcode to return an image based on post taxonomy
- Add variable in between do_shortcode
- How to show an image via shortcode
- How to put custom admin setting field into a shortcode
- shortcode – I need to throw a message or load a different page
- How to add site tags in alphabetical order to shortcode?
- WordPress post shortcode pagination not working
- Using shortcodes in the Site Title
- Shortcode do not return a value
- Problem parsing long parameter in shortcode
- How to use multiple (or array) values in $content of shortcode?
- How to display content if user meta data isn’t empty with shortcode
- How to display total user count by specific role in WordPress as statistics?
- User name in referral URLs
- Is there any way to set the Featured image in wordpress post editor, using a Getty images embed code
- How to style inline code in block editor?
- Is it possible to capture the content outside/between shortcodes?
- Add Style to text in a PHP block
- How I can add placeholder in shortcode
- I’m using rtMedia and Youzer. Can Shortcodes be used to display a video gallery?
- Help with a function to create a shortcode
- How to add new images to existing shortcode configuration?
- Content included from pagination
- Term Description Echo or Return – display problems
- Shortcode with multiple paramaters
- Running Filter or Shortcode Before Query Prevents Excerpt from Showing
- Replace custom gallery shortcode with default gallery shortcode
- Custom shortcode is not working inside tabs
- How to echo an array returned by a function
- Nested WordPress Shortcodes of Different Types
- Creating custom shortcode
- What is short code for following?
- Created a shortcode, using it twice (but differently) on a page but its just outputting the same one twice
- Access Shortcode in ajax code?
- Automate post creation in wordpress
- WP_Editor Shortcode Issue
- Shortcode not working in custom post types
- Shortcode or placeholder for theme options page?
- How to print [embed] code in wordpress [duplicate]
- Is it possible to change a shortcode parameter based on a media query?
- IFrame Shortcode plugin – issue
- How to call shortcode on button click
- How can you alter the name of attributes in a shortcode?