Forum Replies Created

  • From your screenshot, it looks like you’re using a “Page Link” field type, not a “Post Object” field type.

  • Hi @elliot,

    The big issue with all the screenshots above was happening before WP 4.3 and ACF 5.3.0. I noticed the editor toggle bug after updating to WP 4.3, but that got fixed with the ACF 5.3.0 update.

    I ran the same three tests from earlier after updating everything, and though the code in the ACF editor no longer changes, empty paragraphs still get rendered to the page. Putting the shortcodes and paragraphs on their own lines like in my first example renders empty paragraphs before and after my content. Putting everything inline (2nd test) still renders an empty paragraph after my content. The third test with hard returns and no paragraph tags in the editor at all puts a line break at the beginning, my first block of content without any wrapping tags, an empty paragraph tag, then my second block of content in paragraph tags –

    Thanks for the idea @jonathan. I’ll consider that, but there are other shortcodes in this plugin that are very useful like tabbed content and accordions/spoilers.

  • Yeah, I agree that extensive use of shortcodes isn’t the best. I am a developer actually, but my clients are not and want the functionality that the shortcodes provide, so I give it to them. Maybe I should encourage my designers to shy away from laying out example mockup content in a way that would necessitate shortcodes. Hmmm…

    Thanks for the help Jonathan!

  • I just updated my WP installation to 4.3 and the ACF WYSIWYG is still acting strange, but a little different than before.

    It’s no longer changing the code saved. Whether I’m using paragraph tags, inline, or hard returns, it stays the same. However, it’s still getting rendered to the page oddly. For example, putting everything on one line adds an empty paragraph before my closing shortcodes.

    And this may have been buggy before I updated, but I just noticed that I can’t toggle between the visual and text editors. If I click the one that’s turned off, nothing happens. My selection apparently still gets sent to the cookie, though, because if I refresh the page, I’ll see the editor I tried to switch to.

  • Thanks. Do you have any idea in which version of ACF this bug started? This site I’m working on isn’t going live for quite a while (it’s pretty large), but my team is working on smaller sites that will be pushed out the door much sooner. We might need to roll some of those ACF installations back an update or two.

  • I just tried turning everything off except ACF and got the same results.

  • I’m running WP 4.2.4 and ACF Pro 5.2.9.

    I’ve got a couple ACF options pages, but that’s it. No additional hooks or filters.

    I’m using the Shortcodes Ultimate plugin to generate the shortcodes you see in my screenshots.

  • Correct. The standard WYSIWYG doesn’t appear to have this problem. Here’s an example with the standard WYSIWYG on top and the ACF editor in the History tab below.

    Same content in both originally –
    How content is saved after hitting publish/update –

    Original with all tags/shortcodes inline –
    After updating –

    Original with hard returns –
    After updating –

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