It looks like your site’s title is empty. Fill it out or try for example:
add_filter( 'wp_title', function( $title )
{
return trim( $title );
} );
to remove the blank space in front.
For your setup, the following part of wp_title()
is responsible for the blank space:
$title = $prefix . implode( " $sep ", $title_array );
So when you’re on a single page, like FAQ
, this will give you:
$title=" " . implode( " ", array( 'FAQ' ) );
or
$title=" FAQ";
Related Posts:
- Blank on static home page?
- Why do templates contain so many PHP tag pairs?
- What exactly does “Posts page” do in WordPress?
- An unwanted inline style is added to my body tag
- How to properly insert a link to a template in WordPress?
- Change title only in dynamic page
- Creating custom page template from existing PHP site
- What are the advantages/disadvantages of ways to use php template files?
- Allowing HTML elements in title widgets spacing problem
- WooCommerce – Print Processing orders [closed]
- start_lvl Ignored in Custom walker_nav_menu
- How do I use Shortcodes inside of HTML tags?
- Check if a menu is empty?
- Adding a search form inside a div
- WordPress Template Engine?
- Load custom field value into div with AJAX
- How do I edit the php/html for a particular post?
- WordPress theme & site not loading after moving files
- How to use a frontend URL with a Plugin
- Adjust the results quantity for Search Results page pagination
- “Maximum function nesting level of ‘100’ reached” after adding a new filter
- How to display blog images using wordpress in existing project
- Is it possible to use the featured image of a page as a css background without inlining?
- Customized title tag for each page in pagination?
- How to display a value from a radio button in the options menu in wordpress
- Placing raw HTML inside a WordPress shortcode
- How to only show page id as body class?
- Shortcode content output but not in correct place
- HTML tags in bloginfo description
- Transferring working local PHP site to wordpress – with database (MySQL)
- Where in PHP do I move title and meta (date) to bottom of each blog section?
- Using the echo command adds unwanted br tags to source
- Mass update excerpt
- Commenting out unwated CSS/scripts in HTML with PHP
- Can’t print Yoast meta description into page template (syntax error, unexpected ‘.’) [closed]
- Add filter multiple times using only one master function
- Change page title from page using php via php executed from page/post itself
- Path for php file for inserting data through html form
- Widget back end radio button issue
- Add shortcode in my div
- Function Reference Documenting Template Tags for use in Custom Theme Templates?
- Removing WordPress Footer -without access to PHP code?
- How to set a template with wp_insert_post
- Create page template via functions.php?
- What’s a good way to allow overwriting files within a child theme if I want the same folder structure?
- PHP contact form not redirecting [closed]
- How to Schedule Cronjobs for start of every month and year
- how to display this functions?
- is_page_template showing partial results
- Adding regular php file to site
- Post repeated when opening in overlay, how do I solve this? [closed]
- Split site title and apply different classes
- pass html code to worpdress
- WordPressUser Submission Form
- Shortcode displaying at the top of the page [duplicate]
- Is it possible to isolate and use WordPress functions outside of wordpress
- Getting a WordPress tag to print inside of a traditional php echo
- Set document title through shortcode plugin
- Prevent header and footer from loading on specific pages with template or plugin
- Search bar for wp menu
- Adding HTML Code to Replace Text in PHP
- Executing php on button press
- how to replace h1 entry title with h2 in category pages only
- Shortcode in Shortcode/HTML Graphics and Pictures
- Display metabox galleries on specific page template in admin editor
- Display WordPress archive template page in 3 columns and not 1 column [closed]
- Run do_shortcode on php template using JS function
- How to hardcode header and footer in WP?
- WP Website is shown in HTML
- Mysterious letters appearing at the top of a few pages
- Current WordPress Page Title as Search Parameter into A Tag
- If user has clicked link add class and store using PHP/WordPress
- HTML Formatting “single_term_title()”?
- How to Protect a private folder inside uploads folder, if User is not Logged In?
- sessionStorage saves input value in browser but it is not loaded in the form field
- Collapsible menu on post sidebar only expands and does not collapse
- If is_page elseif is_page not working like I want it to
- Changable favicon
- missing admin bar and widget in a template
- Use PHP to inject HTML into before page renders?
- How to make a parent page for author.php?
- Creating Log-In Page for backend server
- My own theme’s custom widget areas are not working
- Multisite – Display different header content based on which site is accessed
- wordpress, Category ID
- html to posts, jpg to featured image, zip file contains jpg and html
- How do you change the tag font size in the repeater-template.php [closed]
- PHP tag in post content makes wordpress go crazy
- Replace Underscore (_) on Space ( )
- How to only fetch certain Tag ID’s
- Where to find the html for WordPress site? [closed]
- RegExp to EXCLUDE strip HTML (FOR SOMME) comments
- Pagination for div’s
- How to call a certain object/menubar in a PHP file
- How Can I Center the Logo in the Navigation Menu? [closed]
- Custom field in title
- Arrange Category post manually when displayed
- why is markup routinely placed in functions in wordpress?
- HTML in PHP problem [closed]
- Header location [closed]