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]
- How to make simply “report” button on posts
- How do I make my wordpress page more friendly for mobile viewers?
- Change destination author link
- how to display all posts Custom fields dynamically?
- Uncaught Error: Call to undefined function get_user_by() after moving function from theme to plugin
- Display a text message if the field is not found and not if found
- Add a plugin before main container
- Shortcode to generate and save password in a file
- I don’t understand how this parameter works..?
- WordPress Redirect Not Working – AJAX Callback Response Not Picked Up
- Using meta_query to get date type values from post_meta table WordPress
- Creating a custom post type, adding custom meta fields, preventing all future editability of posts of this type
- wp_get_post_terms is difference obj model than the one in rest api response
- Creating a Callback URL for WordPress Woocommerce to update Order Status
- Blog titles from WP blog on plain html site?
- WordPress shows error related to allow_url_fopen
- Delete mobile menu button [closed]
- How to replace WordPress Media Upload Window with user’s device window?
- How can integrate zend module with wordpress admin dashbord [closed]
- Setup wp_schedule_event within a custom plugin
- WHy custom plugin slows down the loading of the pages?
- Adding media upload button to User Profile page (following a tutorial)
- Pass user role to javascript code inside body
- Switch from wp-cron to a server cron job
- Theme Functions run a function upon activation or preview
- Is this plugin safe to run?
- Why is adoptStyles-css stylesheet link added to every page?
- Custom Plugin scripts from admin working in frontend
- How to add a prefix to a WordPress post preview url?
- i can not access the post in custom template of my wordpress plugin
- How to get a specific string from a url
- Easiest way to load/fire a handful of functions, IF checkbox is checked?
- How to avoid the 403 Forbidden error in a WP Plugin with Ajax and PHP
- How To Use htaccess to Rewrite Link Structure for a Page that is Generated Programatcially
- WordPress logout appends cache/all/index.php to the site_url()
- Change (replace) word in metabox
- WordPress environment not loading properly
- export high ress images to pdf
- custom url with custom post
- Saving an array to get_options
- MySql Query for WordPress
- Pulling sub-site content into specific pages
- Help me with my first very basic plugin
- is_plugin_active() not defined on active plugin, in the thumbnails.php file
- Undefined constant error in pluggable.php
- HTML link within my plugin settings page
- How to create post comparison in wordpress
- Requires PHP version 5.3.0
- True or False: Is an Apache error or PHP error the same as a WordPress error?
- how to show selected options drop down menu values in attributes field in after saving post.php
- Can’t use updated variables in handle function
- How to get URL param for pagination in shortcode?
- Make plugin admin page visible to other roles
- Is there any WordPress Plugin that provides video editing from front end side? [closed]
- How Create LastMod and Update Date Only on Taxonomy Category and Tags
- Accessing Correct Database to Create REST API Endpoint
- How do I replace a logo image that’s hard-coded into a plugin’s logo.php file?