0
votes
1answer
8 views

Microformats in a single post - layout conflict

WordPress uses microformats, for example, when we use the function post_class() in the DIV containing the article. It automatically includes the class called hentry, which is used in microformats. ...
0
votes
1answer
24 views

Create a list of posts with topic headdings

I would like to use a custom field "topic" to order Wordpress posts. This seems quite doable using 'orderby' => 'meta_value', 'meta_key' => 'topic' But I would also like to have a title of ...
0
votes
1answer
55 views

prevent same wordpress post title

I am working on a wordpress site where users can submit there own posts. I would like to prevent users from adding a post with the same post_title This is how i currently check to see if the post ...
-1
votes
2answers
56 views

Deleting first four characters from all Post Titles

I have a wordpress autoblog.. I need to delete first four characters from each single post title automatically.. How can I achieve it?
0
votes
2answers
125 views

How do I display the post_title with get_permalink?

I want to display the post title instead of the link to it with get_permalink. get_permalink($comment->comment_post_ID) only shows the link to the post!
0
votes
1answer
80 views

Get post title by Alphabet

I try to call this function to get a list of posts by alphabet. But for some reason i keep getting an error. Call to a member function get_col() on a non-object. What am i doing wrong? {function ...
0
votes
0answers
54 views

How to create a custom search in wordpess matching with title and metadata

I want a custom search in wordpress where the search query should return results matching to post title or with a custom metadata. For example if a user is searching for "chicken" in my site, it ...
3
votes
1answer
125 views

Remove post title input from edit page

I'd like to remove the post title input on a (cpt) post edit page (backend) based on user's capabilities. I have already found Stack Overflow question dealing the problem. However, the solution in ...
0
votes
2answers
226 views

Post titles and thumbnails as links to custom post types?

I am struggling with the php structure. How do I need to rewrite the code to get the links to the titles and thumbnails of the custom posts? <ul class="thumbnails"> <?php $pfportfolio = ...
1
vote
2answers
127 views

Wordpress not opening posts with only numbers if permalink is post_name

Someone knows why this happens? For instance, I have a post called 1987, but it does not open it when I click on the link. When I use a different permalink structure, it opens it. Why is this and how ...
0
votes
2answers
95 views

Get post title of faulty link on 404 error page

My users can link to things that don't exist on the page. That's something I chose because it is the best option for my concept. Anyway, what I want to do is this... Let's say I clicked on a link that ...
0
votes
1answer
131 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
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 ...
1
vote
1answer
389 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 ...
8
votes
3answers
972 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
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 ...
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 ...
0
votes
1answer
272 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. ...
1
vote
3answers
1k 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
187 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
3answers
220 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 ...
0
votes
1answer
198 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 ...
2
votes
2answers
270 views

Testing for post title in 'if/else' statement returns no content

I'm testing for a certain fixed post on an about page, I guessed that the best way is to test for post title (?). Here's my code, what's going wrong? <?php if (is_page()) { ...
-1
votes
1answer
33 views

clicking on page title

In the website I'm looking for something so that I can disable clicking titles in category posts. Just want them to be a simple text not a link one How can I do that? Thanks
1
vote
1answer
35 views

how to add text to posts from tags

How can I add custom generated text to posts using text from tags? Something like: [Post Title] + custom text + tags + custom text .... Or is there a plugin which does this ?
0
votes
1answer
96 views

Images inside post title

Is there a way to insert images into a post title? It would also need to display the alt text in the <title> tag, permalinks, etc. The reason I need to do this is I have a client who want their ...
0
votes
1answer
2k views

get_page_by_title() not returning anything

I'm trying to use get_page_by_title() to get the value of a parent custom post type through Gravity Forms. Basically a patient name is stored in a custom post and their patient id is the post title ...
2
votes
1answer
717 views

Disallow Same Post Title

I am looking for some code where member can't use the same title as another post already having or used. e.g if there is a post with title "Amazing Australia Tour" than it should not allow to use the ...
0
votes
2answers
204 views

How can I remove the first two words and shorten get_the_title()

Some of my posts' titles have leading words, followed by a colon. I am removing the leading words and the column of every post title in the loop with the following: <?php $title = ...
0
votes
1answer
144 views

Is there a way to separate wordpress titles from their posts?

Basically I am coding my own theme, and I would like to have my titles listed on the left hand side, so that on clicking the title, the corresponding body opens up on the right. How can I list these ...
2
votes
1answer
1k views

Get title of post without using the_title();

Noob question. Is there another way of getting a posts title without using the_title(); I'm asking because I am using a function the take a string parameter, then after some code, returns this ...
0
votes
3answers
169 views

How do I include the category next to the title of a post?

On the main page in WordPress all I want is the category to come before the title of the article posted. So for example if it's a Review, I'd like the article name to be Review: Super 8. Okay so if ...
1
vote
1answer
128 views

WordPress is replacing double minus signs in Post Title, how to disable it?

sometimes i have Post Titles that contains 2 minus signs side by side (--) but wordpress is always removing one of the minus sign. Looks like: My--Text into My-Text any idea how to disable it? ...
1
vote
2answers
2k views

Verify if tag is used on posts

I'm using site tags for a glossary. I would like to display a link to the tagged page if the tag exists, otherwise just display the tag title. Is there a check which would allow me to determine if the ...
0
votes
1answer
431 views

display only the title of the post into a certain category

My site works with phrases and texts In one category, the users send statements and debate about it. In another category, are sent statements and debate about them. I would like to show only the ...
0
votes
2answers
2k views

Blog Posts not showing title

I have my Reading settings set to Static pages and blog is set to a page called What's New. When I go to this What's New page I can see the post content but the post title with link to post page is ...
0
votes
2answers
2k views

How Can i Get 5 Recent Post Title With Corresponding Link?

I Want to Add My Latest 5 Post Title with Corresponding Link in My Header Position.What was the Actual Php code?Am Newbie ....
0
votes
1answer
69 views

Is there a way to specify an extra class for a post or page with no title?

If I do a post or a page with no title, I'm left with an empty h1 tag at the top of the post/page. I'd like to either get rid of the h1 in these cases, or else be able to add an extra CSS class to ...
1
vote
1answer
549 views

Lose “Blog Archive” from page title

Right now the title of a post page on my blog reads like this... Blog Name >> Blog Archive >> Post Title I don't see the need for "Blog Archive" to be in there and would like to remove it. I've ...