Probably you need to create a shortcode with parameters. You should have different parameters for font size, color, bold, underline or anything else. The user should insert a value for each of these parameters in the shortcode.
You can find what you need here
https://developer.wordpress.org/plugins/shortcodes/shortcodes-with-parameters/
It is a little tricky though because you must check the user input, because you can never be sure the user will input the proper value of a parameter.
Related Posts:
- IF statement in a do_shortcode
- Why does using WP_Query inside a shortcode in an elementor page cause the arguments for WP_Query to get malformed?
- How would I create a shortcode to display a custom post within a page or regular post?
- Custom Post Type Loop within Shortcode
- get_post_meta is not working inside shortcode
- the_post() is printing titles in page footer
- Shortcode leaves no space for other elements?
- posts within custom post type all share the same content in the front-end
- Get Posts List of Current Selected Custom Taxonomy in Shortcode
- Shortcode with loop stacks output
- Nested loop called with shortcode duplicating the content above the main loop
- Display all posts in a custom post type, grouped by a custom taxonomy
- How to use a custom post type as front page?
- Retrieving 3 latest post from each of 5 different custom post types
- Newer/Older posts links display same posts on every page
- WordPress Custom Shortcode Conflicting with Media Library
- How to solve suspected memory issue in custom WordPress loop?
- Using shortcodes to parse POST request (containing the data from a front-end form)
- Problems excluding a custom post-type from the loop
- Displaying custom posts only if custom meta box’s date is not expired
- Integrating Orbit slider into wordpress through custom post type
- Custom Post Type not visible on category page
- Loop on front-page.php
- Custom Post Type Taxonomies -Posts not showing in Category or Tag pages
- WP_Query | ‘post_type’ doesn’t work
- Shortcode doesn’t display in custom post type
- Filter by custom taxonomy slug on a custom post type
- Creating Multiple Loops in Genesis, One Post then 20, each with custom fields
- Add category attribute to custom shortcode
- Loop through Custom Post Type, and then show children within each iteration
- Can I create a loop with multiple post types and specify different $args for each post type?
- Display Recently Added Custom Post Types with Custom Taxonomy Shortcode
- Am unable to reset a query properly
- How to make sure content doesn’t display if selection is empty
- Get next and previous 3 posts in a term in single post page
- Best way to style first post differently?
- Using advanced custom fields from one custom post type in another custom post type / using nested shortcodes
- Get custom post type’s fields in a while loop as variables
- Posts per row on archive page (custom post type)
- pagination not working for category.php (custom post types in categories)
- Only show posts with date of today or in the future (i.e don’t show past posts)?
- How do I control the output of a custom post type in the loop?
- WordPress Loop if/else
- Can a shortcode included in post content add styles to the ?
- WP Query post__in not returning correct results
- Checking if looped item has a parent inside a shortcode
- Pagination Error : Duplicate argument being outputted
- Custon Content within WordPress Loop
- Create Array from custom post type to display a slider
- get_pagination not working on a custom post type query (using WP_Query)
- How to Make infinite loop of post
- WP_Query with custom post type ID
- How can I add a shortcode to query Custom Post Type with ACF in WordPress?
- Having Issue on Ordering CPT by Custom Field In Custom WP Query
- Get Posts by Category, Tag , and CPT Taxonomy
- post_type internal ID?
- postsperpage value not being applied
- Multiple Loops on a Page Without Duplicates
- Custom Post Type or Shortcode, What to choose? [closed]
- Custom post type hierarchical loop in Homepage
- Use Author Ids or Names to echo different output inside loop
- Custom Post Type, Pagination and 404s?
- What is the most efficient way to execute recursive complex queries?
- CPT loop doesn’t seem to account for post date?
- How to display list of custom post taxonomy terms and their posts (if any)?
- Alike Shortcode using in Custom Shortcode
- How can I use javascript in specific posts without relying on a plugin?
- Excluded Custom Taxonomy Term Posts Displaying in loop
- Display all posts from specific category and CPT
- posts_per_page is not working by term
- % encoded URL giving 404 error in WordPress
- CPT: multiple loops with different terms
- Do not parse shortcode in CPT
- Can I show some specific post rather than latest post?
- Custom post Query and WordPress Post Query Clash
- Add active class to foundation 6 tabs while looping categories
- Fetch loop of custom post types with AJAX
- How to make a shortcode for my WP_Query Loop? [duplicate]
- All custom posts are not showing up
- WordPress query posts by custom post type not workng
- Loop posts in a table ordered by a custom field value
- Custom Loop Event Page
- Cant insert wrapper div into index.php
- shortcode order for event custom post type
- How to create content automatically when a post is published?
- How can I pull information from my loop and divide them seperately?
- Using get_terms() as shortcode attribute
- Turn post into simple slideshow
- Sorting custom post types by taxonomy (So close)
- Listing custom post type items from a couple of custom taxonomies
- Pagination not working with custom loop
- Fourth page of custom post type archive page does not exist
- Catergory args causing loop not to show
- How do I filter a custom post type loop by a field?
- the_content() stop images being pulled through
- How to Create Short Code Using Custom Post type
- Render a loop in Timber (twig for WordPress)
- Passing postid of Testimonial Custom Post in Shortcode Parameter
- WPNavi pagination links not working on custom pages
- Group search results by post type, but having a unique heading for each section?