Support

Account

Forum Replies Created

  • Thank you for your response! I can add php code while using elementor either by using dynamicooo´s raw PHP widget or by just adding a PHP Code snippet with the code snippet plugin.

    But the code:

    remove_filter(‘acf_the_content’, ‘wpautop’);

    Does not remove the p tags (line breaks) that are added to any WYSIWYG content that gets loaded into a page by the elementor dynamic tag.

    Currently my workaround is that I remove the space those p tags create (which is caused by the theme settings at least thats what someone else told me):

    p {
    margin-bottom:unset;
    }

    This won´t help if I would want a WYSIWYG text content included manuelly set linebreaks to flow into an existing text.

    Meaning something like this won´t work:

    This is the text that is in the page and now I want <THIS SNIPPET INCLUDING THIS
    INTENTIONAL LINE BREAK> to be sticked into the original text.

    Because it would look like this:

    This is the text that is in the page and now I want
    <THIS SNIPPET INCLUDING THIS
    INTENTIONAL LINE BREAK>
    to be sticked into the original text.

    If you have a working approach for that, then it would be fine to know it just in case 🙂

  • To bring it to more simply words: I guess a direct access to the functions.php from within the GUI would be great 😉

    To add settings from within the field defention screen with this type of code:
    https://www.advancedcustomfields.com/resources/adding-custom-settings-fields/

    Or adding complete field types including settings from the Fieldgroup Screen with this type of code:
    https://www.advancedcustomfields.com/resources/creating-a-new-field-type/

    somehow in the spirit of this plugin:
    https://de.wordpress.org/plugins/code-snippets/
    But more integrated into the process of creating custom fields with the ACF GUI

    Any idea if something like that allready exists as an addon?

    Thanks!

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