-
AuthorPosts
-
December 1, 2017 at 11:10 am #883825
Hi.
I have added this code to add avia builder functionality to my custom posts (course_units):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’][] = ‘course_unit’; /*instead add the name of the custom post type here*/
}
}return $metabox;
}All is working great from the back end, except I can’t see edit post in the wordpress toolbar. What I mean is that I can’t edit my course post while I see it, because there is no button in the toolbar.
How can I enable it for my course_units posts?
I hope it all makes sense.
Thanks a lot
Darius
December 1, 2017 at 12:37 pm #883859Hey Darius,
Please, provide to us your WP credentials and the website link.
Best regards,
John TorvikDecember 1, 2017 at 1:23 pm #883887Hi John.
Here are the details
Thanks a lot
Darius-
This reply was modified 7 years, 11 months ago by
Darius.
December 4, 2017 at 7:58 pm #884757Hi.
Anybody here? I posted the details 3 days ago.
Can we solve the problem?
DariusDecember 5, 2017 at 4:11 pm #885123Hi Darius,
Here are the threads for you to consider:
https://wordpress.stackexchange.com/questions/23386/edit-page-or-post-from-top-admin-bar
https://wordpress.stackexchange.com/questions/188157/edit-option-for-custom-post-types-archive-pageIf you need further assistance please let us know.
Best regards,
VictoriaDecember 5, 2017 at 6:04 pm #885178Cheers.
-
This reply was modified 7 years, 11 months ago by
Darius.
December 6, 2017 at 12:41 am #885298Hi,
Did you need additional help, or shall we close this thread?
Best regards,
Jordan Shannon -
This reply was modified 7 years, 11 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
