Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Phil Ewels

    (@tallphil)

    Hi smtk,

    What is the end effect that you’re trying to achieve? Most of the differences between the <h1> and <h4> tags are cosmetic, in which case you can achieve this using CSS.

    For example (untested):

    .carousel h4 {
        font-size: 2.6em;
        font-weight:bold;
        font-decoration:underline;
    }

    Does that help?

    Phil

    Thread Starter smtk

    (@smtk)

    Thanks for your help, Phil.

    Although your example will definitely address the visual appearance and make it look like an h1, the purpose of my question was just for SEO reasons, though.

    Maybe it could be a helpful feature for a later version to have the html tag as a variable in the settings?

    Thanks again.
    Sascha

    Plugin Author Phil Ewels

    (@tallphil)

    Ah ok. You can probably do a dirty find and replace using the gettext and ngettext wordpress hooks if you’re interested:
    http://wordpress.stackexchange.com/questions/15840/how-to-rename-default-posts-type-posts

    This should be relatively simple to do, so I’ve added it as a github issue for the next release. I’ve only just pushed an update though, so it’ll probably be a while I’m afraid.

    Phil

    Plugin Author Phil Ewels

    (@tallphil)

    Hi Sascha,

    I’ve just added this code and pushed a release. It should come through shortly.

    Cheers,

    Phil

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Changing the html classes, like h4 into h1’ is closed to new replies.