WP Title 2 - A Plug-in for WordPress
By ИцкатаNotice – Plug-in support discontinued
When this plug-in was released, its main target was to introduce ability to have different text for menu links and page/posts headings. This happened when WP was in version below 3.0, and all template functions that draw menu (wp_list_pages, etc.) printed the whole Title (Heading) of the Page/Post in the link text.
In WP 3.0, custom nav menus were introduced, where the site owner can easily create own menu, link to posts/pages, and add custom link text to the menu items. This major feature made WP Title 2 useless.
Since May 7, 2012, this plug-in is supported no more.
This plugin allows you to add and edit a Heading for your Posts, Pages and Custom Post Types, different from the Title (which is used in the navigation links). Very useful if you use WordPress as a CMS.
Description
If you use WordPress as a CMS for your website, and you want your headings and links to be different, this plugin will help you. It adds additional field in your Add/Edit Posts/Page form. When you fill it and save your Post, Page or Custom Post Type, the new heading is stored in the DataBase. The plugin replaces the_title() and wp_title() Template tags so that the new Heading is printed. Also, the Heading is printed in the title atribute in your navigation links.
Since plug-in version 3.0 you can enable/disable the plug-in for Posts. If enabled, a new Widget called „WP Title 2 Recent Posts“ appears in the Widgets. When you add the wiget to your sidebar, the short title is printed in the link navigation.
Since WordPress version 3.0, as the new Custom Post Types appeared, you can now choose whether to use WP Title 2 to have Custom Heading for all or some of your Custom Post Types, or none – you decide!
It is not necessary to fill the optional WP Title 2 Heading field – you can leave it empty and in that case your Post/Page/Custom Post Title and Post/Page/Custom Post Link will be the same.
WP Title 2 is compatible with all other plugins which are filtering the output of the Page Navigation and Navigation Menu Template Tags (wp_list_pages() and wp_nav_menu()).
This plugin is fully compatible with qTranslate, which allows you to post content in different languages.
Versions 3.6+ are compatible with WordPress version 3.0 and above. If your WordPress version is between 2.8 and 2.9.2, please download plug-in version 3.5.1 .
Versions 3.0 – 3.5.1 are compatible with WordPress 2.8 – 2.9.2. For WordPress version below 2.8, please download plugin version 2.1 .
Installation
Installation is extremely easy:
- Upload ‘wp-title-2′ directory to the ‘/wp-content/plugins/’ directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
That’s all! Easy, eh?
Frequently Asked Questions
- Do I have to change my templates in order to make the plugin working?
No. You do not have to change anything. Simply unzip, upload and activate the plugin. - What will happen with my old Pages’ Title?
The default Title will be printed unless you add your custom heading - What will happen if I uninstall the plugin?
Again, the default Pages’ Title will be printed - My custom headings do not show! I use version 2.0*, what is the problem?
Have you deactivated and then activeated the plugin after the update from 1.* to 2.*? If not – try deactivate and activate WP-Title-2 - After updating to the latest version, the additional Heading field does not appear in Add/Edit Post form. What the hell happened?
Since version 2.0 the plugin does not affect Add/Edit Post pages. It is available only for Pages. Because the main idea is to separate Page Title from Page Link label (the one which appears in the Sidebar’s navigation). Posts do not appear in Sidebar’s navigation and it makes no sence to have different field for Heading.
great plugin, trying to get it to work in my side bar to over ride the original title. I am using a widget that just shows 10 post from a given category, can you do that?
veka: please be more specific with your problem. I cannot understand what you mean.
Erik: give me the name of the widget plugin you are using.
Character entities are being encoded even when the use html option is selected.
For an example, view the source at http://paulspastry.com/index.php/products/catering-room-rentals/. Catering & Room Rentals is Catering & Room Rentals in the title attribute.
If I change this to Catering & Room Rentals, it works fine except then the ampersand in the h2 element is not encoded.
I’m using version 3.5.1.
You mean that it is encoded in the title tag in the head?
No, not the title element in the head section. I’m referring to title attributes within the opening tag of an element, which in this case is in the navigation list links.
The problem only seems to be with ampersands because other character entities are encoded correctly.
I will take a look Sadie. Thanks for feedback. Please tell me your WordPress version (almost sure it’s 2.9.2 but I need to know)
Thanks a bunch
)
The WP version is 2.9.2.
Hi Sadie,
I guess you’ve already updated to the new WordPress 3.0 “Thelonious”. I’ve released a new version of my plug-in, 3.6, which is now compatible with and fully supports WordPress 3.0. I’ve tested your problem on WP 3.0 and my modified plug-in and I couldn’t reproduce your bug. My ampersands are properly encoded.
Please update your core and plug-in versions and please write me if the problem still appears.
You’d better try first to enable/disable the WP Title 2 HTML Option and immediately after that go and re-save your page where the problem appears.
Seems to be working fine now. Thanks again.
I’m still using your great plugin at multiple websites! Thanx for keeping it up to date.
There is one bug I discovered today:
when I create a Page in WordPress and fill in the Title and the Title2 (Heading) it works perfectly. But if I edit the Page using WordPress’ Quick Edit it saves the Title2 as both Title and Title2.
Hi Barisko,
Thanks for your support and the feedback!
I’ll take care of this immediately when I have some free time – I have tones of work right now.
My plugin doesn’t support quick-edit mode, so it will be either fixing this bug or a new feature – updating WP Title 2 Heading in the quick-edit mode
I use WordPress as a CMS and would like the original page title to appear in the navigation menu but title 2 to appear as the header on the actual page. I am fairly sure I’ve been able to do this previously but since upgrading it appears to replace the original title with title 2 whenever a page is viewed.
Help appreciated.
I’ve tried this, but it doesn’t work. I want my menu title to be different from my page title.
I am using WP title 2 plugin beucase i want my menu titles to be different then my page headers. I also use SEO Ultimate plugin. Please help.
Chants, Best for Cheap: Guys, you aren’t helping me much. Please be more specific and describe your problems in depth. Write your WordPress core version, your WP Title version, other plugins installed, theme, in which situations the plugin does’nt help you, etc.
I have installed this plug in and can’t get it to work on the subject website. When I type the custom page heading in, it disappears when I click on „update“. I have used it successfully on other sites with the same hosting company.
I have deactivated and reactivated it. I have tried using it in Safari, Chrome and Firefox.
I really need to get this working as the client requires page headings that are more explanatory than the navigation menu links.
Fergie: Please list your active plug-ins. When my plug-in is working on other installations, most probably a specific other plug-in is causing WP Title to break.
This approach may help:
1. Compare a WP installation where my plug-in is working with the one that it breaks – check the active plug-ins
2. Make a list of the active plug-ins in your WP site where WP Title breaks which are not activated/installed in the other WP installation where WP Title works
3. Try deactivating these plug-ins one by one and check if WP Title will start working after deactivating each
If a plug-in is causing the error this way we will be able to locate the problem.
Hi excellent plugin..
will this work on wordpress multi site install? How can i get it to work on it?
Excellent plugin, but I’m starting to have 500 errors when it’s activated along with Akismet. If WP125 is activated while Akismet is deactivated, no problem. But once I activate Akismet along with WP125, the errors occur. Also. Akismet works fine on its own when WP125 is deactivated. Any ideas?
False alarm . . . seems there was a PHP5 problem that I needed to resolve by an addition to my htaccess file. All plugins coexisting fine now. Thanks!
i’ve made a small customization to your plugin to simulate the placeholder functionality of the original wordpress title field. i didn’t test it with qtranslate but it probably works. i would gladly submit you my changes an hope you incorporate the in the next version. can you contact me?