The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
9 views

How to fix the format of entry pages with thumbnail images?

I am trying to make the entry posts with a thumbnail image to the left, and title above the excerpt of the article to the right of the thumbnail, but aligned with it. Currently, the thumbnail is below ...
0
votes
1answer
19 views

How to display alt tags in img src?

I'm working off a custom theme which they entirely left out including the alt tag in the img source. Here is an example of the code: <img src="<?php echo get_field('image')['sizes']['large']; ...
0
votes
1answer
23 views

Add the title attribute to links

I want to add a title attribute to my link like this: <a href="#" title="here is the title">LINK</a> I know how to do this in html but I can't expect this from my users. I can't find ...
0
votes
1answer
33 views

How to remove category titles?

When I go into certain categories, there is a page title that says "Category: category_name", like this: I would like to remove the "Category" from that title. I've already looked around quite a ...
0
votes
2answers
37 views

Change auto post title generation according to different post properties

I have the following snippet that allows me to auto generate the post title. I'd like to change the $post_type of the 'post_title' => $post_type . ' Job #' . $post_id line to some other post ...
0
votes
1answer
26 views

Wordpress title as keywords (tags) with excluded stop words

How to change normal sentence WordPress title to "tag like" list with excluded "stop words". Example: "This is one test post title about something." To: "one, test, post, title, something" This ...
0
votes
1answer
31 views

How remove woocommerce title on category page only by PHP

How to remove woocommerce title on category pages only (by PHP) and keep rest of titles (on search result page for example) visible? thx
0
votes
1answer
16 views

Filter page title (displayed in browser tab) of wp-login

For wp-login.php, the default page title, as displayed in the browser tab, is "Log In". I need to change this value using a filter in functions.php. Every solution I've read addresses the header ...
0
votes
0answers
23 views

How to tell where <title> tag is being pulled from

I'm working on a site, http://vibrantnation.com, and the meta info is jacked. I've looked in .header.php of both the child and parent theme, and it looks OK. I've checked plugins, like Yoasts' SEO ...
0
votes
1answer
19 views

Set post title based on first h2 element in the content section

I have a front end editor set up for users to create posts and I would like to make it as simple as possible to create posts with the least amount of fields involved. Is it possible to generate the ...
7
votes
1answer
81 views

Prevent WordPress from adding image' title automatically

I wrote a plugin that set default title for all non-set (empty) titles and leaves the titles set manually (non-empty). The problem is when I upload new photos (to gallery), WordPress by default set ...
0
votes
1answer
41 views

Get title of page from URL

I have a "Go back button": $url = htmlspecialchars( $_SERVER['HTTP_REFERER'] ); echo "<a href='$url'>back</a>"; I need to display the page title of the $url, something like this: $url ...
0
votes
1answer
25 views

Remove Permalink From Admin Edit Post

Is there any way how to edit the title field in post.php? this field: I want to remove the permalink part but I wasn't able to find any hook or filter for it.
0
votes
1answer
42 views

Remove link from page title

How can I remove the link from the page title in my WordPress theme? Here's the link to my test site and below is the code responsible for that: <h1 class='post-title <?php echo $titleClass; ...
0
votes
0answers
10 views

Use Post's subcategory in title tag

I changed my title to: %%subcategory%% %%sep%% %%title%% But WordPress doesn't seem to recognize %%subcategory%%, in the end it simply displays - My title How should I change the title to ...
0
votes
3answers
40 views

How to output the title of the blogs home page

I am using a static frontpage and a page for my blogposts. In my header.php I want to display the title of the selected page of my blogposts. For example: <?php if( is_home() ) echo ...
0
votes
1answer
24 views

plugin admin subpage title and links in menu not highlited at current page

In my custom plugin subapges i want to echo their titles specifed in add_submenu_page() but i don't know how do that. This is part of code of my plugin which display links in left-side menu: ...
0
votes
1answer
40 views

How to insert dash (-) into database using wpdb and new_to_publish hook?

