ThemeForest

How do you add span on the_title

1120 posts
  • Has been a member for 4-5 years
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Interviewed on the Envato Notes blog
  • Philippines
  • Bought between 10 and 49 items
  • Referred between 200 and 499 users
mabuc says

Hello guys,

It’s me again, asking for help.. How do you add span on the_title in wordpress like…

<h2><span>Our</span> Blog</h2> //Our Blog is a page title

I searched Google but cant find answers…

thank you in advance..

122 posts
  • Belarus
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Sold between 10 000 and 50 000 dollars
Themico says

Hi, check this

http://wordpress.org/support/topic/adding-span-to-title

I don’t think there are ways other then working with string. Alternative solution – javascript.

2507 posts Put a Donk On It
  • Attended a Community Meetup
  • Beta Tester
  • Bought between 10 and 49 items
  • Contributed a Tutorial to a Tuts+ Site
  • Elite Author
  • Exclusive Author
  • Has been a member for 3-4 years
  • Interviewed on the Envato Notes blog
+5 more
ThemeProvince says

the_title("<h2><span>Foo</span>", "</h2>");

1120 posts
  • Has been a member for 4-5 years
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Interviewed on the Envato Notes blog
  • Philippines
  • Bought between 10 and 49 items
  • Referred between 200 and 499 users
mabuc says

Hi, check this http://wordpress.org/support/topic/adding-span-to-title I don’t think there are ways other then working with string. Alternative solution – javascript.

thanks this works…

by
by
by
by
by