• Hello,

    I was wondering if there is a plugin where I can insert HTML-snippets in the visual view that I can use when posting or in-post forms. E.g. when I write articles I already have systemic approach, so instead of manually inserting the HTML, I want to put headings in the post that are already pre-made OR if there are forms that fill in.

    Example: <div class=”heading1″>BACKGROUND</div>

    If you look at this Wiki-article: https://en.wikipedia.org/wiki/Dog
    Look at the headings Etymology, Taxonomy, Origin and so on

    I want to make headings and sub-headings that are already formatted (CSS that I have already inserted) and that I can insert

Viewing 8 replies - 1 through 8 (of 8 total)
  • In the post’s or page’s Editor, at the top there are two tabs – “Visual” and “Text”. Switch to “Text” and paste your HTML code in there.
    Be careful when switching back and forth betwenn “Visual” and “Text”, as sometimes the Visual negates some of the code.

    Thread Starter thegreatest1

    (@thegreatest1)

    Yes I know that, but I was wonder if there was a plugin that either could create pre-made forms that you could just fill in OR a plugin that makes buttons that you could just click and that header (with its specific HTML/CSS) would appear?

    Visual Editor Custom Buttons. It’s a bit out-of-date, but should still be fine.

    Thread Starter thegreatest1

    (@thegreatest1)

    YOU ARE THE GREATEST!!!! THANKS

    Btw, do you know how to only show post titles – when searching, clicking on categories, archives and so on?

    …but I thought you were supposed to be thegreatest1 🙂

    You would have to alter the Search template in the theme, which is not a good idea.
    If you need to then you would have to create a Child Theme for any changes, as when the main theme updates, all the changes you may have made to the main theme will be lost.

    In addition to creating the style.css and the functions.php, you would have to copy the Search template and add it to the child theme, then make the changes – if you have basiic understanding of php and html.

    Thread Starter thegreatest1

    (@thegreatest1)

    Haha I’m also the greatest on something else.

    I’ll create a child theme. So what do I change in search.php, archives.php and so on?

    Thread Starter thegreatest1

    (@thegreatest1)

    I got it!

    Good… if you’ve “got it” and you think you are fine to continue without any assistance right now, you could mark this thread “Resolved”. 🙂

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Pre-made HTML-snippets or Forms’ is closed to new replies.