1180 posts
  • Affiliate Level 5
  • Author Level 5
  • Collector Level 2
  • Exclusive Author
+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
  • 6 Years of Membership
  • Author Level 5
  • Belarus
  • Collector Level 2
+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.

2627 posts Put a Donk On It
  • Weekly Top Seller
  • Elite Author
  • Exclusive Author
  • Featured Author
+11 more
ThemeProvince
says

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

1180 posts
  • Affiliate Level 5
  • Author Level 5
  • Collector Level 2
  • Exclusive Author
+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