The function esc_html__
, it escapes html. the sumbol <
is converted into its unicode, which is <
, and so on. You can see the wordpress documentation on what it does and how it works.
You need to change esc_html__
to __
.
When mixing html with wordpress localization functions its best to use sprintf. But for now just changing the function will do the trick
Related Posts:
- How can I make my custom shortcode work in a Custom HTML Widget?
- Pass a php string to a javascript variable
- How to trigger $_GET request within admin plugin page?
- How can I get WordPress to save comments in markdown format?
- Error shown for Trying to get property ‘roles’ of non-object in WordPress After Content for User Roles
- WooCommerce: Building a page with user input which is used to query order status and external API and return a result
- Using Wishlist Member and I need to access a user’s status
- How to insert HTML/JavaScript form into WordPress page? [closed]
- Redirect to another page using contact form 7? [closed]
- How to include this jQuery File in wordpress?
- How to Loop Through all Posts and Count Attachments using Get Media Attachments
- How can I exclude a dynamic URL to show a popup created using ‘WordPress Popup’ plugin
- Is there a way to convert shortcodes to html content?
- the_content() printing DOCTYPE, and tags in the middle of page
- Add key and value to an array in another file
- File Uploader – Upload without adding to Media Library
- Wierd site output [closed]
- Code for unique user visit count on every page WordPress
- Creating an array from form inputs before it is posted to the options database
- How to translate to spanish wordpress hardcoded content/files?
- How to change a wordress plugin php code in my child’s functions.php file?
- make p tag collapsed after 3 rows
- Why is my form going to frontend on html form submission present on the php files inside my custom plugin?
- How To Toggle User_Meta in frontend in a form using PHP
- Scroll to ID broken in main menu
- Get and Update Most Meta Value as an array in HTML form
- Can’t access 3rd party API, code works on local server but not on wordpress
- How to echo a PHP Code After the Content
- Plugin error “array_key_exists(): The first argument should be either a string or an integer” [closed]
- How to remove a css class for any wordpress page
- Form tries to download a file on submit
- Adding link on title its in description but not in title see screenshots attached
- Page doesn’t load
- How to Set Limit with WordPress Get Bookmarks Shortcode
- How do I add php to all links automatically?
- Insert dynamic content into posts
- wordpress illegal string offset ‘parameter’ error
- Need help with wordpress audio preload
- Option value not getting updated until page refresh in WordPress
- Limit entry to a WordPress page
- How to create a “Most Popular” & “Latest” TAB in WordPress
- How to fix template and image buffering issues on website [closed]
- How to create different woocommerce single_product.php pages for each product? [closed]
- Improving a Stackoverflow “inspired” badge system to display badges in author page
- Get a list of galleries from an album in NextGEN Gallery [closed]
- How to install and activate a plugin via an external PHP script
- how to include a simple jquery file into a wordpress plugin
- Calling a plugin in theme development
- Display a text message if the field is not found and not if found
- Unable to activate wordpress importer after installing it
- Reposition Woocommerce Message
- Sanitizing, Validating and Escaping in WordPress (Plugin)
- Get total number of comment of the posts written by an author
- How do you remove plugin edit option?
- Escape when echoed
- Scope for PHP Variables Assigned in functions.php or a plugin
- add_meta_box (Will display only in specific page admin WordPress)
- Make specific products accessible only to a user role in WooCommerce
- force customers to add only single item to card per purchase EDD [closed]
- Undefined property: WP_Post_Type::$ID
- Plugin exceeds memory limit
- How to get post URL in the_content filter?
- How to remove xmlns on language_attributes()?
- How to write one comment and publish on every post using database or plugin?
- Add a plugin before main container
- WP Job Manager Category Drop-down; Change Placeholder Text Via Filter
- Shortcode to generate and save password in a file
- How to get subscription key or id using Woocommerce Subscriptions [closed]
- How to get member list based on role by using buddypress?
- I don’t understand how this parameter works..?
- Why wp_mail() function isn’t sending any emails and displaying ‘0’ in Chrome ‘Network’ response
- How to initialize something in unit test before the init hook being called?
- Missing argument 3 for wp_register_sidebar_widget()
- Make id column as AUTO INCREMENT on plugin activation
- How to make a custom field as an editor in wordpress?
- How to Include a Loop Template File in a Plugin
- Write to / remove from default .htaccess file from plugin?
- Update Option Error: Notice: Undefined index
- How can I display a contact form for out of stock products in WooCommerce?
- How to properly insert a link to a template in WordPress?
- get shortcode value
- How to get number of Affected rows from wordpress dbDelta() function
- Show price with Geo IP location
- WordPress Ajax Callback
- Add category to body class
- The called constructor method for WP_Widget in GFWidget is deprecated since version 4.3.0! Use
- Plugin Development sqlite or WordPress’ database
- How to review WordPress website php version compatibility?
- How to add page using HTML, CSS and JS?
- printf – problem to understand code
- Custom Post Type Plugin not loading category template and loading 404 instead
- Sending email from inside a plugin using PHP PEAR
- Auto delete WordPress users according to time
- I wrote my plugin. How to display the result of the plugin’s function to sidebar (widget?)?
- How to cancel WordPress’ action/filter when using OOP with anonymous callback
- WordPress Plugin Page is Loading in Admin Content Container Instead of Separate Page
- Wp favorite posts get user favorites in profile using buddypress [closed]
- Storing Options in a Shortcode
- Why isn’t admin_notices displaying my text? [Simple Plugin, Beginner]
- How to generate video out of images via WordPress plugin