-
AuthorPosts
-
March 16, 2020 at 4:31 pm #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, 9 months ago by Ben. Reason: Adding cPanel access so you can access phpMyAdmin
March 20, 2020 at 5:36 am #1194708Hey 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,
IsmaelMarch 20, 2020 at 4:45 pm #1194816Hi 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,
March 23, 2020 at 10:35 am #1195407Hi,
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,
IsmaelMarch 30, 2020 at 10:53 am #1199037This reply has been marked as private.April 1, 2020 at 1:35 pm #1199751Hi,
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,
IsmaelApril 1, 2020 at 2:28 pm #1199764This reply has been marked as private.April 3, 2020 at 1:48 pm #1200512Hi,
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,
IsmaelApril 3, 2020 at 3:10 pm #1200536This reply has been marked as private.April 6, 2020 at 7:48 pm #1201342Hi ChichesterDesign,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.