The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
70 views

How to update a custom post title from a front-end form using ACF fields?

So I have a custom post title being written by a front-end (non-admin access) form using AFC fields. What I am after is a way to update the title when the post is updated from the front-end edit form. ...
3
votes
1answer
1k 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
1answer
76 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 ...
1
vote
1answer
228 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.
1
vote
1answer
1k 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: ...
1
vote
1answer
37 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
44 views

Change Image depending on page path

In my header.php I have the typical header code - this is for woocommerce but the coding has nothing to do with it: <h1 class="page_title"><?php woocommerce_page_title(); ?></h1> ...
0
votes
1answer
23 views

Force changing the Site Title and add link

I have the function below, but it's not actually changing the site title where it is called in my theme. function blog_filter($string, $show) { if ( $show == "name" ) { $string = ...
0
votes
1answer
60 views

Changing title bar in browser window of theme “Encounters Lite”

I have an external php application for for genealogical research ("TheNextGeneration", TNG) integrated into WP. The integration plugin hooks the external content into a blank WP page and displays ...
0
votes
1answer
48 views

How to get the meta title of a page configured as blog (loop)

I'm using a function to print the titles for every type of content. I also configured a new metabox in the posts and pages to enter the title tag. This is part of the function to print the titles: ...
0
votes
1answer
93 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
1answer
103 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
1answer
169 views

Which filter affects the 'entry-title' post class

I created a plugin setting a $var to true if the post belongs to category 'a', and set the same $var to false if the post belongs to category 'b', it works and I can get the correct value depends on ...
0
votes
1answer
48 views

Show title when inserting single images

I just can't get how to do this. When inserting a gallery I have this output: <a href="path_to_files/image.jpg" title="fancy title"> <img width="150" height="150" ...
0
votes
1answer
54 views

Decouple page name from page title

As far as I can see, the name of a page (in admin) is the same as the title for the page. In many cases you would want the page name to be something else to better grasp what it's about while ...
0
votes
1answer
108 views

Hard coded main navigation

Theme twentyeleven Version 1.5 HELP PLEASE I have received an answer from @Mayeenul Islam but this has not resolved my question, if I can't make the navigation show active that's not the end of ...
0
votes
1answer
70 views

I have a problem with Home Page title

I am using WordPress and "All in one SEO pack" plugin. I set up the title, descriptions, and keywords, and everything is working nice on site. Then I accidentally looked for my site on Google. I ...
0
votes
1answer
68 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
158 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
148 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
60 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
1answer
245 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
1answer
181 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?
0
votes
1answer
139 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
160 views

Getting a specific “title for a section” only on Startpage?

I have a website which shows alle posts from my wordpress on the startpage. thanks to Stephen Harris who helped me with this code I put in the functions.php: ...
0
votes
1answer
248 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
653 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 ...
-1
votes
1answer
180 views

Manually Insert Title & Meta Description for Pagination pages?

This is second version of question Customized title tag for each page in pagination? answered by @joostvanhoof . I would like to add customized title tag <title> and different meta description ...
-1
votes
1answer
707 views

Changing the title tag from a shortcode

I currently have a shortcode which dynamically swaps out locations on a page to make each page specific to a location. For example the url http://mywebsite.com/offers/scotland/ Would make the H1 ...
1
vote
0answers
95 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
0answers
17 views

Custom Loop and the_title();

I have used custom loop to process posts however, the loop cannot get the right title or the custom fields. I am using ACF plugin The weird thing is that the loop gets the right content through ...
0
votes
0answers
37 views

Dynamically load content based on Title and Category

After googling for about 2 days now without finding the proper answer - and I must commit that I'm not that well educated in php programming, I hope the community may provide me with the correct ...
0
votes
0answers
42 views

How do you add Author and date Published on Category Pages?

I made a category on my Wordpress site. when i write any post and tag it in the category, the post displaying on the category pages in a neat way, everything is fine. But Google webmaster tools are ...
0
votes
0answers
28 views

template_redirect and title

I pass a template_redirect in wordpress as hook but I want to have a personnalized title for this page and I miss to do that. Has someone any idea ? add_action( 'template_redirect', 'virtual_pages' ...
0
votes
0answers
19 views

Unable to get result on str_replace

Can anyone please tell me whats wrong with my code below, I can echo out the authorname but I'm not able to get the authorname on str_replace. This is for replacing the browser tab title. Thanks. ...
0
votes
0answers
26 views

Title customize

I have a site of classifieds under Wordpress. I create a menu, and I fill with the cities. Each city call a .php file and show the ads for that city. I used Redirection Plug-in for convert the origal ...
0
votes
0answers
12 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
40 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
0answers
225 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 ...
0
votes
0answers
96 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
0answers
55 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 ...
0
votes
0answers
51 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
0answers
33 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 ...
0
votes
0answers
200 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
0answers
71 views

How to update permalink on the fly?

So, Wordpress automatically generates the slug/permalink on the fly based on the post title after you click away from editing the title. Is there an action/filter hook for me to change those on the ...
0
votes
0answers
29 views

Choose to show or not show title on a template?

I want to show the page title in some pages but on others I don't. I'm wondering how to do it. I thought about using differente content templates one with title and one without. But I'm wondering if ...
0
votes
0answers
204 views

Add Placeholder in WordPress Editor Content Box

I want to add a placeholder to the WordPress Editor content box. When you create a new post, the title field shows "Enter Title Here" exactly same like editor. I have used a filter to add text in the ...
0
votes
0answers
52 views

How to force when adding an image to complete title/legend fields?

I have a multi-author web site and i search a way to force my author to complete title and legend fields when they add an image. Can you help me?
0
votes
0answers
257 views

Editing does not change post_name

Suppose I wrote an article, "My Article Title", it has been saved into the database with $post_name=my-article-title , and the permalink is mysite.com/my-article-title. All good. Now, if I didn't ...
0
votes
0answers
56 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 ...