Tagged: , ,

Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #1077243

    Hi, I want to add some custom post types to my website (about 10 different) and have installed Toolset (full license)… I have changed my “functions.php) (from the Child Theme) according to this instructions (https://kriesi.at/documentation/enfold/intro-to-layout-builder/#alb-for-any-post-type)

    I am new to Toolset and not a real developer (PHP nor Javascript I can manage) but I expected (if i changed my functions.php correctly) to see the Avia Builder in the “Template” area within Toolset…

    If I am wrong… where do i see the changed in Functions.php within the funcitonalities of Toolset?

    #1078572

    Hey Jooster,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( do be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create a admin user and post the login credentials in the “private data” field.

    Best regards,
    Victoria

    #1078748

    pw is in private field

    #1078749

    Tnx btw for the time spend in advance

    #1078752

    website also

    #1079907

    Hi Victoria , any updates?

    Below the Functions.php from my Child Theme:

    
    <?php
    /*
    add_filter('avf_builder_boxes', 'add_builder_to_posttype');
    
    function add_builder_to_posttype($metabox)
    {
      foreach($metabox as &$meta)
      {
        if($meta['id'] == 'avia_builder' || $meta['id'] == 'layout')
        {
          $meta['page'][] = 'kpi';
        }
      }
      
    
      return $metabox;
    }
    
    #1079970

    Hi Jooster,

    Can you also provide the username?
    The code seems correct, we’ll probably need to check further why it’s not working.

    Best regards,
    Nikko

    #1080057

    sure, please see private

    #1080213

    Hi,

    I apologize for not noticing but you have this open comment on top:

    /*

    which makes the code after it not working.
    I tried to remove it in Appearance > Editor but I’m just getting this error:

    Communicatie met de site niet mogelijk om te controleren op fouten, de PHP aanpassing is teruggedraaid. De PHP-bestandswijziging moet op een andere manier worden gewijzigd, bijvoorbeeld door SFTP te gebruiken.

    Best regards,
    Nikko

    #1080566

    Hi Nikko,

    I have changed the code… it’s now ok?

    Where should I expect the builder?

    #1081380

    Hi Jooster,

    Since you have this in the code:

    $meta['page'][] = 'kpi';

    You should see the Advanced Layout Builder button on all KPI
    A sample of it shows in the link I posted in private content.

    Best regards,
    Nikko

    #1081388

    You Kriesi guys are amazing. Great. Thanks.

    Two questions:
    1) I exect to create about 10 different custom post types… where do I change which code?
    2) Is there any way I can thank you guys by sponsoring/donating to a beer fund ?

    #1081409

    Hi Jooster,

    1.) Just copy and paste this part of the code:

    $meta['page'][] = 'kpi';

    so it will look something like:

    $meta['page'][] = 'kpi';
    $meta['page'][] = 'post_type';
    $meta['page'][] = 'another_post_type';
    

    2.) There’s no need for that, we really appreciate your kind words as well as patience, your continual use for the theme is already a reward to us :)

    Best regards,
    Nikko

    #1084322

    Hi I have also tool set types installed and have a few different post types I’m using.
    All was fine but now After the 4.5.5 update it’s thrown the layout out of place on every page that is a custom post type.
    All normal pages using the ALE have no issues after the update. Just custom post types.
    It’s mainly Colum sizes and buttons

    #1084886

    Hi mmsdev,

    Can you give some links to check?
    I have checked CTR in KPI post type but I don’t really see issue.

    Best regards,
    Nikko

    #1085541

    Hi.

    I went back to version Enfold version 4.5.4 and it all fine now, ill skip version 4.5.5 as its super buggy as shown on a good few posts now.

    #1085941

    Hi mmsdev,

    I see, if there’s a new release in Enfold you can create a staging site first: https://themeisle.com/blog/wordpress-staging-site/
    Then do the updates there first, so you can test it first without risking your live site.

    Best regards,
    Nikko

    #1087413
    This reply has been marked as private.
    #1088101

    Hi Jooster,

    I apologize for the delayed response.
    No worries, I think many others also have that question however, Avia Layout Builder is only available for the content part but not for all entries.

    Best regards,
    Nikko

    #1088598

    Hi Nicco,

    Can I deactivate the Toolset plugins without returning the functions.php? Of do I have to retyurn to the old functions.php?

    Regards,

    #1088681

    Hi Jooster,

    I’m not sure I understood well what you mean but if you deactivate toolset plugins, I think you can keep what you have in your functions.php, those extra codes will not run, it would be better to remove it or just comment it out.

    Best regards,
    Nikko

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

You must be logged in to reply to this topic.