Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #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

    http://www.gloopy.co.uk/blog/

    #215010

    Found 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

    #215187

    Hey!

    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,
    Ismael

    #215309

    No it still does not work, i cannot get safari or firefox to show masonry or blog grid

    http://www.gloopy.co.uk/blog/

    #215322

    On 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;
    }

    #215868

    Hey!

    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,
    Devin

    #215871

    I 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

    #215883

    You’ll need to keep it in until the next release is out.

    #220226

    similar 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…

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘BLOG not showing in Safari and Firefox’ is closed to new replies.