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.

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

Replace URL with Site Title in Search Results

When searching my company on a mobile device "Tattini Boots". You can see that the URL is displayed vs. the site title at the top (view image below). I am using Wordpress and was wondering where ...
0
votes
0answers
26 views

Want to add new label in new post

I have 3 different custom post types (news, job, result ,) When I post something new under any of them, I want "new" label or gif for a limited time in title . Am already try that one which am ...
0
votes
1answer
40 views

Replace image name on upload to the new post name on front-end form

I'm using this form to replace featured images and post title on my frontend form: <form id="featured_upload" name="featured_upload" method="post" action="#" enctype="multipart/form-data"> <...
0
votes
1answer
22 views

Edit the post title from the frontend

I have this form that allows-me to change some things of the current post in my frontend: <form id="featured_upload" name="featured_upload" method="post" action="#" enctype="multipart/form-data"&...
0
votes
0answers
9 views

Hide posts with same title

As, I have to fetch RSS Feed and it will fetch some feed with duplicates so i want to hide them. As, I want to hide those feed which have same post title.Is there any way to do that.
0
votes
0answers
8 views

Woocommerce 3.8.0 cannot add title to new product after update

After updating to the above version we cannot create new products because there is no input field for product titles. Existing products created before the update contain titles, but these cannot be ...
1
vote
0answers
26 views

Applying A Category to Existing Posts Where Page Title Matches Regex

I have a whole bunch of posts that I need to add a category to (too many to do via Bulk Actions). They all follow a predictable/consistent post title naming structure that could be matched via regex. ...
0
votes
0answers
51 views

Include a page's “category” in its URL

My site is for landing pages, not a blog - so it contains pages, not posts. I want URLs like this: https://www.example.com/shoes/nike-sport-super-red https://www.example.com/shoes/adidas-...
0
votes
1answer
18 views

Page titles for internal classification of landing pages

My wordpress install manages a business site, with landing pages. It's not a blog, and there are no posts (only pages). The "pages" page (Pages > All Pages), which shows draft/published pages, ...
-1
votes
1answer
11 views

reformat entry-title with two different styles

I would like to apply two different styles for entry-title meaning i.e. "my services: this big" "my services:" should appear with default font size "This Big" should appear with bigger font size ...
1
vote
2answers
25 views

Replace “WordPress” word in title of Dashboard

I would like to replace the WordPress word in title of Dashboard. Original title: Dashboard < Site Title - WordPress Expected result: Dashboard < Site Title - foobar I tried to do this with ...
0
votes
0answers
10 views

wordpress page title (html title tag)

First of all, I am working on a website that is using flywheel for its hosting. I develop the theme locally then push the changes via sftp to the staging server and then from there to production. ...
0
votes
0answers
13 views

How to prevent filling out the “title” field when uploading files?

How to prevent WordPress from automatically filling out the "title" field when uploading files. Not when pasting an image into content, namely when the image is uploaded to WordPress itself.
0
votes
0answers
25 views

Yoast SEO breadcrumbs: how to create a filter that uses the url slug for breadcrumb titles

I know we can manually edit the breadcrumb title for a page or post using Yoast SEO's breadcrumb functionality. But with thousands of posts and pages on an existing site this isn't desirable. My ...
0
votes
2answers
18 views

How do I Name a WP page in the New(ish) Block Editor?

I'm building a custom theme and it's my first time doing this with the new(ish) block editor. Can I ask - where on earth to add the page title in the backend block editor? In the old editor you just ...
0
votes
0answers
35 views

Widget title showing below widget

I added a widget area to my sidebar using the following code. The area shows up fine, and I can add widgets which also show up and work fine. The problem I am having is if I add a title to the Widget, ...
1
vote
2answers
52 views

How to remove “Category : …”

I am using theme Twenty Sixteen. I created a menu using categories, and when I click on one and end up on a category page that has a "Category : ..." title. I would like to remove that title so that ...
0
votes
0answers
31 views

How to allow dot(.) in slug for custom pages

For this question, I googled and found 2 results. But what I want to do is allow dots in slugs for some pages only. I found results are showing to add a function to function.php file. But it will ...
0
votes
0answers
28 views

Parent category as WOOCommerce Categories widget title

I'm really not a developer, but this is something I expect not to be too hard to achieve :-) I really don't know where to start, so that's point 1. I read all of the topics about dynamically changing ...
0
votes
1answer
21 views

About title on a page

I would like to know how can I change the title of my page to be just "FinanzasYa" instead of "Category ArchiveFinanzasYa"
0
votes
2answers
29 views

How can I get the custom post title?

