There are many ways to set page title in wordpress.
1) In admin area go to settings >> General Settings. Set “Site Title” field and “Tagline” field values.
2) You can set your page title using wp_title() function to set the title of your page.
Using this function you can change your page title based on your page.
3) For SEO purpose you can use All in One SEO plugin which allows you to set page title and meta data for each and every page.
4) Also, You can use following jQuery code to remove “page array” string from your page title at the time of page load.
<script>
jQuery(document).ready(function () {
var title = jQuery(this).attr('title');
if(title.contains("– Page Array")){
var title = title.replace("– Page Array", "");
document.title = title;
}
});
</script>
Related Posts:
- An extra ‘ is displayed in the title
- my site show this symbol (::) between site title and tagline
- Display tab title as ‘blog tagline | blog title’
- How to count the length of a post title?
- Filter the blog title displayed in the header
- Blank on static home page?
- “Maximum function nesting level of ‘100’ reached” after adding a new filter
- String replace WordPress Site Title
- Customized title tag for each page in pagination?
- Browser title script ignoring is_page /else conditional [closed]
- Blank space at beginning of tag?
- Filter get_the_title to remove certain characters?
- get_page_by_title with an apostrophe in variable
- Locating Global Variables
- Set post title based on first h2 element in the content section
- Part of title duplicating but not sure how to remove from code – help?
- Applying A Category to Existing Posts Where Page Title Matches Regex
- Remove the first 5 characters of the_title and orderby that
- Change title only in dynamic page
- Display custom post type title as text if post thumbnail is not available
- Change page title from page using php via php executed from page/post itself
- Reduce size of responsive title
- Run str_replace on title and save the output to a custom field
- Remove dash from blog title wordpress
- Echo title attribute php
- change title page on search result
- woocommerce related product title length
- Split site title and apply different classes
- Insert content into head tag with function
- How do I choose not to display the title header on a specific page?
- Set document title through shortcode plugin
- how to replace h1 entry title with h2 in category pages only
- Posts title instead of Pages and Category titles – PHP WordPress
- Time Stamp In A WordPress Post Title That Does Not Keep Refreshing
- Trying to add some custom text into WordPress Post title via function.php
- How can I get the custom post title?
- Site title not showing. Please help me
- How to display custom seo title before the loop?
- Put a span class in the shortened product title
- Allowing HTML elements in title widgets spacing problem
- Replace Underscore (_) on Space ( )
- Custom field in title
- Hide page title
- Getting a specific “title for a section” only on Startpage?
- change title of page dynamically
- Split titles by the ” – ” in WordPress
- Is it possible to remove the “Shop” title from the WooCommerce catalogue? [closed]
- I want change custom title in custom wordpress php page
- PHP Puzzle: Unique Styles with PHP loop
- Change default comments form title [duplicate]
- Programmatically change post templates? [duplicate]
- custom contact form no longer working (because of 3.2?)
- Catchable fatal error in appcloud free theme by Tokokoo
- Add Column to Term Database
- File Upload with Server in safe_mode
- I want Page titles and excerpts to show up on home.php in certain order
- WP plugin updates [duplicate]
- Hide a nav menu item based on get_user_meta results
- Custom Archive Page
- How to change a specific character in a theme option value – replace a space with a plus sign
- Crop images in both sides on wordpress [duplicate]
- 2 small questions: How to redirect to a created page & show that pages title in wp, bp
- Custom query_posts() parameter
- How to execute add_action() function from custom plugin to Crontrol plugin or do_action()?
- Incomplete term slugs output from a foreach loop with get_the_terms
- Posts sortable column not sorting properly for custom field numbers
- How to set if meta_value is lower < than other meta_value in a get_posts array?
- How to include support for all page types, calendar urls, archive, etc
- How can I add page template after post of a post type?
- Custom Shortcode with Dynamic Button
- Is it possible to display conditional HTML based on page name in wordpress?
- Global variables and re-use
- Cannot get custom javascript to execute on page
- How to declare a variable at the bottom of the page and use its value at the top?
- How do I modify the with wp_nav_menu()
- How to add custom checkout field in user details mail template
- The search engine of my website finds only posts and not pages, how can I solve this problem?
- MySQL update text field with ‘
- Pull GET parameter from URL in functions.php
- Shortcode working in page.php but not in category.php in wordpress
- Fatal error: Uncaught Error: Call to undefined function wp_nav_menu()
- How to NOT override inline css rules
- WP_Query based on another query on the page
- WordPress Memory limit not increasing
- Open all external links in new window – need help with the code
- What’s the best way to format ACF number fields for display on the front end?
- Create an unique ID number after submit form
- wp_head makes my custom page template not work in Customizer?
- static array on functions.php
- Adding Gravity Form With if(is_page) Is Not Working
- Cross origin ajax request always returns 0 when calling get_current_user_id();
- WooCommerce Custom Pagination
- ACF: Echo page title when checkbox is checked
- How to print array of specific item
- How can I re-use PHP code across different pages?
- Add Condition if WPBakery Page Builder Used on Page or Not
- js code not stored in database currectly
- Hide the content before the more tag in the “single page”
- Fetching wpdb data from a php file seems to break?
- Troubleshooting “loopback requests that take too long”