WordPress.org

Ready to get started?Download WordPress

Forums

Page structure (3 posts)

  1. Noobie
    Member
    Posted 8 years ago #

    This may well be a really stupid question but I've been searching around and can't figure it out!

    When writing content to a Page using the wysiwyg editor - how would I go about adding another heading further down the page - there doesn't seem to be a way to add further <h#> tags in the quicklink icons. I don't want to use bold as it's not semantic.

    Thanks

  2. nearlythere
    Member
    Posted 8 years ago #

    quicktags is easy to customize.

    at about line 35 you can start adding in new quicktags when the 'edButtons' start. they will appear leftmost in your post editing page.

    i have a subheader for mine, and it looks like this, notice all the places you have to change.

    edButtons[edButtons.length] =
    new edButton('ed_subheader'
    ,'subheader'
    ,'<h4>'
    ,'</h4>'
    ,''
    );

    try searching the forum and the codex for quicktags examples. i think there's other examples, and maybe you could be prompted to type in 3, 4, 5, etc to get various subheadings.

  3. Noobie
    Member
    Posted 8 years ago #

    Ahh! I had no idea you could add to quicktags!

    Thank you very much for the quick response - this will save me loads of problems.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags