• Resolved kicooo

    (@kicooo)


    Hello Jeroen,

    Do you know how can we change the title from h2 to h4, please?

    The rest of footer widgets have a h4 title, but your widget has a h2 title.

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    Hi @kicooo,

    it’s not an option in the plugin, but you can edit the PHP file if you want to. I’m not sure if it always has to be a <h4>, is there a WordPress guideline for this, or is this something that is just so in your site?

    Kind regards,

    Jeroen Peters

    Thread Starter kicooo

    (@kicooo)

    Hello,

    The only one line containing “h2″ in your plugin is:

    /* Display the widget title if one was input (before and after defined by the theme) */
    echo $before_widget;

    if($this->widget_title)
    {
    echo ‘<h2 class=”widget-title”>’ . $this->widget_title . ‘</h2>’;

    I have tried that before your answer, but it did not work I am afraid…

    Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    hey @kicooo,

    if that isn’t working, then it’s probably a theme-thing. If you are using a cache plugin, please try to empty and recreate the cache. If that doesn’t work, I’m not sure what I can do in the plugin to help you.

    Kind regards,

    Jeroen Peters

    Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    Hi @kicooo,

    in the new version 2.1 of this plugin, it will let WordPress automatically create the headers around this widget title.

    I hope this will be better for you. I did some checks but in the Theme I used it will still create H2’s.

    Kind regards,

    Jeroen Peters

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘h2 to h4’ is closed to new replies.