Archived

This topic is now archived and is closed to further replies.

  • 0

Adding tag around widget title.


Question

Posted · Report post

I'm trying to add a span tag around a widget title, but I can't find where Pagelines is generating the code around widget titles.  In what file might I find that?  Changing the php in the actual widget's files doesn't have any effect so I'm assuming pagelines is overriding it somewhere.

 

Example: 

The current code is...

<h3 class="widget-title">FEATURED PROPERTIES</h3>

I need it to be...

<h3 class="widget-title"><span>FEATURED PROPERTIES</span></h3>

Share this post


Link to post
Share on other sites

1 answer to this question

Posted · Report post

Hi there,

 

I've checked the hooks reference and you should be able to create this affect using a wordpress filter. You'll need to add the code to either a child themes or the customize plugins functions.php.

 

The code on this link contains the filter and should help - http://wpquestions.com/question/show/id/3502

Share this post


Link to post
Share on other sites