• Resolved Babak Fakhamzadeh

    (@mastababa)


    I add an ACF markdown field. If I set the field to be ‘required’, when submitting a form with the field, WordPress tells me the field is empty, even when it’s not.

    In the frontend, rendering the contents of the field, shows nothing.

    Perhaps relevant, because I do not want the main contents of the post type in question to use Markdown, I do this:

    remove_post_type_support(‘partner’, ‘markup_markdown’);

    So, how can I use an ACF markdown field, while not changing the main contents field to a markdown field, as well?

Viewing 3 replies - 16 through 18 (of 18 total)
  • Thread Starter Babak Fakhamzadeh

    (@mastababa)

    Awesome! Indeed, this now works for me both in the backend, and inside a frontend acf form.

    Many thanks! I very much appreciate your persistence!

    I do still have the button bar in the frontend which looks funky. But I see that your ‘table’ button has the ‘table’ class. This conflicts with my Bootstrap-based theme, which also uses a ‘table’ class for displaying tables.

    I can work around this with a bit of css, but it’s probably something you should look at; Bootstrap is quite a common framework, after all.

    Again, many thanks!

    Plugin Author Pierre-Henri Lavigne

    (@peter202202)

    @mastababa ok indeed the buttom from the toolbar had a “table” classname. ?? I’ve just released version 3.4.2, including the “mmd” namespace for the buttons classname that should avoid such issues in the future.

    Kinds Regards

    Thread Starter Babak Fakhamzadeh

    (@mastababa)

    You the man! ?? Thanks!

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘ACF markdown field doesn’t work’ is closed to new replies.