That setting is html escaped, it means that all the html special chars are converted in the realated html entities, so e.g. <
became <
.
To print correctly you can use echo html_entity_decode( get_option('blogname') );
However be aware, that blogname
option is used by WordPress and by a lot WP themes and plugins (e.g. SEO plugins) that aspect that options containt text without any html. For this reason, maybe, is not a good idea insert html code in that option.
Related Posts:
- Using php to overwrite or replace title tag, while using yoast [closed]
- Problem in wordpress with “-“
- add_theme_support( ‘title-tag’ ) in conflict with custom titles function
- Modify page title format (when using title-tag)
- Fill post titles from post content?
- Empty title on front page/Home
- REQUIRED: The theme must not used the tags. | REQUIRED: The theme must not call to wp_title()
- How to get page’s ID if I know the title only?
- How to make a H1 different then the Title?
- How do I edit the tag without using the deprecated `wp_title()` function?
- Change Default Custom Fields Metabox Name
- Display post title on individual image attachment page
- Include category title in wp_title
- Automatically add title attribute to links in WordPress
- How can i remove JUST the title tag from wp_head() function?
- Custom Post Type Title Placeholder [duplicate]
- Remove site name from tag
- Change title tag dynamically or within plugin?
- Get title of page from URL
- Remove site name from title post
- Change all Post titles into [Title Case] format
- How to modify a title tag in genesis?
- How do I set the blog name?
- How to Change Title Attribute to be different from Page title
- How to sanitize post title with commas
- How to echo a different title to the page if it’s opened on an android mobile phone
- Adding schema.org itemprop to WP4.1 Title Tag
- Remove post title
- How to edit title on Edit post pages?
- How do I shorten the title lenghs with Elementor theme? [closed]
- How to Customize “WordPress > Error” Text in Titlebar?
- How can I automatically insert the page content as the title?
- Changing title & add Breadcrumbs
- How to Change The Title in WordPress For SEO
- Sanitize the output of the_title() or the_title_attribute() to remove whitespace
- Change page title dynamically before header is rendered
- Blog Title not showing up on main Blog page
- For better digital journalism, how to store a second title and excerpt?
- After I set the title, it over-wrote all the titles for the individual pages
- Replace text in the Title
- Title tags show twice
- Setting page title and keywords from PHP code
- Anyway to specify what should appear in in .php file?
- How to solve the site tag being displayed twice?
- disallow publish posts with special title
- Print post title with markup
- Homepage meta title and description not showing in search engines?
- How to remove Title and CSS styling of title from particular page
- Double bar “|” in title (By WP SEO Yoast?) [closed]
- Delete a repeated part of post title in WordPress
- how to set alt & title for featured image get_the_post_thumbnail
- How to add publish date in the title
- How to put post title or keyphrase in content on different places automatically?
- Print title page in header of a specific page
- How to give titles to custom post type as “unique” incremental number?
- Front page displays different than all other pages?
- How to disable publish button if post title exists
- Change auto post title generation according to different post properties
- How to get Title of Home Page to Appear on Page
- Need help with page title (Static front page)
- Array to modify post titles
- Text under post title on frontpage but don’t want it in full post
- How do I remove ‘Home’ from homepage title?
- How to set “lang” attribute for post/page title?
- Inconsistent title for posts
- Title don’t function as link
- Enclose title within a div?
- How to add a span class in the post title?
- Adding a class to post title considering the title length
- Title how does page no work in Twenty Eleven
- strtolower
- Change post title but not in widgets/menu/etc
- how to change the title of tag page?
- how to add dynamic text before and after of post title
- Add text to the first “title”=>get_the_title($post->ID), and shorten
- Title tag on home using front-page template not showing
- Limit title length
- Need to replace some text string on a title
- Remove title bar from post-new.php
- How to get page title () in a different order?
- Page Title Dependant On Input?
- Blog Post Title apearing twice
- What change does this code need to include title of parent?
- Setting Page Title Yoast
- How to modify title tag in a plugin?
- How to Implement Category.php page title in wordpress custom template?
- Why I can not modify the appereance of my title web site in google? [closed]
- The entity “raquo” was referenced, but not declared
- How to get the meta title of a page configured as blog (loop)
- Generate page title tag from the content of H1
- Append text after wordpress title
- What is the wordpress page title php code?
- How to add … after a particular word/character limit to the title
- Remove post title in catogory page
- Change Bookmark Name without Changing TITLE Tag [closed]
- reformat entry-title with two different styles
- I have a problem with Home Page title
- Trying to get more space removed from my header
- how to put breadcrumb under Title [closed]
- How to fix special characters when the title or excerpt is shortened [closed]