The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
0answers
22 views

Title is showing “>” at the end of its name [on hold]

I am new to WordPress and my search after three hours has still not produced a solution. Any suggestions? <!DOCTYPE html> <html <?php language_attributes(); ?>> <head> ...
0
votes
1answer
19 views

Looking for Add Title Tag on Feature Images on WP

I am facing problem with adding title tag on feature images and also thumbnail posts. I tried to find out but not successful to resolve these kinds of issues. Kindly help me please how to add title ...
0
votes
0answers
29 views

the_title() Returns the page title instead of the post

I'm using a custom page for listing my posts, now using the loop and the_title() returns the page title instead of the posts. My loop is a simple: <?php if (have_posts()) : ?> <?php while ...
0
votes
2answers
26 views

How to show show the Second page title in the page

I am using a page hierarchy and I want to show the title of the 2nd parents The structure is something like Main Page Main Page > Second page Main Page > Second page > Third page Main Page > ...
0
votes
1answer
22 views

Display Menu Navigation Label

How to get Navigation Label as should be of the menu I'm using this code <?php $locations = get_registered_nav_menus(); $menus = wp_get_nav_menus(); $menu_locations = ...
0
votes
0answers
14 views

How to trim my title length by characters via php code [duplicate]

I want to trim my title length on related posts and I tried several variations and no one works. I have now this <p style="margin-top:-4px !important"> <a class="title" href="<?php ...
2
votes
1answer
69 views

Two title tags in my header

I'm building a child theme and it currently has a very simple <head> section in header.php: <head> <meta charset="<?php bloginfo( 'charset' ); ?>"> <meta ...
0
votes
1answer
31 views

Why I can not modify the appereance of my title web site in google? [closed]

I have tried everithing I have thought, but I could not solve it. The problem is that when I search my website domain in Google it appears like this: Which is different that the tittle I have ...
0
votes
0answers
11 views

How to auto generate title if no title (empty), using excerpt

I don't know much about php or anything at really. I just moved from tumblr and I have about 800 posts with no post titles which is hurting me. I do know how to place the Excerpt in the tag to ...
0
votes
0answers
30 views

How can I hide post title from Categories menu in side bar?

I hope there is someone who can help me about this. This problem makes me crazy since two days. I added "Categories" widget to my sidebar, I have 3 level categories and the 4th one is blog posts. ...
0
votes
1answer
21 views

Comparing pre-saved post_title to post-saved post_title

I'm implementing an inventory updater on a Wordpress product site that integrates with a 3rd-party website via their custom api. We're going to have a number of people updating the 3rd-party website, ...
0
votes
1answer
37 views

Single_cat_title() print the title before text

When I use single_cat_title() get the name of the current category in archive page, it works perfectly but it prints the category title before the text <h2> <?php if ...
0
votes
2answers
31 views

Is there a way to override the <title> tag specified in header.php?

Firstly this is neither an SEO question nor a question about changing the title tag sitewide. If you google my question those are all the answers you see. So we have our own theme and we have ...
0
votes
1answer
60 views

Get featured image on hover of post title [closed]

I need to get respective featured image on hovering of post title is there any plugin to achieve this I tried geting this by using Js and CSS but failed to achieve.Searched through Googe and WSE too ...
0
votes
0answers
29 views

Get menu item data from menu item ID

I want to filter the_title when I output a custom menu (of internal pages) using wp_nav_menu(). My pages have a custom field called 'short_title', and I want to use these values in my rendered menus ...
0
votes
1answer
42 views

“Maximum function nesting level of '100' reached” after adding a new filter

