1179 posts
  • Has referred 200+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
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
  • Has been part of the Envato Community for over 5 years
  • Has sold $10,000+ on Envato Market
  • Located in Belarus
  • Has collected 10+ items on Envato Market
+1 more
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.

2580 posts Put a Donk On It
  • Has referred 200+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+10 more
ThemeProvince says

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

1179 posts
  • Has referred 200+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
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