[Support request] ACF + Custom page + Elements + Shortcode

Home Forums Support [Support request] ACF + Custom page + Elements + Shortcode

Home Forums Support ACF + Custom page + Elements + Shortcode

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1664754
    Sergio

    Hello

    More than a doubt it is an intention to confirm if what I have done would be correct:

    I have created a custom post type with custom fields and displayed them via ELEMENTS and HOOKS in the SINGLE PAGE.

    Obviously to make it look nice I have to use a lot of CSS and HTML.

    I thought of some way to use Gutenberg block ELEMENT + shortcodes. To do this I installed the “Insert PHP Code Snippet” plugin and collected the data from the custom fields with PHP in a shortcode.

    Then I create my LAYOUT with the “block” ELEMENT and insert the shortcodes where I am interested. This saves me developing the layout in HTML + CSS.

    I don’t know if I have explained myself well.

    Is this way of working correct?

    Thanks in advance.

    #1664788
    David
    Staff
    Customer Support

    Hi there,

    it is a valid method…. but you may want to wait to play with GPP 2.0 alpha being released next week… it adds Dynamic content to the Block Element 🙂

    Heres a demo of it building post archives but the principles are the same for Hooked content:

    #1664963
    Sergio

    OMG David!!! That are great news!!!!!!
    Thank you !!

    #1665377
    David
    Staff
    Customer Support

    You’re welcome!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.