-
AuthorPosts
-
March 11, 2019 at 9:50 am #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?
March 14, 2019 at 8:30 am #1078572Hey Jooster,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- 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 ). - Click ” Submit “.
- 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,
VictoriaMarch 14, 2019 at 4:51 pm #1078748pw is in private field
March 14, 2019 at 4:51 pm #1078749Tnx btw for the time spend in advance
March 14, 2019 at 4:57 pm #1078752website also
March 18, 2019 at 2:59 pm #1079907Hi 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; }
March 18, 2019 at 4:51 pm #1079970Hi 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,
NikkoMarch 18, 2019 at 8:19 pm #1080057sure, please see private
March 19, 2019 at 5:36 am #1080213Hi,
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,
NikkoMarch 19, 2019 at 11:09 pm #1080566Hi Nikko,
I have changed the code… it’s now ok?
Where should I expect the builder?
March 21, 2019 at 1:40 pm #1081380Hi 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,
NikkoMarch 21, 2019 at 1:58 pm #1081388You 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 ?March 21, 2019 at 2:38 pm #1081409Hi 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,
NikkoMarch 28, 2019 at 11:29 pm #1084322Hi 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 buttonsMarch 30, 2019 at 4:04 pm #1084886Hi 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,
NikkoApril 1, 2019 at 2:55 pm #1085541Hi.
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.
April 2, 2019 at 8:59 am #1085941Hi 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,
NikkoApril 5, 2019 at 10:14 am #1087413This reply has been marked as private.April 8, 2019 at 3:21 am #1088101Hi 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,
NikkoApril 9, 2019 at 9:39 am #1088598Hi Nicco,
Can I deactivate the Toolset plugins without returning the functions.php? Of do I have to retyurn to the old functions.php?
Regards,
April 9, 2019 at 3:38 pm #1088681Hi 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 -
AuthorPosts
- You must be logged in to reply to this topic.