Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1225983

    Hey,
    is there a way to create a custom single page for the blog with a mixture of Enfold shortcodes and ACF shortcodes?

    Enfold shortcodes are not executed within the single.php file. Even with the hooks function I can’t get anywhere, because it doesn’t execute Enfold shortcodes either. My goal is to use pure code to create a complete single view for the blog and other CTPs with Enfold Shotcodes and other shortcodes.

    Maybe there is a way to do this.

    #1226708

    Hey conflock,

    Thank you for the inquiry.

    The builder is set to not execute shortcodes outside the builder by default, but that behavior can be changed using this filter.

    // https://kriesi.at/support/topic/trouble-with-the_content-and-advanced-layout-editor/#post-1119884

    Set it to return true in any case, then you should be able to add the shortcodes in the template.

    Best regards,
    Ismael

    #1229939

    Hi Ismael,

    sorry, but I have no idea how to apply that. I want to use avia shortcodes in a custom single.php and the post you are referencing to didn’t help me at all.

    Is there any example how to apply the filter?

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

You must be logged in to reply to this topic.