Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1193523

    Hello!

    Some, but not all Portfolio Items are Showing in the Blog Posts Content Element my Blog page.

    I’ve tried reinstalling ENFOLD and WordPress, clearing caches and removing plugins but the issues persist.

    Any ideas?

    Many thanks in advance,

    • This topic was modified 4 years, 8 months ago by Ben. Reason: Adding cPanel access so you can access phpMyAdmin
    #1194708

    Hey ChichesterDesign,

    Thank you for the inquiry.

    Which portfolio items are not displaying in the element? Please provide links to the portfolio items that are supposed to display in the grid.

    Have you tried using the Portfolio Grid instead of the Blog Posts element?

    Best regards,
    Ismael

    #1194816

    Hi Ismael,

    Sorry, you have misunderstood what the problem is.

    The Blog Posts Content Element on my Blog page has a problem in that Portfolio Items are showing in the Blog Posts Content Element.

    The Blog Posts Content Element should only display Blog Posts not Portfolio Items.

    Many thanks in advance,

    #1195407

    Hi,

    We created a test page and add a Blog Posts element, but we didn’t see any portfolio items in the page.

    The footer page contains a Portfolio Grid element, so every page will display the portfolio items. It is set in the Enfold > Footer panel.

    Please check the private field.

    Best regards,
    Ismael

    #1199037
    This reply has been marked as private.
    #1199751

    Hi,

    Thank you for the screencast. It’s very helpful.

    We can now see the issue on our end, but we’re not sure yet what could be causing it. We tried to disable the post type order plugin because it’s known to cause issues with the post query, but the portfolio items are still showing in the blog page.

    Did you add any custom filter or modifications in the functions.php file or in the child theme? We can’t check it because the Appearance > Editor panel is not accessible. Please enable the editor or post the FTP details in the private field.

    Best regards,
    Ismael

    #1199764
    This reply has been marked as private.
    #1200512

    Hi,

    Thank you for the update.

    We still don’t know why the post slider queries the portfolio items, so we used this code in the functions.php file to temporarily remove the portfolio items in the blog.

    add_filter('avia_post_slide_query', 'avia_post_slide_query_mod', 10, 2);
    function avia_post_slide_query_mod( $query, $params ) {
            if(!is_page(624)) return;
    
    	if (isset($query['post_type']['portfolio'])) {
    		unset($query['post_type']['portfolio']);
    	}
    	return $query;
    }

    Best regards,
    Ismael

    #1200536
    This reply has been marked as private.
    #1201342

    Hi ChichesterDesign,

    Glad we could help :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.