Yes, you can include a check for is_home()
or is_front_page()
and return a different title based on that.
Update: TwentyEleven does it like this for example (lines 27 to 45).
Related Posts:
- Why have on every line
- Function to return true if current page has child pages
- Include a external PHP file into a WordPress Custom Template
- List of all theme customizer control types?
- Get author full name
- How to remove hardcoded characters from playlists?
- is there a simple way to list every templates / php files used to generate a specific page?
- Set the transport of the Customizer ‘header_image’ core setting to ‘postMessage’
- String replace WordPress Site Title
- Widgets not showing in my custom theme
- Customized title tag for each page in pagination?
- Why WordPress architecture is not pure object oriented and it don’t use MVC pattern? [closed]
- Displaying theme options in css
- An extra ‘ is displayed in the title
- Customizer: Output default value in Customizer CSS
- Create another “Display Site Title and Tagline” checkbox, “Header Text Color” setting and control
- Converting HTML Template to WordPress Theme
- Customizer: active_callback and sanitize_callback incompatibility?
- Menu jumping when calling it via PHP
- Compare the old get_theme_mod($name) to the new get_theme_mod($name) return value
- How to obtain the current website URL in my theme?
- What exactly do this function declared into functions.php file of a WP theme?
- Underscore – Self hosted fonts
- What file have I to create in my custom WordPress theme to show all the post belonging to a specific category?
- Echo title attribute php
- Is there a hack for using is_page() within the function.php file?
- pass html code to worpdress
- how to replace h1 entry title with h2 in category pages only
- How to get php file based on URL in WordPress
- How can I customize a WordPress theme before it’s downloaded?
- “Page Array” displaying in title bar on Front Page
- Replace Underscore (_) on Space ( )
- Where can I find the declaration of `$_wp_theme_features`?
- my site show this symbol (::) between site title and tagline
- A Customizer checkbox control that sets the setting to “” or to “blank” and show() or hide() a color control
- My customizer’s setting doesn’t set to the default and needed to click the control’s “Default” button before it’ll be set
- WordPress causing all code to be displayed on line 1. Receiving multiple errors after cleaning cookies and cache
- How to add button to top of theme customizer?
- Remove/unset options field from backend Settings->General?
- Display posts by month
- How to preserve PHP modifications while upgrading WordPress?
- Removing jQuery migrate and working with dependencies
- How to get the registered sidebar’s name by its id?
- How To Customize Position of »add to cart« of WooCommerce on Product Page [closed]
- Authenticating to WordPress, using my own authentication two-factor system
- Dynamically loaded Theme components based on Customizer Settings values : changes not appearing in Customizer preview – (Workaround found)
- Using Font Awesome as post thumbnail
- How to display something in a div when the user clicks on a text in another div – no page refresh [closed]
- Locating Global Variables
- database interactions using OOP
- Where to edit the template that is generating the code for dynamic_sidebar left-sidebar in the Understrap theme? [closed]
- How can I create a list of page titles from custom meta values?
- Extending the WP_Widget_Text class
- get_the_tags() not iterating through for/while loop, but will with foreach
- Limitations when modifying wp_title with a filter
- I have a problem in the order of enqueues while enqueuing stylesheets and scripts for a specific page in my function.php
- Trying to build simple deposit code that hooks into woocommerce
- user_profile_update_errors hook not executing
- Saving and Restoring a Canvas on A Individual User Basis
- post created but no permalink
- Extend plugin Class through functions.php
- Catchable fatal error: Object of class stdClass could not be converted to string after WP 4.7
- Output custom field value to post string
- Redirect to another page using contact form 7? [closed]
- Use .php file as page instead of wordpress page & template file?
- How to set up a If is_singular statement?
- Run str_replace on title and save the output to a custom field
- Remove dash from blog title wordpress
- Get title attribute from galleries
- How can I use a sliced image As banner? [closed]
- Get all posts as an array ID => Name
- How to get my [shortcode] rendered on the home page, other pages are fine
- Why in this WordPress theme I can’t see the Main Menu?
- When trying to set title, not sure how to edit it for different pages
- Display movies that apear this day next
- Ajax URLs without #!, how to prevent falling into single.php on load or reload?
- Get options from database using php class
- Array data not saving to specified sections. How to make seting independantly?
- Integrate otp in my custom singup form
- How do I know if the user is a customer?
- How to block specific user id in custom login form?
- Unable to retrieve get_author_posts_url
- Adding new divs with custom classes to products on WooCommerce shop page [closed]
- Store user form submitted information in post type
- WordPress files break if I edit them, but adding a closing PHP tag fixes it
- Add custom attribute to product’s HTML to woocommerce cart page
- double page title [duplicate]
- Use custom get results query to show posts WordPress
- media-uploader insert into post is not inserting
- How to hide something from custom home page with php code?
- Adding Media button to only pages
- Display a list of users with avatar filterable with alphabets
- How does one programmatically manage posts from a external php script?
- How to implement conditional PHP in Footer
- Adding php within a return statement [closed]
- Pagination not working properly
- How can I fix my pagination?
- How to remove the intro animation which appears during the load up of some WordPress themes? [closed]
- Social Sharing Buttons in Recent Articles List
- Font Awesome Icons as squares [closed]