The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
3answers
35 views

Multiple Conditions for Child Page Title

I've been trying to work with Conditional Tags and cannot wrap my head around this problem. PHP novice here. On sub-pages I need to display the parent page title as well as the page title. I have it ...
0
votes
0answers
19 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 ...
0
votes
0answers
11 views

Title Page reverting to homepage

Whenever I add or edit a new page, the page title automatically switches to the same title that's used on my static homepage page. If I change the title to what I want it to say, it reverts back to ...
0
votes
0answers
25 views

When editing, my post titles and permalinks revert to the title and permalink used for static homepage

Whenever I add a new post or edit an old post, the post title automatically switches to the same title that's used on my static homepage page. The permalink also changes to the same link, with a ...
0
votes
1answer
40 views

Add the post type to the title of the page

How can I add the custom post type to the title of the page, I mean the title in the tag in the header. It should look something like this: Webpage name | Products > Sony Playstation 4 Thanks ahead! ...
0
votes
1answer
8 views

Output Taxonomy Title as Part of Result

I have a list of product details in pdf format. There are about 300 of them, and each one is a post within a custom post type of "details". Each post is linked to any combination of 3 taxonomies: ...
0
votes
1answer
32 views

Wordpress widget title coding

I have a problem with wordpress widget titles, some widgets are not affected by theme custom encoding. Here is the codes; function ecce_widget_title($title){ if( empty( $title ) ) return ' '; else ...
3
votes
1answer
629 views

Bulk edit wordpress images alt and title attributes

I uploaded around 600 pictures in different galleries in wordpress without setting the titles and alt attributes. I need to edit them, I was wondering a way to edit them by album, let's say the title ...
1
vote
2answers
458 views

Change Genesis <title> Tag from Page Template

I have made a page template for a Genesis theme in which I want to change the <title> tag but I can't find any API reference or example to do this. Does anyone have any idea how to do this?
1
vote
1answer
912 views

How to remove title attribute from gallery links and images

I want to remove the title attribute from within the output of a [gallery] shortcode e.g. <a href="url" title="bobby"> <img src="url" title="bobby"/> </a> should be: ...
0
votes
3answers
905 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 ...
1
vote
1answer
300 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
2answers
308 views

Showing RSS feed via fetch_feed. How to show the site title of the feed?

Question is simple. Can i get the title and main url of the site from where the posts are loading? Actually i want to linked to the main site. The url can be found by wordpress function esc_url(); ...
0
votes
1answer
22 views

Strip $before & $after strings from a page title

So I have plugin that pulls remote data (real estate listings) into a wordpress site. I have been asked by a client to allow the page title for each listing to be set based upon that information and ...
1
vote
1answer
48 views

How to change the full capitals font title of my WordPress Blog?

I would like to show my WordPress blog's title as "Dummit foote 4.2.4". But I am getting all capitals as "DUMMIT FOOTE 4.2.4" What should I do to change this? I do not see any editor case in my ...
0
votes
1answer
33 views

Show Sitename on Yoast SEO Title tag

I am using Yoast SEO plugin on a site. Right now if a Post's Title is left empty in the metabox for a post, then the Title tag will output in this format... %%title%% %%page%% %%sep%% %%sitename%% ...
2
votes
4answers
2k 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
529 views

Auto save title as custom meta field value

I create a custom post type where I removed the "Title", instead I want to use one of my custom meta value to become the title. This is just to make sure the title look good. Know that the post ...
0
votes
0answers
36 views

Check if post title already exists

I'm using the plugin "User Submitted Posts" which allows my users to create posts frontend. So I basically have a frontend post form. I'm trying to find a way for my users to be informed if a post ...
2
votes
2answers
63 views

How to make a H1 different then the Title?

What I want to do is... on a per page/post basis I want to be able to have the H1 say something different then the Title... This should be such a simple thing, but I've been looking around for an ...
0
votes
0answers
25 views

Prevent special characters in titles being turned into code

I'm having a problem with Wordpress converting any special characters in my title to the HTML code for that character. For example, if my title is: "Post Title" Wordpress saves this as: ...
0
votes
1answer
44 views

Custom title widget / HTML encoding

I'm not the first person who has battled the matter of WordPress stripping HTML from widget titles. There are a number of custom widgets out there that allow you to add e.g. links to titles, but I ...
1
vote
1answer
52 views

Custom Postype specific changes in admin panel

I have this small bit of code which does exactly what I need. But I want to limit its use to one Custom Post Type (CPT) only. add_filter('sanitize_title', 'my_custome_slug'); function ...
0
votes
0answers
26 views

Dynamically generate custom post type title from category

I have a custom post type named "event", for which i disabled the title field. This results in the post to be automatically named "Auto Draft" and the slug "auto-draft-x" How can i automatically ...
-1
votes
2answers
46 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
4answers
39 views

Text under post title on frontpage but don't want it in full post

On the frontpage of a blog I want a piece of text (like an excerpt) under the title but I don't want is showing up in the full post. Any ideas how I would go about this? EDIT: Wasn't precise enough ...
0
votes
1answer
39 views

Why would apply_filters return a non-empty string, when the value returned is empty?

Been breaking my keyboard over this. Did a proper install, uploaded the database to a fresh MySQL and been working on using child themes properly. But there is something plaguing me I can not figure ...
0
votes
2answers
139 views

How to I make my post title link to a custom field

I have a custom field in my posts called post_bookmark_url which contains a link. I want the post title that is displayed in the excerpts on my home page to link to the post_bookmark_url rather than ...
0
votes
0answers
30 views

Custom title for custom post types

I need to change the title for a custom post type ("movie") in my site. I added the following function to my functions.php file but I see no changes in the title: function theme_wp_title( $title, ...
0
votes
1answer
35 views

How do I remove 'Home' from homepage title?

On the site I am working on, currently page titles have this format: Page title | Site name This is fine, but I want the Page title removed from the homepage, as the Google search result for the ...
0
votes
2answers
56 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
62 views

previous_posts_link and next_posts_link, how to return the next/previous post's title as the url

The site I am working on needs to have the returned url set a specific way. That being said, all posts are basically images that are posted, with there titles being said as the page urls. How do I go ...
1
vote
0answers
137 views

Auto Add Image Title,Caption,Alt Text,Description while uploading Images in WordPress

Can anyone tell me how to auto fill/add same image title in title, caption, alt text and description while uploading any image in my WordPress Posts.
0
votes
2answers
756 views

My post titles is getting mashed up with my blog title

I installed the all in one seo pack plugin and after enabling it my post titles get "stuck" with my blog title without a space in the title. As you can see the post title is: ******.blogg.no And my ...
0
votes
1answer
42 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
30 views

Custom field in title

I'm trying to change the posts with no titles to 'custom field' + 'mystring'. So far I got this code. add_filter( 'the_title', 'ta_modified_post_title'); function ...
3
votes
1answer
3k views

get attachment title based on attachment id

I'm getting an image through getMeta. It returns me the id of the attachment. Now I want to get the titel, alternative text, description and so on. For the alternative text this works very well: ...
0
votes
0answers
84 views

Static Page Titles for Genesis Single Post Page

I would like to have a static Page title not post title to my single post pages. Right now i have my News page and Events page. that's using a custom query. I'm not really sure how to explain it. I ...
0
votes
1answer
193 views

Show page title just from the first child-page in template

how can I do this: Pages: Home - sub-1 -- sub-sub-1 --- sub-sub-sub-1 On home-page should only show the page-title of the first child-page like: sub-1 I found this: <?php $child_pages = ...
0
votes
1answer
246 views

Updating post title using wp_update_post

I am creating a custom post type for a people page for a client website that has meta fields for both first and last name, but I would also like to update the title for the custom posts to be a ...
0
votes
1answer
835 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
0answers
40 views

Title after content dynamic_sidebar

Is there a configuration to change the dynamic_sidebar widget's title order? I want to display title after the content. I used JavaScript to swap it at page load and looking for a robust -- tangible ...
5
votes
1answer
7k views

Translate widget titles using qTranslate plugin

I'm actually using the qTranslate plugin to translate my website. It works really well with everything except one thing. the titles of my sidebar widgets. Actually, to translate some words we need to ...
0
votes
2answers
61 views

Using a Custom Field instead of original title field but only for Custom Post Type

I am trying to get a custom field value (Field "bildname") as my post title, and another (Field "bildbeschreibung") as my content in my Custom Post Type. It is not really working though. First it kept ...
1
vote
1answer
46 views

How to Customize “WordPress > Error” Text in Titlebar?

When a user doesn't enter all required things in comment box area and click on submit comment button, a new page is shown telling user that some required fields are missing such as name, email, etc. ...
1
vote
3answers
5k 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 ...
0
votes
1answer
25 views

Custom Meta Title for Custom Post Type

I have several custom post types that need to display different values within <title></title> in the header. I understand for the home page, posts, categories, and pages you can use.. ...
0
votes
1answer
94 views

Weird characters in title if it contain “ ”

If my post title contain “ ” all the title stored in the database title column in weird characters like this ...
-2
votes
1answer
57 views

How to get page title with the page ID?

My page ID is: 30601 How can get the title of this ID? I want get page's title with ID.
0
votes
1answer
54 views

how to remove the default title of Categories widget

hi i'm using the Categories widget show hierarchy. I leave the space for title because I don't need to show any title. but it then displays on the website as "Categories". how can I remove that?