Use two different custom fields rather than using caption. You can manage custom fields better than caption because caption doesn’t support html tags.
You can use Advanced custom field (ACF) plugin for this purpose it’s super easy to use and manage fields.
Related Posts:
- Processing shortcodes in groups (separated by line breaks)?
- add_filter img_caption_shortcode not implemented
- How can you check if you are in a particular page in the WP Admin section? For example how can I check if I am in the Users > Your Profile page?
- Settings API with arrays example
- ajaxurl not defined on front end
- How do you store options with a:n:{{}} syntax in wp_options?
- Send user activation email when programmatically creating user
- Saving data-URI to media library
- What is the importance of writing a < WP 3.x compatible plugin nowadays?
- How to create a flexible abstraction for WP_Query?
- How to create and link to administration page for a plugin?
- What is the real intention for admin-post.php?
- API to trigger prompt on leaving page
- Creating custom field with drop down on new post page
- Retrieving custom fields with $wpdb->get_results
- Current class on admin menu using add_submenu_page()
- Add new user and add meta at once
- Odd behaviour with submenu link creation
- Problems with removing admin bar
- Handling form request from plugin file
- Timeout on Admin-Ajax?
- How to Add Page Template from Plugin without Losing $this
- Extend plugin options page
- Uploading images from a custom page using blueimp uploader?
- Why doesn’t flush_rewrite_rules run on plugin activation?
- Finding the paragraphs in content
- Create a custom display order in the main menu
- Override the default Add/Edit site forms of the Network Panel in custom plugin
- add more custom post types and custom role to the code
- Proper way to pass credentials in a custom login form to avoid “headers already sent”
- A better way to include localized labels in WordPress plugins
- WordPress Multisite with Azure B2C redirect_urls after Login
- WordPress Block Development – trouble importing from @wordpress/icons
- Clearing caches on plugin uninstall
- plugin settings – uploading multiple files with a single button
- Auto gallery from folder contents
- Adding (blog-specific) links to “My Sites” admin page
- Getting term_id for newly created or edited term
- How to enable sorting in custom media uploader in plugin
- How to insert text at the current cursor position in Gutenberg?
- How do I apply a custom discount to individual product total prices depending on their categories on the cart and checkout pages of WooCommerce? [closed]
- How to fix this URL error in WordPress ” data-wplink-url-error=”true”>
- Remove unwanted elements for a wp_nav_menu
- Unit testing a plugin with a theme dependency
- Edit Images From the Front End without Access to WP Admin
- How to remove or add submenu item on plugin activate or deactive
- Update problem with update_option() in combination with register_setting()
- Why does my widget break other widgets?
- How do I add a text field under the activity texarea? [closed]
- Help writing custom function with rewrite endpoint that generates a page from dynamic content
- How to make “upgrade safe” theme for a plugin?
- Function/Class to list categories with checkboxes
- Remove an action by extending class and replacing it
- making a plugin that moves other plugins wp_head actions to wp_footer
- Is hint for translator compulsory while internationalizing a string containing variables?
- Settings API: Setting default option via ‘get_option’ fails
- Setting a JSON web token from a secondary api as a secure cookie on WordPress
- How to redirect to login page when user not loggedin on a particular page
- How to use nonce
- WP Still Generating 150×150 Thumbnail Size Even After Un-Setting Small Size in Functions.php
- How do I validate extra pin field on my WordPress login form page?
- How to create a wordpress widget that dynamically changes according to the page
- Non editable custom taxonomy
- Does WordPress default CSS have Grids?
- Plugin to create Posts and Forums then choose category and parent forum
- Checking for existing title in custom db query not working
- Adding Permalink to Slides with ‘Simple Nivo Slider’ plugin?
- How to add a new taxonomy link to the admin menu
- Many Single Sites, One Plugin directory – adjust plugins_url()
- insufficient permissions; coding an action for plugin governed by custom capability
- My plugin creates custom widgets, How can I programatically add them to existing sidebar widget areas?
- Make a php array load faster
- Count products with custom metadata field in an order
- Include external po file for 3th party plugin to theme
- Adding the image selector/uploader to an admin back page
- setTimeout not working in jquery
- How to know if current plugin is going to be used while rendering the page?
- Woocommerce Product finder feature on home page
- How do I show the HTML descrption in wordpress photo gallery for my individual gallery pages?
- Javascript scroll eventHandler only working when I’m logged in in WordPress
- WordPress Reset password Strength set to medium
- Add language localisation to javascript alert?
- redirect_to how to make it simply work with get parameter or similar?
- cancel place order proccess
- CPT UI and custom database table
- How I can give access to my custom plugin for editor roles user?
- Testing Plugins for Multisite
- Updating a WP Plugin SVN not showing on WordPress Website or Zip
- Woocommerce Custom Checkout
- get_users() not returning all users in site
- Simple Search Plugin Does Not Perform Search
- Issue with iframe in TinyMCE
- save_post not called in plugin / custom field still saving overwriting metaboxes
- Custom slug in url for CPT and taxonomy
- Loop output for custom plugin [solution found]
- Need edit profile link in the menu for logged in users
- Create a Custom Login System in WordPress [closed]
- PHPUnit Testing Installation Issue
- Safe XML response from wordpress plugin
- Problem with Owl Carousel, infinite loop [closed]