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
- How to get next day date of a specific day
- Demystifying and understanding shortcode nomenclature
- How to add class in plugin only for network site?
- WordPress Plugin Page is Loading in Admin Content Container Instead of Separate Page
- Any Short code Availble for Get Post List With Thumbnail Plugin?
- plugin development: problem with functions
- Where to call add_shortcode function in WordPress Plugin Boilerplate?
- Prevent shortcode from being wrapped in tags
- Input with spaces in Shortcode attributes overwritten by defaults
- wordpress plugin is not activating from widget
- Allow users of my plugin to define their own shortcode rather than use mine?
- Edit Yoast SEO breadcrumbs output [closed]
- Adding Shortcode to Text Widget
- 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
- Conditional attributes and logic per product category
- 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
- Difference and examples of esc_attr__() and esc_attr_e()
- Create shortcode to echo javascript
- What is @Action in WordPress?
- List the authors that have written posts in a category
- Namespaced shortcode?
- Check if variable is set in filter
- execute function after one completed
- How can I run a custom shortcode function on a live site and only run if the viewer is a specific machine?
- Why am I unable to load scripts in head in plugin?
- WordPress checkbox and Illegal string offset
- How to add a dvi tag to a shortcode then change a generated text using jQuery
- plugins_url() works everywhere but wp_reqister_script()
- 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?
- My widget won’t update its values when save is clicked
- Different registration form for different roles
- How can i listing current category and Featured Category post list?
- How can i list random author?
- Adding a Tag Parameter / Filter to My Shortcode
- More gentle way to hook WordPress custom url
- How to add custom function to pluggable.php
- grab or load text on demand
- auto activate plugin when theme is active
- Elementor Pro display featured image on section -> style -> image using shortcode
- Checkbox show / hide output result
- How to keep plugin (media-sync) running even the tab is closed?
- Where do I put the code snippets I found here or somewhere else on the web?
- 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?
- Thumbnail image doesn’t show up in Shortcode output
- list of custom post by custom field in frontend
- How to copy the all WordPress media items to another custom plugin folder?
- Cookie value changes back to previous value after changing
- Is there any way to sync Facebook Comments and with comments on WordPress website?
- Fatal error “Call to undefined function is_plugin_active” each time the plugin is activated
- Shortcode do not return the right data in post
- function post to trash problem
- How to call function in WordPress on button click?
- Custom Plugin: How to Include Install Buttons of other 3rd Party Plugins?
- The function called on the wp head hook becomes null
- Hide content for specific users with id
- adding dynamic/multiple slug values in ‘option_none_value’
- 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
- Is admin section completely customizable in terms of styling?
- 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
- WordPress environment not loading properly
- WordPress Add advertising ads befor and after content with periority [closed]
- 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
- Hook into install email
- wordpress Shortocode running twice?
- Shortcode in a blog post, footer and related products stop working