The title tag has no wiki summary.
3
votes
3answers
913 views
Force post slug to be auto generated from title on save
I'm running a property site where many properties are sold in apartment blocks.
Because of this what the content editors do is create a post/property with all the details and then use a duplicate ...
2
votes
2answers
261 views
Changing “Enter title here” based on post format
I'm wondering if is possible to change the text "Enter title here" based on the post format that you selected? For example: If you select the post format Quote than your text will be "Enter author's ...
0
votes
1answer
87 views
Take excerpt of the content of the post and send it as the title to create new post
Explaining my goal: I would create the title by taking the first words of the post content. Ex: In the Admin interface would be the title field blank and the first 10 words of content would be sent as ...
0
votes
1answer
94 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 ...
0
votes
1answer
484 views
Setting title using wp_title filter
I want to do something very simple but I'm stuck finding where in WordPress I need to perform this.
When someone on my WordPress site visits a blog post page I want the title in the blog post to ...
0
votes
2answers
125 views
Change Site Title and Description html tags if not home page
For the purpose of good HTML structure, accessibility and SEO I'd like to change the site's title and description from H1 and H2 to P when appearing on any page other than the homepage. A conditional ...
0
votes
1answer
166 views
Change Default Custom Fields Metabox Name
I found that the title of the meta box cannot change via the cctm plugin. It shows "Custom Fields" as default, which is pretty annoying to see.
Image
So I decided to change it in function.php, here ...
1
vote
2answers
46 views
How do I set the blog name?
I am new to WordPress and don't know how to set the "blog name".
I need to change a current value that has been coded (or set) somewhere for the home page only.
It is appearing in the title, and I ...
0
votes
2answers
238 views
Where do I change the ACTUAL title tag that is set in the header.php
I am new to WordPress, and have been asked to change a value in the title tag.
The title tag is of the format: "site name | slogan" which is set dynamically in the header.php (seems standard code for ...
2
votes
1answer
509 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
1answer
719 views
How to get post category title within the loop?
I'm stuck in a rather simple task: to get the category title for the current post, within the loop, to be used in the function (not to be automatically printed). Any ideas?
0
votes
1answer
144 views
Title how does page no work in Twenty Eleven
I would like to understand how does twenty eleven title page no works..
sprintf( __( 'Page %s', 'twentyten' ), max( $paged, $page ) );
I dont understand the above part as in the __() function the ...
0
votes
1answer
327 views
how to display page title only for child category pages
I apologize if this is a dumb question, but I am just learning PHP and Wordpress. It's probably very simple.
I have a site where the top-level nav is all parent categories, with the child categories ...
1
vote
2answers
550 views
Change page title from plugin
Is possible to change page title on the fly from plugin?
I've try global $post, but seem like plugin runs after.
Any Ideas?
Edit:
Im writting some pages on the fly, based on same page / post, so ...
0
votes
1answer
80 views
Catagorized hierarchy menu for PAGES!
Yes, I am a noob at all this so please excuse my ignorance! So, for the past couple of days, I've been searching for a drop down page menu widget, but I would like to have the pages separated into ...
0
votes
1answer
392 views
Setting page title and keywords from PHP code
does WP offer any functions which can be used to set the page title and/or keywords from the PHP/Controller level?
I'm basically looking for something like the wp_enqueue_style() function, which ...
0
votes
2answers
506 views
How to hide post title from HTML document title? [closed]
After Tcattd kind reply, I was able to load some text, from a post content, inside a div tag along the page, but now, the name of the most recent added post was added to the HTML document title; that ...
0
votes
2answers
1k views
How do I get just the title from wp_get_attachment_image
I can get the image to appear fine in this bit of gallery code. However the flex slider gets its caption from a <p> tag (class="flex-caption") and I just need to echo out the image title inside ...
1
vote
1answer
170 views
Empty title on front page/Home
My main problem is around the title. In my index.php, I have specified a title tag and inserted the following:
<?php wp_title(); ?> | <?php bloginfo( 'name' ); ?>
My problem is the it ...
2
votes
2answers
953 views
How to get permalink and title from post ID?
I have stored an array of post IDs and I would like to list the posts as links, meaning I need to get the title and permalink for the post ID - $id. The list should be echoed out by the following if ...
0
votes
1answer
337 views
Echo title attribute php
I have the following in functions.php:
function twentyten_continue_reading_link() {
global $id;
return ' <span class="readmore"><a href="'. get_permalink($id) . '" title="' . ...
0
votes
1answer
69 views
Change Title Type
I'd like to change the title field of a post in admin panel. I'd like this field was "textarea" instead of being "input type='text'".
Would it be possible through any hook in functions.php?
Thanks ...
0
votes
3answers
144 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 ...
0
votes
1answer
502 views
Change description of my Jetpack facebook shared links [closed]
When I try to share a link from my WordPress site on facebook using the Jetpack Sharing Settings the link shows up like this:
(My Featured image picture here)
Put a hat on yo’ baby! | Trendz with ...
1
vote
1answer
94 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?
...
0
votes
1answer
204 views
How to prevent URL-modification when page title contains digits only?
When I create a page whose title contains only digits - wordpress adds '-2' to the url, like it does in cases, where there is a page with the same name already existing. However this is not the case ...
2
votes
1answer
104 views
How to add terms to a post depending on its title?
I want to add all posts with keyword "Dog Training" in the post title to a specific category.
Reason: If you enter something into WordPress search it's not an exact match. Previous WordPress search ...
0
votes
2answers
734 views
Double bar “|” in title (By WP SEO Yoast?)
I am wondering why my pages (post doesn't have this problem) have a double bar "|" in them
eg. About || Jiew Meng's Blog
UPDATE
Actually it appears in other pages too, like this. In this case, ...
-1
votes
1answer
80 views
Trying to get more space removed from my header
The last time , you help me to remove the header from all the pages besides the Home page (thanks again by the way).
The reason for me to do so , is because I don' t want my music player for example ...
0
votes
2answers
207 views
Cannot use 'CSS' in post title
Issue?
Whenever I use the term 'CSS' in a post title, the rest of the title (after the term 'CSS'), is inserted at the top of the single post page.
What steps will reproduce the problem?
1. Create a ...
1
vote
2answers
638 views
order by second word in title?
I have full names as title posts and want to order it by the surname.
How could i do this with wordpress?
in PHP it would be along the lines of -
SELECT * from posts ORDER BY ...
1
vote
2answers
329 views
Add the last viewed post title to a contactform with shortcode
I'm using the contactform 7 plugin and i want to add the title of the last viewed page (The page visited before the contact) to the dynamic field of the plugin with a shortcode. Is there a way to do ...
0
votes
3answers
90 views
Best way to handle lack of titles in microblogging
I'm experimenting with doing "microblogging" with WordPress and I'm doubtful about how to handle "titles" when one uses different post "formats" (the "formats" may or may not be related with the core ...
0
votes
1answer
117 views
strtolower <title>
Currently the WordPress Twenty something themes all have this as the title:
<title><?php
global $page, $paged;
wp_title('~', true, 'right');
bloginfo('name');
...
0
votes
2answers
2k views
How Do I Set the Page Title Dynamically?
Is it possible to change the page title with code?
For example, let's say the page's name is "Book your Order", but I want to change it to "Book Order #123".
I Google'd a bit and looked here and ...
2
votes
2answers
2k views
When calling wp_title(), do you have to create some kind of “title.php” file?
... or does wp_title() already handle the various contexts in your blog?
This could clarify for me how I can achieve a reusable index.php file without having all the conditional statements inside it ...
0
votes
1answer
161 views
Change Home Text
I'm pretty sure this can be done with a filter or some kind of find and replace...but I'm not sure how I would to do it...
I have a page called Home like so:
Screenshot
When the link is displayed ...
1
vote
2answers
756 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
399 views
Filter media upload attachment meta
I'm trying to determine a way to access the meta data for an image when it is first uploaded with the media uploader.
Looking at the media_handle_upload() function in /wp-admin/includes/media.php I ...
3
votes
4answers
505 views
How I check if the same post slug has not been used before publishing?
For an indie rock agenda I created event posts. With the help of javascript, the custom fields values (bands, places and date info picked in select boxes) are copied as the post title when publishing ...
1
vote
1answer
218 views
Limitations when modifying wp_title with a filter
When constructing the HTML <title> attribute in a theme, I found there is a convenient hook for modifying wp_title.
However, a quick review of themes indicates using this hook is not common ...
2
votes
3answers
924 views
How to change wordpress post title?
How to change just wordpress post title but not menu items.
add_filter('the_title', 'wordpress_title');
function wordpress_title(){
return 'New title';
}
0
votes
1answer
1k views
Set max title length - similar to excerpt length for outside of single.php
I've been searching for a code snippet that lets me limit the title length similar to what you can to with the_excerpt and then just display "(...)" if the title is too long.
I'd like to use that in ...
0
votes
1answer
295 views
Remove Title, Editor and Meta Box Support Based on Post Formats
Been looking around and can't find this. Is it possible to remove, let's say, the title area on post format: "quote"?
Or the editor on post format: "image"?
I noticed this page in the Codex: ...
1
vote
2answers
426 views
How to remove “Taxonomy name:” from wp_title
The wp_title-generated <title> in my custom taxonomy archive pages contains the singular taxonomy name with a colon. I can't figure out where this is coming from (or if it's default Wordpress ...
0
votes
2answers
287 views
Insert content into <title> head tag with function
Is there a hook available that lets you append or prepend text to the <title> tag in the head?
I've seen lots of posts about customizing the <title> tag, but they all involve manually ...
0
votes
2answers
460 views
Loading pages via Ajax and displaying titles
A small and possibly simple consultation.
I'm loading pages via Ajax like this:
jQuery("div.menu a").addClass("ajax");
var hash = window.location.hash.substr(1);
var href = ...
2
votes
1answer
491 views
Posts created in a Custom Post Type are lost if published without a title
I searched around and the URL below is all I could find on this problem. If I publish a custom post type's post without entering in a post title, it wipes the whole post's info and says "published". ...
3
votes
3answers
1k views
How to correctly get post type in a the_title filter
I want to prepend text to the post titles of a specific custom post type, but the filter below didn't work. Instead of changing only that CPT's post titles, it changed all titles on the given CPT's ...
0
votes
1answer
316 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 ...