I need to get the title from my custom post but its showing from my default post. here is my code. please help.
0
votes
0answers
43 views

How to swap text in menu item back and forth?

My article can be titled in two seemingly unrelated titles. Therefore, having the title swapping back and forth would be a cool feature. I suppose the effect would be crossfaded. The duration of the ...
0
votes
0answers
24 views

Help needed with category and title in header

First i am abit in wordpress , but anyway i am trying to show the page category and page title in my header.php . Like this below But here is the thing , what I like to know is there away to iether ...
0
votes
1answer
38 views

Change/Set Page Title and Meta Tags from Page Called within a Plugin

I'm using a set of query vars and rewrite rules to load a new page. My final call to the page looks like this: add_filter( 'template_include', 'se343855_template_include', 50 ); function ...
0
votes
3answers
102 views

Limit title length

It almost work correctly, but alwas return the same menu name: On home all menu elements name home on contact all menu elements name contact function max_title_length( $title ) { global $post; ...
0
votes
1answer
28 views

Yoast taking over my Wordpress title tag [closed]

I have this code: <h1><?php the_title(); ?></h1> That is meant to display the title of my blog post only. But because Yoast has a SEO title of something else, it is displaying ...
0
votes
1answer
19 views

Run a function on all posts

I have a function where I am counting letters in a title and adding that _product_meta_title key, everything is working fine when I am adding a new product but I have 500 products that don't have this ...
1
vote
1answer
116 views

Dynamically update post title in admin page

I have a textarea in admin post page when creating new post, that's title: <textarea id="post-title-0" class="editor-post-title__input" placeholder="Add title" rows="1" style="overflow: hidden; ...
0
votes
0answers
19 views

Post title value with colon causing search issues

Hoping someone can help shed some light here... I have the following titles: Icons & Innovators: Norman Lear Muslim/American: Halal 44 Charlton: Pride I am using the native WP search. The ...
0
votes
0answers
10 views

Page title auto defaults to V3

The problem: When I create a new WordPress page or edit a page the page title auto defaults to "v3". If I change the title and then move to edit the permalink it reverses itself back to v3. Here's a ...
0
votes
0answers
30 views

Need to replace some text string on a title

we are using Bridge theme in Wordpress as a basis for a restaurant menu. This menu has titles of food that in the plugin template (restaurant-menu-list-item.php) are called to be printed on the screen ...
0
votes
1answer
60 views

Create/Set Category as Title of Post

I am fairly new to PHP. I wanted a code snippet to create post category from the post title. If the post title does exists as a category, then assign the post to that category. If the category doesn't ...
3
votes
2answers
93 views

Don't replace “|” with Empty String (“”) when generating slugs from title

I work for an architecture company and our project names mostly go like this: house|something, bridge|somewhere, building|whatever. Now, when I want to add a new project named like that, WordPress ...
0
votes
2answers
28 views

How to add publish date in the title

I learned a solution from https://stackoverflow.com/questions/36671203/wordpress-publish-date-shortcode Although it can show the publish in the title, in the source code, it still shows the shortcode ...
1
vote
0answers
47 views

Get all posts with a duplicate name

I am running an import script which adds a large number of product post types. Some of these are identical apart from perhaps a size or colour value in the CSV. My script creates the new post types (...
-1
votes
2answers
62 views

How to add … after a particular word/character limit to the title

I am working on a php code as shown below: <div class="case-breaking__content"> <p><?php echo the_title(); ?></p> </div> The above php code returns the ...
0
votes
2answers
34 views

Why in my query is display two title?

I have a quite specific problem, I created a query that currently has to display the first post differently from the rest and everything seemed to work, but there is a problem that displays the title ...
0
votes
0answers
63 views

Remove and replace the “Category: from the_archive_title with custom text

My question has been partially answered here but what I am trying to do is replace the 'Category: Word' in the page title with other text. So, my question, unlike the one asked previously, is - how ...
0
votes
0answers
29 views

How to filter page title for certain page?

I have saved in DB in options an ID of certain page. I wanna use that ID to filter corresponding page title and add a postfix in pages overview as follow. So for example to add postfix "- My Chosen ...
0
votes
1answer
29 views

How can I override the post title when a post is set to sticky? [closed]

I want to display my selected post as top post which will appear in the top of my post list. I use sticky post for this, but there is a problem in the sticky post option. It shows selected post at the ...
0
votes
0answers
16 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.
0
votes
0answers
55 views

Remove title bar from post-new.php

I want to remove post title bar form the admin area. So that the users can't add title. Users will be able to add description only. How can I do this?
0
votes
1answer
35 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
23 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
16 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
67 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
36 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
129 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
125 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
24 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 ...