The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
17 views

Modify Title of Admin Page [duplicate]

Is there a way to modify the title generated in a custom admin page? Currently, the title generated is appended by '- Wordpress' which is a little annoying.
0
votes
0answers
27 views

how to code if the page doesn't exist execute and display this content?

I am trying to develop a wordpress theme, I having hard time on how to code on how to support on this: if I don't have any page created yet, there is a substitute title and content displayed. Is ...
0
votes
2answers
331 views

How to display page title+link of page created by user

I want to check if user is logged in and if have created a page. If so, option 1 is shown. This all works fine. But how to display page title+link of page created by that user between {page title ...
0
votes
2answers
53 views

Best way to achieve multiple links in a post title

Usually I would get a post title no problem, however now I need to achieve something like this: The Example is written for this title As you can see two words are links in the title, another ...
1
vote
1answer
309 views

How to display following posts titles in separate div's on a separate webpage

Intro: I have a webpage that is not part of wordpress. I have incorporated the wp blog posts, by putting The Loop in the page's code. This works, it displays the current posts and their following ...
0
votes
2answers
921 views

Search Post Title Only

I'm using the standard WordPress search form to search a custom post type. Here is my code: <form role="search" method="get" id="searchform" action="<?php echo home_url( '/' ); ?>"> ...
0
votes
3answers
1k views

Remove site name from <title> tag

My current <title> tags are like this: Blog post title | Site name How do I remove "Site name" so that the <title> tags will be like this: Blog post title Except, of course, on ...
1
vote
1answer
126 views

Unwanted content in website title

I use "anythingslider" jquery plugin to animate some html content in my wordpress theme. and i use this code in header.php to show title: <title><?php bloginfo('name'); ?> <?php if ( ...
8
votes
3answers
834 views

How to change the case of all post titles to “Title Case”

I am helping my father with his WordPress website. It has over 1,700 posts with TITLES IN UPPERCASE. We'd like to change these to "Title Case" in the database (possibly using this PHP script). The ...
0
votes
1answer
74 views

Disable title link in the backend for non-admins

I need to make posts not editable by non-admins in the backend, is there a way to disable the link in the title of the posts when they view the list of post published? Thanks!
1
vote
1answer
297 views

Set post title from two meta fields

In a custom post type I have post titles disabled, however in the list of posts and in the slug it just shows the title as "auto-draft". I want to automatically take two pieces of post-meta and make ...
0
votes
1answer
251 views

How to customize a title by passing query string?

I have a profile page, it is a template. Every time when I click one of a doctor, the profile page will show the specific doctor info by passing a query string. Something like profile?doctorName=abc. ...
0
votes
1answer
235 views

stdClass::$labels /wp-includes/general-template.php undefined

In my <title> tags I am getting undefined on a custom taxonomy in a custom post type and im struggling to find a way to set it. <title><br /> <b>Notice</b>: Undefined ...
1
vote
1answer
145 views

How to use the Display Name as the post title in a custom post type?

I've created a custom post type called "teacher" and I want to use that person's display name as the title of their post. Details: 1. The "teacher" custom post type supports title. 2. Only logged in ...
1
vote
2answers
689 views

the_title() shows title of the first post instead of the page title?

I'm occasionally facing this problem and not sure what causes it, any ideas? <?php get_header(); ?> <div class="content" role="main"> <h1><?php the_title(); ...
2
votes
1answer
870 views

How To Set Custom Post Type Title Without Supports

So, I asked this question differently in another thread but it was more of an advice type question so it really didn't render any useful responses. I believe I can word it better and should help some ...
0
votes
1answer
123 views

Change Bookmark Name without Changing TITLE Tag

Is it possible to change the name of the bookmarked page when a user adds my page as a bookmark without changing the title tag?
1
vote
0answers
125 views

posts-2-posts embedding post title of connected posts

I'm trying to create a default title for all the posts that are created, the title is generated by a couple of things, such as the post fields. I was able to write code for getting the post fields ...
1
vote
1answer
71 views

How can I automatically insert the page content as the title?

I have a custom post type with no Title field. These are short status messages, where only the content matters. The RSS feed and permalink display the title as Auto Draft, which is not very useful. ...
0
votes
1answer
1k views

Add a Span Around a Product Title in WooCommerce

I'm customizing a custom theme to use WooCommerce. One of the issues I've run into is adding a span tag around a product title on the single product page. I've figured out how to add a filter to the ...
1
vote
1answer
175 views

Custom title, Bones theme

I'm a total wordpress noob and ran into my first problem. I downloaded this theme. My question is how do I change how the p#logo.h1 is shown. I would like to put a <br /> in the middle of my ...
0
votes
1answer
127 views

Is it possible to have different header style blog titles in different categories?

For my category titled 'mindset' I would like to use the following style on my post header: background: none repeat scroll 0 0 grey; border-bottom: 5px solid #83990A; However for my 'news' category ...
0
votes
1answer
1k views

How to add subscript and superscript in WordPress page titles

It is possible to add subscript and superscript in a WordPress page title? I need to add pages with "H2O" in the title. I have been searching, but cannot find anything with answers... only a few ...
0
votes
1answer
76 views

Taxonomy list names with lowercase

I try to make custom taxonomies names to display with lowercase, but for some reason it doesnt work and show all taxonomy titles with big capital. Here is the code that i use: $genre = ...
2
votes
3answers
1k views

Change the_title() of a page dynamically

I'm developing a plugin that doesn't use a custom post type, but separate database tables. It's a plugin that displays a list of courses with links that lead to the different course detail pages, ...
1
vote
0answers
79 views

sql select for post_title and a term name

I'm having trouble trying to think out this SQL select I need to write; here's the gist: I'm programmatically creating posts by importing an excel file, so I'm in 100% sure of post titles, etc, since ...
1
vote
1answer
40 views

Why is a category/ tag name prefixed to title of every page?

Recently, I've noticed there is a category/ tag name "Contests" added to the title of all of my pages. I've checked the "Tagline" under "Settings" >> "General" of course, it hasn't changed. This is ...
0
votes
1answer
51 views

Title don't function as link

I know there is no link tag around title, but I don't know where to put it, please help me :) This is code if ($columns->have_posts()) : $count = 0; while ($columns->have_posts()) : ...
0
votes
3answers
903 views

Insert a span inside widget title to give a different color to the second word

I'm trying to make my widget titles two-colored; the first word white and the second one yellow. I have no idea how I can insert a span before the second word of every widget title so that I can put a ...
3
votes
4answers
536 views

What is the proper filter to add html to a post / page title?

I want to use Myanmar Unicode text on my blog. Unfortunatly, pseudo-Unicode Myanmar fonts are common. So, I am writing a plugin that will suround all Myanmar phrases with HTML span tags, and use css ...
0
votes
1answer
73 views

Echo post title in post

I am looking to echo the post title at the beginning of each post. I've tried adding the following to functions.php with no luck: function add_post_content( $content ) { if ( ! is_feed() ...
0
votes
1answer
243 views

Custom Post Title as search term

is there any way to include custom post title as search term. I create custom post types - VHS, DVD, Blu Ray. Then in search box when I write DVD I want to list all posts from custom post type DVD. ...
0
votes
1answer
84 views

Register a title automatically with a relationship field

I'm trying to optimize the code of my site . I wanted to know if it was possible to give automatically a title to a new post without having to do it manually. I have a website of video games. Before ...
3
votes
1answer
131 views

Fill post titles from post content?

I imported over 1000 posts from a Tumblr gallery. All the posts are untitled, but each has a photo and name inside of the post. How do I make take the content of each post and make it the post name?
1
vote
1answer
165 views

How can I list recent posts excerpts?

I am using this directly from the codex to list 3 recent articles titles. <ul> <?php $args = array( 'numberposts' => '3'); $recent_posts = wp_get_recent_posts( $args ); foreach( ...
0
votes
1answer
77 views

How to change tag Title to its name?

i have previously asked it in stackoverflow, but there was no answer! I wish to change the title of Tags pages of my wordpress blog. What I want to do is to keep the Tag name as it's title only. For ...
0
votes
2answers
35 views

How do i remove the title from a specific page

Hi need to remove the title of a specific page, this one. I could do add_filter( 'the_title', ai1ec_remove_title ); function ai1ec_remove_title( $title ) { if( 'Calendar' === $title ) { ...
2
votes
1answer
226 views

Display post title on individual image attachment page

How to display parent post title on individual image attachment page heading of the post gallery? Currently, it shows image name as page heading on image attachment page. Any help appreciated. Thanks ...
2
votes
2answers
669 views

page title, parent tilte and grand parent title

I am using a page hierarchy and I want to show the title of the parents and grand parents page (if there is any). The structure is something like Startpage Startpage > Second page Startpage > ...
1
vote
3answers
884 views

Limit the word count in the post title

Is there a way to limit the word count of the post title? I searched over the internet but found nothing. All I know is, only the content of the post can be limited or excerpted.
2
votes
1answer
171 views

How to intercept Post Title on Post-Save

I am new to WP and I couldn't find this solution by myself. this is my function, function explodetitletotags() { global $post; $title = $post->post_title; $tags = explode(' ', ...
0
votes
1answer
243 views

Set a custom post type's title and slug to match the current date

I have seen similar questions asked, but mine is a little different. I want to register a post type called 'minutes' that doesn't allow you to add a title or a slug, but when you publish (or autosave) ...
0
votes
3answers
184 views

Add title for previous and next posts to Yoko Theme

Help! I want to change my "Previous" and "Next" post links to use the actual post titles. I have done all kinds of online research and code manipulation without any success. I am using the Yoko ...
-2
votes
1answer
142 views

Weird html output of single_cat_title - is not inside of the html element?

I'm displaying a single "featured" post at the top of the blog index page, and category pages. I'm using this conditional to display the category name of the category page if it is a category page, ...
0
votes
1answer
64 views

Enclose title within a div?

I'm using this code to display a page within my front page. I would like to learn how to add a div / spacer to isolate the page title... If I try to add a div class within the php code then it throws ...
0
votes
2answers
111 views

Wordpress page title repeated in SOME pages

I have created a Wordpress site and titles were working just fine. Then, some time and plugins installed later, I noticed that in SOME pages I get the title repeated 2 times. Example of wrong page ...
0
votes
1answer
150 views

Blog post not showing title

When on my main site NewMediaNook.wordpress.com, one particular post does not show a title (see image below). When I am on just that one post, the title appears, and all other titles appear when on ...
0
votes
1answer
121 views

saving custom taxonomy as post title

I have two custom taxonomies; "name" and band". The first represents the name of the song, the second represents the band that made the song. I want to automatically save a combination of those two ...
0
votes
4answers
388 views

How to add a span class in the post title?

I need to add a span class in the post title, something like this: How to do that? Is this possible?
1
vote
2answers
886 views

Remove post title

Is there a way to remove the post title? or atleast not require me to enter a post title. I have migrated from tumblr to wordpress and I didn't need to have a title with tumblr so I was wondering if I ...