Support » Themes and Templates » Help with PHP string manipulation

  • I would like to assign a class to the first word in both a post title & a widget title. For Example: if the widget title were “My Thoughts” I would want the output to be …

    <h3><span class=”first>My</span> Thoughts</h3>

    I am very inexperienced in PHP just doing basic modifications to make custom themes.

  • The topic ‘Help with PHP string manipulation’ is closed to new replies.