Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

Storyman on "Make bloginfo('name') HTML friendly"

$
0
0

Objective: Wrap <span> tags around first word of blog title.

Status: Successfully hard coded header.php so that it wraps <span> tags around first word and assigning the string to $new_title.

Problem: How to replace bloginfo('name') with $new_title.

Is there a better way to approach this like creating a function that allows the blog title with HTML tags? Is there a trick in using HTML tags with the blog title?

Where to go from here?


Viewing all articles
Browse latest Browse all 8245

Trending Articles