I am trying to filter my post title for a specific page and when a form is submitted on that page , for this I am trying to filter my title . Here is the code function filter_title_after() { ...
0
votes
1answer
25 views

How to modify a title tag in genesis?

I need to modify the outputted <title></title> tag of a few specific templates, and it has to be done in php so I can dynamically generate content for it. I've been playing around with ...
0
votes
1answer
35 views

Blank <title> on static home page?

The <title> of each page on my site shows correctly with the following code: <title><?php wp_title(''); ?></title> But on my home page, which is set to a static page called ...
1
vote
1answer
175 views

Blank space at beginning of <title> tag?

The HTML output of all my WordPress pages has a blank space at the beginning of my <title> tag. You can see the effect here. My header template contains this: <title><?php ...
0
votes
2answers
35 views

Changing the color of post title [closed]

Alright I am starting a music blog and I am working hard at coding up this theme but I am wondering why I can't do this successfully within WordPress when I know for sure it's possible. Alright so ...
0
votes
1answer
53 views

WP action/filter to modify title before header output and article output?

I'm trying to split test two versions of a posts title using a custom plugin. So far I haven't found the right filter or action to hook into to modify the title on the meta tag level before the page ...
0
votes
1answer
15 views

Add Image Before Posts Entry Title

This code adds the image before all titles on the page. How do i add one single image before the posts entry title? function adt_abovetitle($title){ //Return new title if called inside loop ...
1
vote
2answers
420 views

add_theme_support( 'title-tag' ) in conflict with custom titles function

'Title-tag' is a theme feature introduced in Version 4.1, and I want to use it as the default title of my theme. This feature should be added on the after_setup_theme or init action. It is recommended ...
0
votes
1answer
27 views

Different titles for static, posts, and every xy page

I have: a static front page "Home" a page with all my posts "My posts" all the other post/pages from the blog "Post x / Page y" and each one of them should display its title in the header. I'm ...
0
votes
0answers
108 views

Custom meta Title for custom post type archive from page

I've set up some custom post types, and created custom archives, eg in the following format: archive-books.php (With a template name of "Books Template"). I then have a page (/books/) created in ...
0
votes
1answer
40 views

Set the Title of a Custom Post Type by code as Author's Username

For a Custom Post Type I want to have the Title to always be the Authors Username. So far I've: Limited each Author to only posting this type once so as to avoid conflicts. Added code to the theme ...
0
votes
0answers
20 views

Which hook should I use to generate title from custom profile fields

I have custom post types which do not use any standard fields, and have custom profile fields only. So, I want to generate a title based on a custom profile field, but I'm not sure which hook to use. ...
0
votes
1answer
42 views

post_title in save_post action

I use save_post action to save meta field and to check if post title is set. So I check the value returned by empty($post->post_title) but I get true also if I set the title.
1
vote
1answer
49 views

Page title not showing up

I have this in my header.php file -> <title><?php is_front_page() ? bloginfo('description') : wp_title(''); ?> - <?php bloginfo('name'); ?></title> This shows title in my ...
1
vote
1answer
98 views

Adding schema.org itemprop to WP4.1 Title Tag

Since WP4.1, there is a new 'title-tag' theme feature to add the title tag. I'm reading an article here to add itemprop to the <title> tag so that it will look like this : <title ...
0
votes
0answers
27 views

Sorting posts alphabetical that have single digits

I have post titles that are like this: Episode 1 Episode 2 Episode 6 Episode 10 Episode 14 I try to list posts alphabetically but it ends up showing like this: Episode 1 Episode 10 Episode 14 ...
0
votes
1answer
89 views

Displaying Page Title on index.php

I have my posts page set as index.php, and on there I have my main heading (as I do on all pages). I'm having trouble displaying the page's heading however. The page is called 'Blog' in WordPress, ...
0
votes
0answers
60 views

How to limit the number of words allowed in a post title

It looks like there have been quite a few similar questions to this over time, but none answer my specific question, or any that do provide code which results in errors when I insert it as described. ...
0
votes
1answer
79 views

Show Wordpress Image Title Under Custom Portfolio Image

I got this custom portfolio php file here: http://pastebin.com/B4ZgdQZT or you can see it below at the end of the question... The problem is that I can't manage to show the image title. I tried ...
0
votes
2answers
70 views

Change Image depending on page path

In my header.php I have the typical header code - this is for woocommerce but the coding has nothing to do with it: <h1 class="page_title"><?php woocommerce_page_title(); ?></h1> ...
0
votes
0answers
34 views

Custom Loop and the_title();

I have used custom loop to process posts however, the loop cannot get the right title or the custom fields. I am using ACF plugin The weird thing is that the loop gets the right content through ...
0
votes
0answers
66 views

Dynamically load content based on Title and Category

After googling for about 2 days now without finding the proper answer - and I must commit that I'm not that well educated in php programming, I hope the community may provide me with the correct ...
0
votes
2answers
469 views

How to update a custom post title from a front-end form using ACF fields?

So I have a custom post title being written by a front-end (non-admin access) form using AFC fields. What I am after is a way to update the title when the post is updated from the front-end edit form. ...
0
votes
2answers
73 views

Echo title with permalink

I was creating a wordpress sidebar widget that will display recent posts. For, this i've created a custom widget(popular_posts_widget.php) and included in my theme functions.php. I was trying to ...
-1
votes
3answers
45 views

Show page name in browser

I am developing my first WP theme and would like to know how to display page name for every page/post instead of just "mysiteaddress.com" How can I set that all my posts and pages show the tittle by ...
3
votes
2answers
119 views

How to hook into the CPT's title placeholder?

I want to change the default placeholder text in my Custom Post Type title field. This isn't possible while registering a new post type. The following screenshot describes it.
0
votes
4answers
170 views

Hide page title

I have created a custom page template and want to hide page title from the page. How do I do this? I know I can just leave page title blank or do it in CSS and that works but isn't that bad for SEO ...
0
votes
3answers
68 views

How to get links to the last N posts in a specific category?

I want to display the titles of the last N posts in a specific category. I am using the following code: <?php $cat_id=get_cat_ID('category1'); $posts = get_posts ...
0
votes
0answers
122 views

How do you add Author and date Published on Category Pages?

I made a category on my Wordpress site. when i write any post and tag it in the category, the post displaying on the category pages in a neat way, everything is fine. But Google webmaster tools are ...
0
votes
2answers
35 views

Need help with page title (Static front page)

I need some help with the code to put inside the <title> to generate the following: Static front page: Should just be the bloginfo('name') All other pages: Should be wp_title() | ...
0
votes
1answer
28 views

Replace a 'Title' tag with a Custom Field

I have this code in my theme: <div class="article-navigation"> <?php previous_post_link('<div class="navigation-item navigation-item--previous">%link</div>', ...
0
votes
1answer
110 views

How to remove Title and CSS styling of title from particular page

Hello I have wordpress website and I set up a new page called Ballina (Home) which I placed as static front page. But I want to remove the title and its CSS styling from this page because I want the ...
0
votes
2answers
47 views

Keep Title and Description always

I want to keep the title and description of wordpress blog like this: Title | Description (showed in a tab of navigator). And I don't want to change his name while I am surfing the site. I think that ...
0
votes
1answer
112 views

WP List Pages - Add Title Attributes to Anchors

Using the default wp_list_pages() is there an easy way / filter to add title attribute to the anchors? Right now it just spits out the anchor with no title attribute but I would like to add it on ...
0
votes
0answers
36 views

template_redirect and title

I pass a template_redirect in wordpress as hook but I want to have a personnalized title for this page and I miss to do that. Has someone any idea ? add_action( 'template_redirect', 'virtual_pages' ...