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
- Check if a menu is empty?
- WordPress Template Engine?
- How to get the post count for the last x days filtering by categories
- How to create shortcodes that pull custom field data from general settings
- Where exactly do I write define( ‘WP_DEBUG’, true ) in wp-config file
- How to display related posts from parent category
- get understrap pagination to work with custom query
- Replace existing content from specific WooCommerce admin orders list column
- How to break down importing of feeds
- WordPress shows registration link for non logged users
- How to get woocommerce cart content without an action?
- How can I resolve the php notice “Constant EMPTY_TRASH_DAYS already defined”
- Use wp_get_recent_posts with search term
- multiple if statements [closed]
- Choose To Display Post Views With An Options Panel
- Prevent Data Resubmission On Page refresh
- Bridging TinyMCE js and WordPress PHP?
- Echo URL of large version of Featured Image
- Remove price from Woocommerce variable product dropdown menu
- Getting trackpacks/pingbacks for a post via wordpress?
- Loop through categories and display posts title under each dropdown
- How to hide products that do not have an image from a slider carousel for an ecommerce webpage?
- how to query a post based on previous page post ID
- How to use $_GET function WordPress backend
- How to set variable, pass it to a partial file and remove it after?
- wp_dropdown_pages auto submit
- How to loop through all the attached images in a post, and get their url one by one
- Noindex Posts From Certain Authors In WordPress
- Pass Variables or Variable Place-Holder from Editor to PHP
- Issue with custom loop in Archive page
- Get the_content surrounded by instead of
- WordPress forms submissions and PHP files
- Display an image based on field value
- WordPress call post-ID in jquery
- Enqueueing a code block from an options framework
- Don’t display a sidebar widget when on a specific page
- Hide media for non logged in users
- How to display 8 posts in four columns and 2 rows on a carousel slide?
- How to run php code only for a specific widget on a page and not all widgets on that page?
- Add Link to PHP message
- How to check if plugin update process completed in wordpress?
- Filter for product subcategory listing page load
- Conditional Banners
- Reduce Stock Based on Custom Variation Field Rather than Attribute (Working Script)
- how to use auth_redirect() redirect visitor to login page if they are not login when they click account and order page?
- CRON job to update wp_usermeta value each day or week based on server time
- how to edit open graph meta description programmatically and in which file
- What image is this pulling?
- Dynamically Create Posts Via XML File
- pages disable after wordpress update
- How to only fetch certain Tag ID’s
- How to set a cookie based on a page Get variable?
- Editing the contents of just one div on a page from wordpress
- Display latest 5 posts on homepage
- How to conditionally concatenate and translate two very long strings?