0

I have a blockquote and I can float it left or right if I want by going into the html editor and adding class="alignleft" etc. Is there any way I can make that available to a non tech individual with a button or plugin / function or something. I think i'm looking at a tinymce plugin but i've never done anything with that area; so hoping to avoid that at this time if at all possible. If that is what I need would anyone have a code snippit or a link to a good tutorial. I imagine it's a fairly common thing to have.

1 Answer 1

2

This tutorial gives you a short plugin you can modify to create a "styles" drop down with the "alignleft" and "alignright" classes in it.

As a note, just to stay out of WordPress's way, I might choose a different class or at least something prefixed like me-alignleft.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.