Folowing on Milo’s comment, do_shortcode
expects the parameter to be exactly as if it is a shortcode inserted as part of the content, therefor your attempt to quote avatar_upload
is just wrong and it should be do_shortcode('[avatar_upload]');
In addition it is probably better to just avoid using do_shortcode
and call the relevant official API, if the plugin has one, directly, especially since shortcode might be processed differently based on context, in a way that might not match your needs.
Related Posts:
- All shortcodes not working on custom theme
- Plugin Handle URL With Custom Theme
- Where are theme codes located for WordPress?
- How to activate a plugin on the activation of a theme?
- Override/ignore CSS from active theme as not to interfere with my custom CSS
- Load CSS files in header of Bones theme?
- how to display a template.php in a shortcode
- Image path in childs theme
- do_shortcodes() isn’t working
- WP Customer Reviews call short code on another page [closed]
- How to maintain W3C standards compliance of a theme
- Difference between a theme and a plugin?
- Disable plugins on cron and ajax page
- enqueue script only if it is not already enqueue
- Is it good practice to remove redundant plugins and themes?
- Declare a function before plugin does on the theme functions.php file
- How to parse nested shortcodes?
- change plugin shortcode function [closed]
- Dynamic HTML not displaying at respective place
- Whats the difference between Page Builder Plugins and Theme Builder Softwares? [closed]
- How to use load_plugin_textdomain from within a theme
- Short code for Venues
- Theme and Plugins sharing common libraries
- Is there a quick way to inject i18n domain into theme/plugin files?
- How to avoid redefining requirejs in plugin when another plugin also uses requirejs
- Set WordPress Featured Image For All Post Slugs Matching Image File Name in Specified Directory
- Is there a reliable way to keep track of how long a WordPress theme has been active?
- Shortcode doesn’t work if I directly paste its function in a template file?
- add_action in functions.php, do_action in plugin?
- How can I list recent posts excerpts?
- Plugin Deactivate Self on Activation Errors
- How to generate CSS from a shortcode within a plugin
- How to remove html code in excel downloads using phpspreadsheet with wordpress plugins shortcode
- Two (or more) looks, with one set of content
- How to read individual user’s directory and display content to that specific user?
- How to put JQuery/Ajax inside shortcode?
- 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?
- WSOD after upgrading to 3.1
- Trouble with editing template for “List category posts” plugin
- WordPress function not being called from jQuery method
- Is there any kind of theme on WordPress to sell my own movies?
- Making sure that a plugin’s scripts and stylesheets are included for dynamicaly loaded content
- Is there any hook for theme activation ? or something similar?
- Use $_GET inside a shortcode print empty Array
- Render Modula Plugin Shortcode On Ajax Request
- Deactivate JS Script in Plugin Shortcode
- How to protect WordPress from security scanner [closed]
- Shortcode not working after move wordpress website files
- how can I query all wordpress users of a blog
- Plugin that provides the [edit] shortcode?
- Return multiple values in a shortcode attribute
- Is it possible not to load theme on a specific page in wordpress?
- How to change shortcode’s default theme?
- I receive taxonomy id
- Is there a way to convert shortcodes to html content?
- How to extract a .wp-env.json or composer.json containing plugin versions from a production website?
- How to include files relative to a file’s directory
- Loop returns the current page’s permalink and guid instead of the post in the loop
- Blocking Plugin Css to load custom in template directory
- How can I achieve this, using shortcodes
- After a manual update, themes and plugins that were installed (and still in the directory) are not being seen
- Display WordPress comments before the plugins?
- Mobilepress fails to translate short codes
- uncaught TypeError: Cannot read properties of null (reading ‘classList’) custom plugin
- Elementor Pro display featured image on section -> style -> image using shortcode
- How to override any plugin file in the child theme
- Replace old theme that understand old css (vcex_icon_box css_animation)
- Mobile Menu and Mobile Sidebar missing
- custom fields not displaying on wordpress site
- Shortcode show error while editing post
- How to store a custom theme and update it on other installations
- How to get a post views count using ‘WordPress popular posts’ plugin
- Get Shortcode output to database for static post_content
- Can’t add new plugin or themes on a wordpress multisite network from the primary site as administrator. Error: ERR_TOO_MANY_REDIRECTS
- Issue Saving Posts That Contain Shortcode
- Using Shortcode Result In Custom HTML Block (Using Google Sheet JQuery Result As NumScroller data-max)
- How to prevent redoing get_posts queries and make results available to other scripts?
- How to use plugin’s shortcode in custom design? [closed]
- Is it possible to disable a theme programmatically?
- Google trying to index child theme files
- WP Plugin CSS not being applied to page
- In the WordPress API is there a way to set the width of the post/page container
- Multiple calling javascript from shortcode in one page
- Find all strings between an enclosing shortcode
- What Are the Advantages of Using an mu-plugin
- Things that saved lose when logout
- Is there a function to search for a wildcard value when calling a shortcode?
- Multiple level shortcodes
- Automatic updates of plugins and themes outside of wordpress.org
- How to load a plugin when doing an Ajax call? [duplicate]
- Is it right way to create shortcode?
- Trying to override/intercept a PhotoMosaic gallery link in WordPress using jQuery
- Creating Features List in WordPress Post
- Why does theme need woocommerce to show images / content on front page?
- I am experiencing difficulty fulfilling client request
- My Blog page ( posts page ) theme isn’t changing with the new theme [closed]
- cURL External API request displays content above other content on page
- Issue with customizer and widget page
- WordPress menu dissapear when I add a parameter to custom post archive