Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [title]

Title is the main label on a piece of information. In WP the term is mainly used to label a whole html page, a post, a widget or an attachment.

0
votes
0answers
10 views

hpw to remove add title from the new-post.php [duplicate]

i want to remove the add tittle from add new post. user can able to add only content, kindly help me on the same. Thanks in advance.
-1
votes
0answers
24 views

Remove title bar from post-new.php

i want remove post title bar form admin area, no user can able to add title. user can get option to add only description. kindly help me this. thanks in advance.
0
votes
1answer
26 views

Update all WordPress posts's title and content then display them in a table

I am trying to update all the WP post title and content then show the just updated post to a table. I am using the following code but it does not work: $args = array( 'post_type' => 'post', '...
0
votes
0answers
14 views

Remove Page from title with custom query rewrite

I have a custom query rewrite to accept a numerical parameter (mywp.com/foo/bar/1746). My issue is that the title of the page displays as "MyWP - Page 1746 - Page". Is it possible to change the title ...
0
votes
0answers
13 views

Add QueryString into Title Tag of the search page to make Title Tag dynamic

I have a search page https://myweeeebsiteee.com/search-results/?cat_id=1&ad_title=cat I want the ad_title value to add into page title tag, So the title tag will be dynamic for each search query....
0
votes
1answer
35 views

change title page on search result

I want to change in my search result the title. Unfortunately I don't have option to change this in , because I must do it in plugin file. Actually I have that code in PHP file: if (isset($_GET['...
0
votes
1answer
32 views

Loop doesn't show title of second post and posts thereafter

I have a problem with my code, somehow. It worked fine before and now it seems that Wordpress does not show the title of the second blog posts (only the first blog post seems to work fine really, ...
1
vote
2answers
38 views

Wrap h1-h6 in a div

So, I am using heading tags h1-h6 on my site in various places, what I'd like to do is put a div around those tags using a WP function. Right now I am using some jQuery to get the job done, but I'm ...
0
votes
1answer
20 views

How to remove Nav-Menu tooltips? (Wp-Globus plugin)

I would like to remove all tooltips from my nav-menu, as it cannot detect in which language the title is. I used Wp-Globus plugin for a multi-language site and this issue came after creating the sites ...
0
votes
1answer
21 views

Site title not showing. Please help me

Please help me, My WordPress site's title not showing. It's just displaying the domain like, www.example.com. site: https://happyygarden.com Please check my site code and suggest how to display the ...
0
votes
0answers
7 views

Buddypress profile fields don't get exported

How can i export buddypress extended profile's titles? When i export buddypress's extended fields, it seems like wordpress is just exporting input names without their parent titles. As you can see ...
0
votes
0answers
21 views

long-title posts do not want published

long title posts do not want published, when I click on published (not function) always on draft. For example: The title 'Le général sorti un badge et se dirigea vers l’une des portes entourées de ...
-1
votes
1answer
19 views

Auto append text after the title?

Original Title -> Original Title - Lorem ipsum How can I do this with hard code? I want this to stop people that web scrape my web without giving credit and making money off my posts from their ads ...
1
vote
1answer
52 views

Remove the first 5 characters of the_title and orderby that

I have a custom post type where all titles are dates (in this format: YYYY-MM-DD). I need to order them by month then day, but not at all by year. So I imagine I need a filter to 'look' 5 characters ...
0
votes
2answers
22 views

Delete page titles

I'm making a website with the Primer theme, and it includes a big bar with the title in huge letters across every page. I prefer the titles be in the body of the post, so I want to delete the title ...
0
votes
2answers
33 views

How to automatically load an image inside the post, since it is present in uploads folder

I´d like to automatically load three images inside all posts (via single.php), always in the same div (.acf_imgs-centro1). The idea is that the images are uploaded into uploads folder, with the same ...
4
votes
2answers
151 views

Set Post Title to Read-only and Disable Permalink Slug Editor in Gutenberg

When using Gutenberg I would like to disable all users except administrator from being able to edit a post's title even though I want to allow them to edit the post, and I would like to disable the ...
0
votes
1answer
39 views

disallow publish posts with special title

I want to disallow some titles on wordpress and avoid publishing these posts. example : "title : last news 8 hours ago" When this sentence is in the post title, I want disallow publish the post. ...
0
votes
1answer
20 views

Title tag come up differently on search results

When I Google our company's name I get a much shorter title tag then when I search for a keyword that we rank for. The correct title tag shows when I look for our company through keywords but not when ...
0
votes
0answers
24 views

Link of cpt error when I have duplicate post titles

I have a problem. when I have duplicate post titles: Post 1 titles "Story" link: https://domain.com/story-1.htlm Post 2 titles "Story" link: https://domain.com/story-1-2.htlm and cpt name "chap", ...
1
vote
1answer
37 views

Automatically add words if duplicate post titles

i have two post duplicate Post Titles: "Love Story". i want code Automatically add a random words if Duplicate Post Titles, like post 2 duplicate Titles ==> auto change post 2 titles like: "Love ...
0
votes
0answers
15 views

Unable to Change Title in WordPress Dashboard

I am unable to make any changes to my title tag. When I put the cursor on the Title place it automatically hides. I tried to change it through Yoast SEO plugin but still, it is not working. Kindly ...
0
votes
2answers
34 views

how can i remove page title on desktop view

i have a problem with my woocommerce, I cant remove the page title in the product on desktop view. Anyone know what can i do ? thank you very much store https://kingsport.ro
0
votes
0answers
18 views

Append custom fields to title and save in database

I am trying to achieve the following. We have the name of an artist in our title section of wordpress, let's say 'artist' war on drugs. With the ACF plugin we have created several custom fields, ...
0
votes
1answer
34 views

How to include a query_vars value in document_title_parts?

I have a page template, used on a single page, which takes URL string parameters like this... http://www.example.com/mypage?tags=Publishing Facilitated like this... // Inherit the meta target ...
0
votes
2answers
24 views

Print post title with markup

I have a piece of code that outputs my post title but how can I output it as an H4? Here is the code I have: <?php echo get_the_title( $post_id ); ?> Thanks
-1
votes
1answer
98 views

How do I remove the dash (-) between my Site Title and Tagline?

I want my site logo to look like the second image rather than the first. However, when I do the settings in the second image, the site is displayed as "Example - Site" in bookmarks and Google search ...
0
votes
0answers
13 views

How do you change the title of the Edit Post page?

When editing a post if I look at the title of the tab, it says: Edit Post < username -- WordPress When you've got a lot of tabs open that's not very useful. More useful would be something like: ...
0
votes
0answers
29 views

How to get page title (<title></title>) in a different order?

I am trying to figure out, how to change the current order of the page title (displayed on the tab or browser windows). Currently, it is <page_title> - <site_title>. The site title is ...
1
vote
1answer
56 views

How to set the seo title tag on a page by page basis?

I am storing the SEO title with advanced-custom-fields. How do i set the seo title tag within my single-mypost.php template. This is the place where i can call get_field('title_tag'); I tried ...
0
votes
0answers
15 views

Title attributes on Permalinks for posts and products

I need to add title attributes to my wordpress links for new posts, pages and products on a website. This is for the actual post/page/product and not within content. For example if I create a post/...
1
vote
1answer
21 views

Header style different on home and remaining pages

Would it be fairly simple to add different site header and menu styles and assign them to specific pages? I have very basic understanding of how CSS and php work and managed to customise the theme but ...
0
votes
3answers
80 views

How To capitalize The First Letter Of Every Word In The Post Title

Hello i wonder if you can help me. How do you make to post titles capitalize the first letter of every word? Is there a way to do it in wordpress?
0
votes
0answers
23 views

Custom archive paged head title

My website is in hebrew and when im in a paged archive the title is "archive title" page 2 of 4. How can i add the title only in archives that are in a page 2 or higher? I am using Yoast SEO. And its ...
0
votes
0answers
49 views

How to display custom seo title before the loop?

So I've optimized one of my archive page title to this add_filter('wpseo_title', 'new_filter_title'); function new_filter_title($title) { if ( is_page('1637') && $...
0
votes
1answer
38 views

remove the title attribute from links [closed]

I'm looking for a way to remove the title attribute from links. There is a old plugin but it breaks the site. The title I would like to remove is in the sidebar widget. Thats the code of the widget ...
0
votes
1answer
104 views

Change meta-box title- “LearnDash Quiz Settings” to “Quiz Settings”

I want to change a meta-box title on the create question page from- "LearnDash Quiz Settings" to "Quiz Settings" on create question page. I have seen a few posts that explain changing custom posts ...
1
vote
1answer
21 views

Is possible add icon in title posts only in specific tag?

I want to add an icon in title posts only in posts with specific tag. Is this possible? I've already tried these codes, but they didn't solve my problem: Approach #1 if (is_tag('162')) { ...
0
votes
1answer
130 views

Set category page title in custom theme [closed]

I'm new in wordpress. I am using one custom theme and install in wordpress. I want to change category page title and remove "Category:" prefix from title. How can I manage it from admin ? I don't ...
0
votes
1answer
117 views

What is the wordpress page title php code?

I have a header file in WordPress theme which always shows site title after the creation of a new page because of code <?php echo esc_html( get_bloginfo( 'name' ) ); ?> but I want it to replace ...
0
votes
1answer
25 views

Please I want to prefix my WP posts title according to each category

What i mean is that. My categories are: Music. Video Etc... So i want post title per category to be like this. Post in music = should be "Download Music: wp_title()" Post in video = should be "...
1
vote
0answers
51 views

WP Query Args - Title or Taxonomy Value

How do I query by tax_value or title? I have $args = array( '_meta_or_title' => sanitize_text_field(preg_replace('/%20/', '+', $query[1])), 'posts_per_page' => 100, 'post_type' =&...
0
votes
0answers
23 views

How to add each letter, entity, special character from post title to array

I try to add each letter, entity, special character from post title to array but quote symbols not working. I use this function in the loop and single post page. Entities are in the numeric HTML ...
0
votes
1answer
21 views

How to Add or Change Post Title

How to add post titles with new titles via sql? example post title now "beddu". i want to adding/ change "Add beddu" thank before
1
vote
1answer
26 views

CPT Post Title Permalink: Replace “@” (or all special characters) with dash “-” instead of just removing

I have Custom Post Type "Email", where the Post Title is always going to be an email address, ie: example@domain.com The problem I am having is the "@" is being removed in the permalink: ../...
0
votes
1answer
757 views

How to get current page title inside a page itself in a shortcode and in page content

When i add the <?php the_title(); ?> to a page template file it works and is able to pull the page title inside html tags however if i wanted to add <?php the_title(); ?> to a ...
1
vote
1answer
40 views

How to Change The Title in WordPress For SEO

My concern is when I search for that company I see what is shown in the image. Instead of Home, I require it to show a custom title that is good for SEO. What is the best way to fix this? Please ...
0
votes
2answers
36 views

How to get current page title inside a page's template

I am trying to get the page title to show up inside various h1, h2 and p tags that i have part of the page template - so that when the template is applied to a page it will make the current page's ...
0
votes
0answers
21 views

Add id attribute to h1 element of wordpress post

The default rendering of the h1 element of a wordpress post looks like this: <h1 class="entry-title"> XYZ </h1> I would like to add the id attribute to the h1 element with the value of ...
0
votes
1answer
23 views

Get youtube link title in post title

If my post title is https://www.youtube.com/watch?v=PJmMiZH3Q6I I want it to be converted to original video title which is "Ras Cricket - Fyah" Is there a way without API stuff cause it seems hard.