Make Your Titles Awesome.

Titler (aka WP Custom Headlines) is a plugin that gives you complete control over the design and styling of the titles of your Posts/Pages. Furthermore, within Titler’s shortcode you can customize and personalize your titles, depending on different parameters that you control.


For example, the title of this page has an Image (brush), the styling on the word ‘Titler’, a link and random text (the color, hit refresh and see it change). You could do A LOT more with titler. 

New in V1.5!

> Randomize Text in Title.


Titler’s Features :

  • Completely redesign and restyle a Post/Page Title. 
  • Dynamically Customize your title depending on the day/month/year.
  • Dynamically Customize your title depending on the time that has passed since the post/page was published.
  • Personalize the title depending on the user/guest.
  • Dynamically Modify your titles according to exact dates (add a message for Valentine’s, New Year,etc).
  • Dynamically Modify your titles depending on the amount of comments in the post.
  • Radnomize text in Title.
  • Limit titler to Posts / Pages / Main Loop.


Since Titler lets you generate your titles with simple shortcode, you can practically put whatever you want in the title (images, links, etc).


The Title in this page was made with Titler. Toggling with Toggler. Widgets with Widgedi! and Boxes with Boxify.


If you’ve ever used WordPress to post anything, than you can easily start styling and designing you titles.


To do so, just type the title of your choice in the Edit Post box, and wrap it in titler shortcode tags. How you design/style the text that’s between the open/closed titler shortcode, is how it will show once the post is viewed (that text will also be removed from your post/page’s content.


So, the code would look something like this :


[titler]You new awesome title![/titler]


Needless to say, whatever you add between the titler tags, is going to show as well – whether its images, links and whatnot.


The Titler title you design will not show in the admin area, and not in the url of the post/page. This will still be taken from the regular Title text field.

With Titler you can include the currently logged in user’s name (or a certain string when its a guest). To do so, you simply use the attribute user, with the following parameters :

  • user = “first”, to display the user’s first name.
  • user = “last”, to display the user’s last name.
  • user = “lastfirst”, to display the user’s last & first name.
  • user = “firstlast”, to display the user’s first & last name.
  • user = “display”, to display the user’s display name.


In the case the user did not provide one of the those parameters, or its a guest (non-logged in user) – you can include a fallback string to be included instead. to do so, add that string after your chosen parameter and separate the two with ‘||’, so the code would look like this : user = “first||fallback”.


To tell Titler where to place that text, you add the word @user where ever you want between the titler tags. Titler will look for that word in the title and replace it the parameter you chose.


For Example :

[titler user="first||Guest"]Hello @user! This is my new awesome title![/titler]



Lets say you want to modify the title (different image, include a link, highlight etc) if a day has passed since your published the post, and another time a month later, and another time 3 months later. With Titler you can achieve this, and more – you can also tell Titler to modify the titler depending on what day, month or year it is.


Time-Since-Published Dependency

To make a part (or all) of your title depend on how long has passed since the time you published the post/page, you gotta use 2 attributes in the shortcode. One to tell titler the time periods, the other for the strings to display :

  • elapsed_array, this attribute defines the times (in hours) to be used. you separate the times with ‘||’.

    so, for example, if you want a certain text to appear in the title after you published the post, than the first number would be 0, lets say you want the text to change after 100 hours, than next number would be 100, and next change would be after 1000, in the change would not change until the end of times.

    so, that parameter would look like this :
    elapsed_array = "0||100||1000"

  • elapsed_text, this attribute defines the text to appear in the title. if between 0-100 hours you want to place ‘aaa’ in the title, 100-1000 ‘bbb’ and 1000-infinity ‘ccc’, the attribute would look like this :
    elapsed_text = "aaa||bbb||ccc"


To tell Titler where to place the text, add the word ‘@elapsed’ where ever you want between the titler tags.


For example :

[titler elapsed_array="0||100|1000" elapsed_text="new||older||too old!"]My @elapsed awesome title![/titler]


Day / Month / Year Dependency

You can also tell titler to modify the title depending on what day / month / year it is. to do so, use this attributes :

  • days (day number, 1-monday, 7-sunday), months (month number, 1-12), years (year, 4-digit – 2013, 2014, 2078 etc). use those attributes to let titler now what days/months/years you want to trigger the title changes. separate with ‘||’.
  • days_text , months_text , years_text , for the relevant text to appear in the right day/month/year. again, seperate with ‘||’.

To tell Titler where to put the text for days, months, years – add the word @day , @month , @year accordingly.


So, for example – the following code :


[titler days="1||7" days_text="damn...||woohoo!" months="5" months_text="May" years="2013||2020" years_text="soon||zzzzing"]@day @year this is my new awesome title! @month[/titler]


Will begin with ‘damn…’ on Mondays, and with ‘woohoo!’ on Sundays, will continue with ‘soon’ next year or ‘zzzing’ on 2020, and every May will end with ‘May’.


Pretty straightforward.


Exact Date Dependency

You can make part of your title depending on what date it is, so you can customize your title for New Year’s, Valentine’s, etc. To do so, you have to use the dates, to tell Titler which dates to activate the text switch. Date format is DDMM, ie for first of july, the date is ’0107′, as with previous attributes, separate multiple dates using ‘||’.


To let Titler know which text to replace, use dates_text. Separate with ‘||’. Use the word @date in your title to let Titler know where to place that text.


For, example :

[titler dates="3112||0101" dates_text="Almost..." dates_text="Happy New Year!"]My awesome new title! @date[/titler]


This will show ‘Almost…’ at the end of our title on Dec. 31, and ‘Happy New Year! on Jan 1. 

In some cases you might want to modify your title depending on different popularity measures. Currently, Titler detects popularity only by using the number of comments posted. We’re working on more non-destructive ways to measure post popularity.


Modify by Range of Comments 

You can let Titler modify your title if your post’s number of comments falls somewhere between limits that you set. Very similar to Time-Since-Published dependency – if your post has between 0-10 comments, add a certain text, if your post has 10-100 comments, change the text to something different etc.


Usage is the same as Time-Since-Published dependency, only the attributes are different : to let Titler know the range of comments, use comments, and seperate limits with ‘||’ – so, comments = “0||10||100″, will set the limits as : 0 to 10 comments, 10 to 100 comments and 100 comments and above.


Use comments_text to tell Titler what text to put in the title, and use the word @comment to let it know where to put the text in the title.


For Example :

[titler comments="0||20||50" comments_text="Struggling||Hot||On Fire!"]My awesome new title is @comment![/titler]


Will produce ‘Struggling’ when the post has 0 to 20 comments, ‘Hot’ when it has 21-50 comments and ‘On Fire!’ on 51 and above comments. 

With Titler you can add random text to our titles, for example – the title of this page will display a random color name (try to refresh this page).


To achieve this, simply use the attribute random_text, and continue to type the text entries, while separating them with ‘||’. Then, add the word @random inside the title, where you want to display this text, and voila!


For example, the code for this page’s title is :

[titler random_text="blue||yellow||red||white||black||green"]This. is. Titler! [ link ][umm ... @random][/titler] 

If you don’t want Titler’s modified titles to show on search result, archives, front page, etc (basically, will show only on single pages, the_single() / the_page()). You can let Titler know this by using the only_single attribute. by default, Titler is set to show its titles only in single pages.posts, if you want those nifty titles to show in archives, search, etc – type only_single = “no”.


So, a code would look something like this :
[titler only_single="no"]My new awesome title![/titler]

If you don’t want Titler’s modified titles to show in Sidebars (Post’s lists, for example) – and only to show as the Post’s/Page’s content title. You can let Titler know this by using the only_loop attribute. by default, Titler is set to show its titles only in  the loop (so, nothing in widgets). if you want it to show in sidebars – type only_loop = “no”.


So, a code would look something like this :
[titler only_loop="no"]My new awesome title![/titler]

10 Responses to “1364200708_brushThis. is. Titler! [ link ][umm ... black]

  1. Ken

    Looks like a nifty plugin, but unfortunately, it doesn’t seem to work with the Atahualpa theme. Do you know of any workarounds? (I just want to be able to add a span tag to my page titles)

  2. nmrdxt

    Hey Ken! Thanks!
    Tested the plugin with your theme, was a bit quirky – just released ver 1.1. It works pretty smoothly with the Atahualpa theme as well :)

  3. DeerMtn

    Hi Guys, great plugin idea! =)
    I have installed your new version of Titler(1.1), but it states that there is something wrong with the headers or that they are non-existent(?) and the plugin will not activate. When I went to search for it to re-install from the file, it claims I already have it installed, so I’m not even able to uninstall it, re-install it, or try to activate it.
    I appreciate any help you can offer =)

  4. Nimo

    I’ve sent you an email, it was a repository bug that messed the folder structure. Its fixed now (created version 1.15).
    I’ve sent you instructions on how to quickly fix it in your end.
    Thanks for reporting this bug. New version is a-ok! :)

  5. Ken

    Thanks for the quick response! But no joy on my end… can you explain “quirky”?
    These may be salient points – Here’s how I have things set up…
    Am using Atahualpa “Configure SEO/Use Post/Page options” set to “yes”

    Am also using the WP drag ‘n drop menu with two of the menu tabs using an as the nav lable, and there are multiple word page names. And just to make it a pain, Atahualpa uses a inside their menu tag – which, of course, I’m using for css formatting.

    I can probably beat my head against the css, but if the plugin could *only* affect the page/post title, that would be great!

  6. DeerMtn

    Hi Nimo,
    Thank you for the quick response and quick fix!! Have it re-installed and everything worked perfectly =) Thanks so much!

  7. Nimo

    Ken, I’ve sent you an email – but in short, your theme play dirty and overrides the tag Titler is hooking to, so there is nothing we can do… sorry.

    DeerMtn, Cheers! Happy to help!

  8. Nimo

    Hey Jürgen,

    Sorry, we don’t have a German Manual … our German is horrible :)

    Thanks for checking the plugin out!