-
AuthorPosts
-
January 26, 2014 at 1:14 pm #215008
Guys i have a problem, the blog posts are not showing ,
blog posts are not showing on the homepage either
everything seems to work when logged in as admin
January 26, 2014 at 1:20 pm #215010Found out it is just the blog grid that is making it not show. Is there anyway to get the blog grid to work on safari and firefox
January 27, 2014 at 7:50 am #215187Hey!
Please deselect the Blog on Enfold > Theme Options > Where do you want to display Blog?. Edit the homepage that you set on Enfold > Theme Options > Frontpage settings then insert the Blogs Posts element. Set it to Grid Layout.
Regards,
IsmaelJanuary 27, 2014 at 12:47 pm #215309No it still does not work, i cannot get safari or firefox to show masonry or blog grid
January 27, 2014 at 1:51 pm #215322On further inspections i have found “dudes” code and gave it a shot. It worked, but what was the problem ?
add_filter(‘avf_registered_post_type_array’, ‘avia_remove_bbpress_post_type_options’, 10, 2);
function avia_remove_bbpress_post_type_options($post_type_option, $args)
{
if(!empty($post_type_option))
{
foreach($post_type_option as $key => $post_type)
{
if($post_type == ‘forum’ || $post_type == ‘topic’ || $post_type == ‘reply’)
{
unset($post_type_option[$key]);
}
}
}return $post_type_option;
}add_filter(‘avia_masonry_entries_query’, ‘avia_remove_bbpress_post_type_from_query’, 10, 2);
add_filter(‘avia_post_grid_query’, ‘avia_remove_bbpress_post_type_from_query’, 10, 2);
add_filter(‘avia_post_slide_query’, ‘avia_remove_bbpress_post_type_from_query’, 10, 2);
add_filter(‘avia_blog_post_query’, ‘avia_remove_bbpress_post_type_from_query’, 10, 2);function avia_remove_bbpress_post_type_from_query($query, $params)
{
if(!empty($query[‘post_type’]) && is_array($query[‘post_type’]))
{
foreach($query[‘post_type’] as $key => $post_type)
{
if($post_type == ‘forum’ || $post_type == ‘topic’ || $post_type == ‘reply’)
{
unset($query[‘post_type’][$key]);
}
}
}return $query;
}January 28, 2014 at 4:41 pm #215868Hey!
That removes the bbPress post types from the query but if I remember correctly it was a conflict that has since been patched.
Best regards,
DevinJanuary 28, 2014 at 4:47 pm #215871I am using the latest version and if i remove that code then the masonry and blog grid only display if i am logged in as admin.
Any help would be appreciated
January 28, 2014 at 5:02 pm #215883You’ll need to keep it in until the next release is out.
February 6, 2014 at 2:49 am #220226similar issue here… in my case the blog-grid feature doesn’t work in Firefox if bbpress is activated (Safari shows Blog-Grid). If bbpress is deactivated everything works fine…
-
AuthorPosts
- The topic ‘BLOG not showing in Safari and Firefox’ is closed to new replies.