php - Remove link from header of widget -
In my WordPress theme I want to customize the title of the widget with different colors and delete the link with the title of the widget. I am
& lt; Div id = "widget2" & gt; & Lt; Ul & gt; & Lt; Li & gt; & Lt; A href = "& lt ;? php the_permalink ()? & Gt;" & Gt; & Lt ;? Php if (! Dynamic_sidebar ('widget2')):? & Gt; & Lt ;? Php endif ;? & Gt; & Lt; / A & gt; & Lt; / Li & gt; & Lt; / Ul & gt; & Lt; / Div & gt;
Unfortunately the title of the widget is found in the first line of the list item. How do I resolve it?
Comments
Post a Comment