The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
61 views

[Plugin leenk.me]modify get_the_title

I use a plugin called leenk.me to post messages to Facebook based on my posts. One of the custom fields is %TITLE%, which posts the title of my post and the link to my post. if ( false === ...
0
votes
1answer
92 views

get_the_title outputs title until spacing; it does not get full length of title

If I have a post with a spacing in it (like: Hello World), than get_the_title shows me only "Hello" as a link and not the whole permalink. I already tried using a substring to get it done, but it did ...
0
votes
1answer
133 views

How to get all post titles starting with numbers and symbols?

I want to get all posts which are starting with a number (0-9) or symbols, in a list. I managed to get it work for letters, but this one is harder for me. Can someone help me out please? I tried ...
0
votes
2answers
382 views

Don't submit post if post title exists

I am using the User Submitted Posts plugin which I love. The only problem with this plugin is that it does not check for duplicate post titles and outputs a post with the same title, even if it ...
0
votes
1answer
190 views

Include title and content of one page in another page

In this question contents of another page can be rendered to another page, but how do I do it for the title too? Can I just go $content = apply_filters('the_title', $post->post_content);? But ...
0
votes
2answers
85 views

Get all children titles of a page as a link to them

I want to pull all the children titles of certain page and put them as a link. This is what i got so far: $my_wp_query = new WP_Query(); $all_wp_pages = ...
1
vote
1answer
253 views

Include category title in wp_title

I'm using this in functions.php to output my page <title>: /** * Creates a nicely formatted and more specific title element text * for output in head of document, based on current view * * ...
0
votes
0answers
52 views

Putting the title attribute in image tag — Snapshot Theme from Woothemes

Does anybody know, how to insert the title used in the field "screenshot" and "large-image", in Snapshot Theme from Woothemes? I´ve tried using 'the_title();', but I get the post title, not what I ...
0
votes
1answer
129 views

Apostrophe and hyphen removed from title

I have a site where any Title of a Post that has an apostrophe or a hyphen ends up displaying to the site visitor as if those characters were not there. My permalinks are functioning just fine so I ...
0
votes
1answer
45 views

Add the custom post term to the custom post title

what I need is this: add a term from a custom post to the post's title. Like this: Custom Post title - term Right now I have: $terms_of_post = strip_tags (get_the_term_list( $post->ID, ...
0
votes
1answer
57 views

“Page” info to post in my contact page using gravity forms

I need "Page" info to post in my contact page using gravity forms (GF's aren't necessarily the issue, because it would post on my contact page if applicable) I am creating a contact page and using ...
0
votes
1answer
126 views

How can I change the title of the Home link in the navigation bar?

I use Bones theme with a static front page. The header.php calls the bones_main_nav() function without parameters, while bones_main_nav() only calls the wp_nav_menu() function.
0
votes
2answers
72 views

What can i do add title to 'large' image?

<?php if ( has_post_thumbnail()) { $large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'large'); echo '<a href="' . $large_image_url[0] . '" >'; ...
0
votes
1answer
58 views

How to delete posts which have same title?

Some of my posts duplicate title. How to delete them ? And keep only one. Example: I have 4 post which have same title. And I want to delete 3 posts and keep one post. How to do this ? Thank you ...
0
votes
0answers
40 views

My title is repating itself

I have been looking on some of the other questions in here, but they did not solve my problem. I got a Wordpress Multisite with Buddypress installed. When I am logged in as the super admin, I can ...
0
votes
1answer
31 views

If post exists, make it a comment in existing post with same name?

Is it possible to make a comment out of a post that already exists (with the same name). For example, if the post 'Hello World' exists and a users posts another 'Hello World' post, it should make the ...
2
votes
2answers
272 views

Filtering 'the_title' with option to return subhead?

Problem: The WordPress iPhone app (and other WordPress-related smartphone apps) do not allow for much other than the Title and Body fields (i.e. no access to custom fields). Goal: My current ...
0
votes
1answer
204 views

Blog Title not showing up on main Blog page

I cannot get the main blog page with the current blog to show the current blog title. It shows on all other pages, just not the current/most recent blog. Any help will be greatly appreciated. Thank ...
0
votes
2answers
395 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
56 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
397 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
1k 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
4answers
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
133 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
4answers
992 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
80 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
414 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
319 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
276 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
162 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
1k 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
1k 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
148 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
144 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
77 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
2k 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
201 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
134 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
86 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 = ...
3
votes
3answers
2k 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
85 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
41 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
58 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()) : ...
1
vote
3answers
1k 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
647 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
81 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
273 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
90 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
145 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?