Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #673445

    I am trying to use Avia Layout Builder with the Espresso Events plugin which creates custom post type ‘espresso_events’.

    I have added the necessary code to enable the layout builder on custom post types to the functions.php of my child theme (and tested it with a different custom post type that uses post.php to confirm that the code works). http://kriesi.at/documentation/enfold/use-the-layout-builder-with-any-post-type/

    The problem I have come across is that because these events are edited through the admin.php page instead of the post.php page, the code I have inserted does not provide access to the layout builder on this page.

    Please advise how we can enable the Avia Layout Builder of custom post types which are edited through the admin.php page.

    Thanks in advance.

    #673976

    Furthermore, if I add print_r($meta); to the end of the foreach($metabox as &$meta) loop I get the following output
    ( [title] => Avia Layout Builder [id] => avia_builder [page] => Array ( [0] => post [1] => portfolio [2] => page [3] => product [4] => espresso_events ) [context] => normal [priority] => high [expandable] => 1 ) Array ( [title] => Layout [id] => layout [page] => Array ( [0] => portfolio [1] => page [2] => post [3] => espresso_events ) [context] => side [priority] => low ) Array ( [title] => Additional Portfolio Settings [id] => preview [page] => Array ( [0] => portfolio ) [context] => normal [priority] => high ) Array ( [title] => Breadcrumb Hierarchy [id] => hierarchy [page] => Array ( [0] => portfolio ) [context] => side [priority] => low ) Array ( [title] => Avia Layout Builder [id] => avia_builder [page] => Array ( [0] => post [1] => portfolio [2] => page [3] => product [4] => espresso_events ) [context] => normal [priority] => high [expandable] => 1 ) Array ( [title] => Layout [id] => layout [page] => Array ( [0] => portfolio [1] => page [2] => post [3] => espresso_events ) [context] => side [priority] => low ) Array ( [title] => Additional Portfolio Settings [id] => preview [page] => Array ( [0] => portfolio ) [context] => normal [priority] => high ) Array ( [title] => Breadcrumb Hierarchy [id] => hierarchy [page] => Array ( [0] => portfolio ) [context] => side [priority] => low )

    Does this give any insight in to why the layout builder is not appearing?

    #675057

    Hi,

    Refer to this topic:

    Best regards,
    Josue

    #675132

    I have already followed that documentation as per my first post, to no avail.

    #675134

    Yeah i see what you’re after, making ALB work outside post.php would require a heavy modification to the theme, unfortunately that’s beyond our support scope. You can request a customisation quote from a third-party provider here.

    Regards,
    Josue

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