Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #944766

    Hi,

    When I use Grid Layout for the blog page, the blog page itself shows up as the last post. It only happens when I use the grid layout.

    How can that be?

    #945549

    Hey HAJ-MBJ,

    Can you please provide us also with WordPress admin login?

    Best regards,
    Basilis

    #945554

    Sure – and thanks for looking into it!

    #946223

    Hi,

    Based on the slug that you have used, it is loading the proper page.
    Try by creating a new page, name is lets say test and try add the grid.

    You will see the results after

    Best regards,
    Basilis

    #946238

    Hi Basilis,

    I think we are maybe talking past each other?
    The problem is that the blog page is shown in the end of the grid as if it was a blog post. (See my screenshot for reference).
    I have created a new page and added the grid, but it behaves exactly the same.

    Best regards,
    Henrik

    #947482

    Hi,

    Sorry, I understood that this is an actual post inside the grif, because that it how it looks like?

    Best regards,
    Basilis

    #947899

    Hi,

    No, the last item in the grid is not a post- it’s a page. That’s the problem. :-) I can’t figure out why the blog grid presents a page (as if it was a blog post) in the blog grid.

    The URL I posted, is for at page with the blog grid. The problem is that the page itself shows up in the blog grid.

    Best regards,
    Henrik

    #948963

    Hi,

    Thanks for the update.

    I’m not sure what’s causing the issue, yet. Did you use another theme before Enfold? Please try to upgrade to version 4.3. Let us know if it helps.

    Best regards,
    Ismael

    #949669

    Hi,
    Yes, we actually used the Ronneby theme before switching to Enfold.
    I have now upgraded Enfold to version 4.3, but it makes no difference.
    Best regards,
    Henrik

    #950703

    Hi,

    Thank you for the update. We had to unset the post type page from the blog query.

    // post slider query
    add_filter('avia_post_slide_query', 'avia_post_slide_query_mod', 10, 2);
    function avia_post_slide_query_mod( $query, $params ) {
    	if(is_page(15)) {
    		unset($query['post_type']['page']);
    	}
    	return $query;
    }

    Best regards,
    Ismael

    #950715

    Hi,

    Thank you very much – it seems to work! :-)

    But why did the page appear there at all?

    Best regards,
    Henrik

    #951847

    Hi,

    Happy you got it short out.
    Please do let us know if there is anything else we can do for you.

    Best regards,
    Basilis

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Archive page shows up as last post in blog grid layout’ is closed to new replies.