Tagged: comments
-
AuthorPosts
-
May 19, 2016 at 11:55 pm #635606May 20, 2016 at 12:02 am #635607
I also noticed that related posts also don;t show up on posts with the ALE in use
May 20, 2016 at 2:58 am #635632Hi,
Please refer to this post https://kriesi.at/support/topic/alb-and-the-comment-box/#post-468780
Should you have any question let us know and we will gladly help.
Best regards,
VinayMay 20, 2016 at 5:38 pm #635993Nope. Comments still not showing up after I follow the instructions in the referenced thread. Like I said. If I disable ALE comments form shows up. If I enable the ALE comments and related posts disappear.
I also deactivated all plugins to make sure there was not a conflict somewhere. Comments form and related posts still do not appear. I am running a “child theme” of enfold – below are the contents of my functions file – just in case…
Thanks.
<?php /* enfold child theme functions file */ if(!function_exists('avia_custom_query_extension')) { function avia_custom_query_extension($query, $params) { global $avia_config; if(!empty($avia_config['avia_custom_query_options']['order'])) { $query['order'] = $avia_config['avia_custom_query_options']['order']; } if(!empty($avia_config['avia_custom_query_options']['orderby'])) { $query['orderby'] = $avia_config['avia_custom_query_options']['orderby']; } unset($avia_config['avia_custom_query_options']); return $query; } add_filter('avia_masonry_entries_query', 'avia_custom_query_extension', 10, 2); add_filter('avia_post_grid_query', 'avia_custom_query_extension', 10, 2); add_filter('avia_post_slide_query', 'avia_custom_query_extension', 10, 2); add_filter('avia_blog_post_query', 'avia_custom_query_extension', 10, 2); add_filter('avf_template_builder_shortcode_elements','avia_custom_query_options', 10, 1); function avia_custom_query_options($elements) { $allowed_elements = array('av_blog','av_masonry_entries','av_postslider','av_portfolio'); if(isset($_POST['params']['allowed']) && in_array($_POST['params']['allowed'], $allowed_elements)) { $elements[] = array( "name" => __("Custom Query Orderby",'avia_framework' ), "desc" => __("Set a custom query orderby value",'avia_framework' ), "id" => "orderby", "type" => "select", "std" => "", "subtype" => array( __('Default Order', 'avia_framework' ) =>'', __('Title', 'avia_framework' ) =>'title', __('Random', 'avia_framework' ) =>'rand', __('Date', 'avia_framework' ) =>'date', __('Author', 'avia_framework' ) =>'author', __('Name (Post Slug)', 'avia_framework' ) =>'name', __('Modified', 'avia_framework' ) =>'modified', __('Comment Count', 'avia_framework' ) =>'comment_count', __('Page Order', 'avia_framework' ) =>'menu_order') ); $elements[] = array( "name" => __("Custom Query Order",'avia_framework' ), "desc" => __("Set a custom query order",'avia_framework' ), "id" => "order", "type" => "select", "std" => "", "subtype" => array( __('Default Order', 'avia_framework' ) =>'', __('Ascending Order', 'avia_framework' ) =>'ASC', __('Descending Order', 'avia_framework' ) =>'DESC')); } return $elements; } add_filter('avf_template_builder_shortcode_meta', 'avia_custom_query_add_query_params_to_config', 10, 4); function avia_custom_query_add_query_params_to_config($meta, $atts, $content, $shortcodename) { global $avia_config; if(empty($avia_config['avia_custom_query_options'])) $avia_config['avia_custom_query_options'] = array(); if(!empty($atts['order'])) { $avia_config['avia_custom_query_options']['order'] = $atts['order']; } if(!empty($atts['orderby'])) { $avia_config['avia_custom_query_options']['orderby'] = $atts['orderby']; } return $meta; } } add_theme_support( 'post-thumbnails' ); //MAP LIST 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'][] = 'tribe_venue'; /*instead add the name of the custom post type here*/ } } return $metabox; } //So I can change the layout of an archive page add_filter('avf_blog_style','avia_change_category_blog_layout', 10, 2); function avia_change_category_blog_layout($layout, $context){ if($context == 'archive') $layout = 'single-small'; return $layout; } ?>
May 23, 2016 at 5:39 am #636536Hi,
Please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply.
Regards,
RikardMay 25, 2016 at 4:24 pm #638105Thanks Rikard, see private content
May 26, 2016 at 5:30 pm #638839Hi,
There might be some corrupted files, so please delete all theme files completely via FTP, before installing a fresh copy from your themeforest account. Here is a short tutorial on how to install the theme via FTP, in case you are not sure how that works:
Best regards,
AndyMay 27, 2016 at 8:04 pm #639490Thanks Andy, I did as suggested;
1. Removed the active enfold directory
2. uploaded a new clean enfold theme folder (just downloaded from TF) and made that the active theme (not my child theme).
3. Deactivated ALL plug-ins to make sure there were no conflicts.Result:
Posts that do not use the Advanced Layout Editor show the comments form and related posts.
Posts that have been built using the advanced layout editor do not have the comments form or the related posts.
I’ve tested this on several posts. same result each time. As soon as I invoke the advanced layout editor the comments form and related posts functionality go away.I’ve reverted my install to the child-theme (using the brand new uploaded enfold theme as parent) and re-activated my plugins so my site is restored. Still no comments form…
Thanks again.
May 30, 2016 at 4:11 am #640078Hi!
Posts that do not use the Advanced Layout Editor show the comments form and related posts.
Posts that have been built using the advanced layout editor do not have the comments form or the related posts.Sorry for the confusion. That is actually the default template when you use the advance layout builder for posts. All default elements such as the featured image, title, post meta info, related section, comments etc. will be removed. You will be able to start from scratch and design the post content as you please. If you need to add the comment section, use the “Comments” element under the Content Elements panel. For the related section, use the blog posts or any other posts elements like magazine, posts slider etc.
Best regards,
IsmaelJune 1, 2016 at 10:15 pm #641748Ha! that was a simple fix. Thank you.
-
AuthorPosts
- The topic ‘Comments’ is closed to new replies.