1179 posts
  • Exclusive Author
  • Interviewed on the Envato Notes blog
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Referred between 200 and 499 users
  • Has been a member for 6-7 years
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..

124 posts
  • Belarus
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 5-6 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.

2566 posts Put a Donk On It
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • United Kingdom
  • Exclusive Author
  • Attended a Community Meetup
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Referred between 200 and 499 users
+5 more
ThemeProvince says

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

1179 posts
  • Exclusive Author
  • Interviewed on the Envato Notes blog
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Referred between 200 and 499 users
  • Has been a member for 6-7 years
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
by