Give help. Get help.

  • # August 23, 2012 at 3:57 pm

    So WordPress is outputting this


    However, I would like it to output this


    Removing the align class and removing the size- part.

    How can I go about this via a filter in the functions.php file?

    # August 24, 2012 at 12:32 am

    I’d suggest just changing your CSS to use these classes as it’s going to be a lot easier.

    # August 24, 2012 at 3:40 pm

    However I’d rather not delete and edit those classes every time I insert an image.

    # August 24, 2012 at 4:32 pm

    I think @betzster has a point here – any reason you can’t just use the classes that WP is outputting?

    # August 24, 2012 at 6:24 pm

    @thedoc As you are aware, WordPress outputs a ridiculous amount of classes. I believe this is because for the majority of people it allows for more targeting. That doesn’t mean it’s necessary for everyone. Therefore, I have removed the output of the classes for the menu and now I am trying to rid it from images. I’m not saying I can’t use them, but I prefer to markup my site the best way that works for me.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.