I am saving titles of posts in a separate table for a specific use. The titles are saved to the database when a post is published. code is: add_action('future_to_publish', ...
0
votes
1answer
26 views

How can I choose and change a post title at random from an array when it is published?

I want to populate an array with post titles and change the title of the post (which is a draft) to a random member of the array of titles. Something like this? function set_random_title ($title) ...
0
votes
2answers
50 views

How do I change the core post search algorithm? Where is it found/constructed?

I have wordpress and woocommerce installed and I noticed that woocommerce's product search seems to use wordpress's search. Well, I don't like the search, and I'd rather alter it at the core rather ...
0
votes
2answers
89 views

convert post title to image

Im trying to convert the post title to an image. i created a php file in the theme folder image.php with the code UPDATE: working code require_once($_SERVER['DOCUMENT_ROOT'] . '/wp-load.php'); ...
0
votes
0answers
52 views

Adding number of items in cart at the beginning of the <title> tag using Javascript

I'm working on a WooCommerce site and I'm trying to add the number of items in the cart, inside of the <title> tag. The thing is: I've been looking for all over the place where the ...
0
votes
0answers
22 views

All in ONE Seo: Post Title duplicates Site Title

I use All in ONE Seo Pack. The Page Title Format is set as %page_title% | %blog_title%. However, the post title duplicates site title, for instance, It is normal for the category title, page tile ...
0
votes
1answer
153 views

Dynamically change page title from URL param

I currently use SEO plugin but I need some extra help because the plugin cannot help me in this case. I have a page that displays data based on a URL parameter (ie. http://example.com/?user=john25). ...
0
votes
1answer
29 views

my site show this symbol (::) between site title and tagline

i have a web site with a problem in a tag "<title>" , i see between site title and tagline this character (::) in home page and only one (:) in other page, in my header.php theme i have this : ...
0
votes
1answer
33 views

Hide post title input for all roles except admin

How would this function need to be updated to exclude the admin? add_action('admin_init', 'wpse_110427_hide_title'); function wpse_110427_hide_title() { if (current_user_can('subscriber')) ...
0
votes
1answer
30 views

How to get Title of Home Page to Appear on Page

How can I get the Title of a Home Page to appear? I am using the Quark "out-of-the-box" Front Page Template. Home Page "view source": <article id="post-1" class="post-1 page type-page ...
0
votes
0answers
30 views

Cannot Get Title or Thumbnail of Posts Page

I set up a page called 'News' and applied this as my posts page. I am really struggling, however, to output the title 'News' or the featured image that has been added to the page itself. Whenever I ...
0
votes
2answers
67 views

Site name not showing in browser bar, only url

Sorry for this question, but I can't work out why my site name isn't showing in the browser window even though I have wp_title() in the <head>. All I have done is used CSS to indent the text ...
0
votes
2answers
32 views

How to Implement Category.php page title in wordpress custom template?

Lets say you have a custom template and you want to implement a title of Wordpress template for section /category/general where general is a category name . How to implement category page ...
0
votes
0answers
42 views

Remove redundant meta title separator on home page

On all of my pages I have the site name, a separator character and the page name. However on the homepage it simply states the site title with no page name, however the separating character is still ...
0
votes
1answer
62 views

Change Meta Title seperator and remove on homepage

I'm trying to change the character which is used as a seperator in my page title. At present it is in the format Site Name - Page Title However I would like to change this hyphen to a pipe ...
0
votes
0answers
44 views

WP-Download Manager - Problem with titles and URLs

In WP-Download Manager plugin I've found that this code generates title of every file: Function: Rename File To Ensure (Credits: imvain2) function download_rename_file($file_path, $file) { ...
2
votes
1answer
371 views

Adding HTML within an image title attribute

I am using some jquery which applies an overlay on an image on hover. The script uses content from the image's title attribute to display over the image. When I tested this locally, it seemed to work, ...
0
votes
0answers
22 views

How to add text next to the title in the admin area

is it possible to add text at the places the arrows are pointing? I also want the text to appear only on one particular page. I would think there must an action out there that lets me do that, right? ...
0
votes
1answer
32 views

Post title to show all characters after having it limited for preview

Currenctly I have the post titles that are being limited by a wp_trim_words. Here is the code below. // Filtering character limit on post titles. add_filter( 'the_title', ...
0
votes
1answer
41 views

Display tab title as 'blog tagline | blog title'

I am currently displaying my title liek this <?php wp_title( '|', true, 'right' ); ?> it works fine for every page besides home page where tab currently says Blog title | Blog tagline is there a ...
0
votes
1answer
172 views

double page title [duplicate]

I have my page title on the home 'My siteMy site'. and other pages as 'Page title | My siteMy site'. I have checked in the header.php file for my theme and it look okay <title><?php ...
0
votes
0answers
63 views

Show Post title and featured image outside of the box

I'm trying to work out my idea to show post featured image and post title outside of the post content. Let me explain better. I'm using underscore framework. There are three files there. single.php, ...
1
vote
0answers
26 views

Yoast SEO Plugin displays “Page not found” for all custom page templates even though they work

I have created custom single pages. By custom page i mean mypage.php and this page will then display custom content. The pages all work perfectly fine and i have hooks in place to add a custom title. ...
0
votes
1answer
29 views

Custom Post Type Title Placeholder [duplicate]

Is it possible to use custom placeholder for custom post title? I couldn't see any placeholder mentioned in the labels array argument of register_post_type function documentation.
1
vote
1answer
62 views

Add Link Text Back to Insert/edit link Box

Version 4.2.1 of WordPress removed the link text from the Insert/edit link box. How can i add it back?
0
votes
1answer
172 views

Change title in head on Archive page

I'm having problems with figuring out how I can change the title on my archives pages. I now have a title like this: <title>Jobs Archive - The Company</title> But I would like to have a ...
0
votes
1answer
83 views

How to show posts rank based on custom field value

I have total 100 posts, 10 posts in each page on homepage with paginatin. Here is my code $args = [ 'posts_per_page' => 100, 'fields' => 'ids', // Add additional args here ]; ...
0
votes
0answers
56 views

Creating a Custom Title on a Custom Page Template

Most of our news site is made of WordPress Pages and Posts. Then we have several custom pages that format information from a non-WordPress database. exs. Calendar of Events, Local Nightlife Venues. ...
0
votes
1answer
23 views

Add a non-dynamic phrase/character after a page title?

I have a client that has an idea to add a coma after the main page title. Sure, this sounds simple to do-but it makes the navigation see 'WELCOME,' as well. Basically I am adding a phrase in the same ...
0
votes
1answer
161 views

Change title tag dynamically or within plugin?

I have created a WP plugin which uses the query string to pull in page data based on what the visitor has selected. Obviously this 'simulates' additional pages but the page title does not change from ...
0
votes
1answer
24 views

Variables in post title

How can I make my post title dynamic? Let's say I'm trying to make a post with this title: Today is [day]/[month]/[year] [day] should be parsed into a php code that will retrieve the current day, ...
0
votes
0answers
23 views

Increase Page Title Font Size

Site: http://tkhrepair.com/business-services/ I'm trying to make the font where it says Home / Business Services larger, I wanted it around 16px. I've tried using Inspect Element for find it, but to ...
0
votes
1answer
337 views

How to override the title tag for woocommerce endpoints?

I am trying to set the title tag for Woocommerce pages that have endpoints. I am using Yoast SEO and so far have created this: function woocommerce_endpoint_titles( $title ) { $sep = ' | '; ...