Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author DesignsAndCode

    (@designsandcode)

    Hey Martijn

    The plugin does not specify to only work on pages & posts – I think it should work with custom post types – I’ll double check and let you know.

    Thanks

    Thread Starter Martijn van der Kooij

    (@martijn-van-der-kooij)

    To enable the mce button in other post types I have made this change in the my_add_styles_admin function:

    if (is_admin() /*&& $type == 'post' || $type == 'page'*/) {

    After this the button shows up.

    If there is no special reason for this then I will keep this change 🙂

    Plugin Author DesignsAndCode

    (@designsandcode)

    Ah Martijn thanks thats great – yeah there is no reason for this – must be some code I’ve copied and pasted and left in by mistake 🙂

    Thanks for the find!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Only pages and posts?’ is closed to new replies.