It’s an OK practice but in some cases could be turned to a worst case scenario!
Using shortcodes to generate blocks of HTML is the reason they exist, especially when you need some dynamic HTML generation (using attributes in the shortcode).
In conclusion, a normal shortcode usage is totally OK, however you should avoid putting hundreds of shortcodes in one page, otherwise it causes poor performance on the website.
Related Posts:
- Shortcode display outside the div
- Redirect to another page using contact form 7? [closed]
- Shortcode Attributes to Return different $_POST
- strange shortcode error: does shortcodes requires any dependency?
- Shortcode cannot parse attributes within double quotes. ” is becoming ” breaking my shortcode
- Custom media upload content for inserting custom post shortcode
- Checking if an attribute exists in a shortcode
- Customizing subject in comment notification e-mails
- enqueue script only if it is not already enqueue
- Common functionality between my own plugins
- How to handel multiple checkbox field in the admin settings page with Settings API
- wp_insert_user – how to send verification email before logging in
- Editor access to plugin settings
- How To Ignore a Filter On Applying Filter the Content In a Function
- Saving Plugin settings to the database
- Execute a function using ajax
- Pass $this to function nested in another public function of the same class
- shortcode doesn’t work
- Use functionality of 2 wordpress plugins
- What is the function to get plugin base url in multisite?
- Fatal error: Class not found in
- How to add inline css/js inside a shortcode
- Override the core function locate_template
- Can wp_script_is used in pluginA check if a script is being enqueued/registered from pluginB?
- Trying to count the total number of paragraphs inside a blog article
- The Point of Using apply_filters()
- How to include code into functions.php file via a plugin
- May i Use ShortCode in Template?
- WordPress Plugin Page is Loading in Admin Content Container Instead of Separate Page
- plugin development: problem with functions
- Prevent shortcode from being wrapped in tags
- Input with spaces in Shortcode attributes overwritten by defaults
- Allow users of my plugin to define their own shortcode rather than use mine?
- Edit Yoast SEO breadcrumbs output [closed]
- Snippets: is it better to add them in functions.php or make site-specific plugins?
- Display post lists in 2nd paragraph
- Using a post-signup hook to get user details
- Making a Template for a CPT created by a plugin
- Single API call exposed via shortcode with params
- Nested shortcode functions accessing variable
- Calling an attribute from a plugin shortcode
- Creating shortcodes in plugin
- How to create a custom shortcode based on the layout?
- WordPress get_avatar function not correct working
- Which file of wordpress manage plugins functionalities?
- Inject HTML meta tag inside wordpress tag using add_shortcode
- Create shortcode to echo javascript
- List the authors that have written posts in a category
- Namespaced shortcode?
- Check if variable is set in filter
- Why am I unable to load scripts in head in plugin?
- How to add a dvi tag to a shortcode then change a generated text using jQuery
- Return multiple values in a shortcode attribute
- IF condition based on wp_remote_get output
- Plugin onclick button activate other plugin
- How to use template inside plugin shortcode with variables for big HTML code
- How to access OOP plugin function inside themes or other plugin
- Add the_post_thumbnail_url to a shortcode in function.php
- How to rewrite URL and get the values?
- Different registration form for different roles
- How can i list random author?
- Adding a Tag Parameter / Filter to My Shortcode
- More gentle way to hook WordPress custom url
- Elementor Pro display featured image on section -> style -> image using shortcode
- How to upload large media file in chunks, without any plugin?
- How to get current cart values using WC_Shortcodes?
- Error using wordpress functions inside a plugin class
- Allow a particular user to access a particular plugin?
- How to copy the all WordPress media items to another custom plugin folder?
- Cookie value changes back to previous value after changing
- Fatal error “Call to undefined function is_plugin_active” each time the plugin is activated
- Custom Plugin: How to Include Install Buttons of other 3rd Party Plugins?
- The function called on the wp head hook becomes null
- Why is my shortcode not working?
- Get Shortcode output to database for static post_content
- working code, not working – Plugin Dev
- how override a define
- WP Plugin CSS not being applied to page
- Modify Plugin PHP Class in Child Theme – Correct Method
- register_activation_hook doesn’t fire at all
- My ajax request don´t work and return 0
- plugin not hooking to my custom hook
- Populate select option with JSON file
- Can plugin automatically update if i hide the update notification?
- Find all strings between an enclosing shortcode
- Why isn’t my plugin seeing other classes?
- how to create table during plugin installation in side a class
- shortcode which is introduced into entry the blog, and appears in side bar
- How to add submenu to WordPress plugin in the same Directory of main Plugin?
- Posting code inside the post instead of in the template file using shortcode
- Why function hooked using object are executing at all time?
- Shortcode registered from a plugin not recognized
- How to Overwrite validate_plugin function
- Can anyone tell me why I can’t edit a plugin when it is installed without having to re-install?
- Pass strings to plugin function [closed]
- How use Dynamic hyperlink on each wordpress post?
- Any way to hook into WP after a page displays?
- Integrate Razorpay quick payments plugin with contact form7 plugin
- Send email notification when meet the condition
- wp_enqueue_script doesn’t load JS in plugin