Skip to content
Public Ticket #21496

Change the headings of the websites

Conversation thread

PenciDesign Supporter replied

Staff Reply

Hi,

Unfortunately, the current version of Soledad doesn't support changing the HTML heading tag of Related posts, comments, ...

Regards,
PenciDesign.


Zebibron replied

Customer Reply

Hello,

Oh, great, thank you very much!

Any idea to do it for the other elemnts on the page? (Related posts, comments, etc?)

Best regards,

Xavier

PenciDesign Supporter replied

Staff Reply

Hi,

Please install the Code Snippet plugin, then create a new snippet with the following content:

function zebibron_widget_title_tag( $params ) {
   $params[0]['before_title'] = '<p class="widget-title penci-border-arrow"><span class="inner-arrow">' ;
   $params[0]['after_title']  = '</span></p>' ;
   return $params;
}
add_filter( 'dynamic_sidebar_params' , 'zebibron_widget_title_tag' );

Regards,
PenciDesign.


Zebibron started the conversation

Conversation Start

Hi!

The theme is perfect... but I have to make some changes in the headings.

All the headings markers of the sidebar are H3, but I would like to pass them in "p". I have the same issue with the comments and the relative posts, the markers are Hn instead of "p".

An example here:

3733612075.png

Do I have to do a child theme to modify them (knowing that I want to keep the same layout)? Because I ddidn't create one because I thought everything was ok and I already have customized all my parent theme. :/

Thanks,

Best regards,

Xavier

Want to join this conversation or access attachments? Sign in first.