• I have a sequence of HTML that I use in many places in my posts. But I update this sequence of html frequently.

    I’m searching for a plug-in that will allow me to post somoe sort of tag that will be replaced with my HTML, I Would like to be able to create multiple tags with multiple HTML.

    Warmly,

Viewing 2 replies - 1 through 2 (of 2 total)
  • You need to edit the quicktags.js file. I’ve done some really complex tables in quicktags for a client. Here’s a tutorial on editing the file: https://tamba2.org.uk/wordpress/quicktags/

    What editing this file does is add new buttons to the bar in the edit post screen; when you click on your new buttons, whatever html you need goes into the edit screen. You can add as many buttons as you need.

    This will NOT work for the rich text editor aka wysiwyg. I think there’s another way to handle that; you might search through the codex if that’s what you need.

    Thread Starter leraptor

    (@leraptor)

    Thanks for your response.

    I thought about using PHP_exec to be able to execute PHP code in posts, and then I create PHP pages, and simply include them in the post.

    Do you think it will work ?

    Warmly,
    Sammy

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘HTML template or tag’ is closed to new replies.