snugRugBug Posted September 2, 2015 Share Posted September 2, 2015 {{$category_title = str_replace(' and ' , ' and<br/>', $category->_title);}}In one of my templates, I want to insert a break after every occurrence of the word 'and' in my category title. The line above should do it, but when the code below is used, I see no effect.<h4>{$category_title}</h4>How do I circumvent this? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.