-
AuthorPosts
-
May 30, 2014 at 2:22 pm #272385
Hi
I want to reverse the order in which these portfolio items appear http://www.test.theimplantcentre.com/?page_id=32, so that the oldest appears first the most recent last. But I want these portfolio items http://www.test.theimplantcentre.com/?page_id=21 to remain as they are i.e. most recent first and oldest last.
Is there a way of not displaying the same portfolio item again at the bottom of the page http://www.test.theimplantcentre.com/?portfolio=barbara i.e. on Barbara’s page she also appears in the portfolio table below? This obviously needs to apply to all patient stories.
Has there been any development on being able to separate portfolios by category so that when you’re cycling through through them using the left and right arrows they only show entries in the same category.
May 30, 2014 at 3:02 pm #272403Hey Rupert!
Please see – http://kriesi.at/documentation/enfold/change-the-sort-order-of-portfolio-elements/
also try using this plugin – https://wordpress.org/plugins/post-types-order/Cheers!
YigitMay 30, 2014 at 8:34 pm #272570The plugin works really well at sorting the order, is there a solution to my other issue raised…
Is there a way of not displaying the same portfolio item again at the bottom of the page http://www.test.theimplantcentre.com/?portfolio=barbara i.e. on Barbara’s page she also appears in the portfolio table below? This obviously needs to apply to all patient stories.I have one other thing I’m trying to fix http://www.test.theimplantcentre.com/?page_id=75 The space at the top of the portfolio panel at the bottom of the page is wrong. These panels appear on a number of pages throughout the site and ideally I want them all to look exactly the same, ideally like http://www.test.theimplantcentre.com/?portfolio=barbara
Once again many thanks.
May 30, 2014 at 8:42 pm #272572Hey!
Try adding this at the very end of your theme functions.php file:
function custom_grid_func($query) { $query = array_merge($query, array('post__not_in' => array(get_the_ID()))); return $query; } add_filter('avia_post_grid_query','custom_grid_func',10,2);
Cheers!
JosueMay 30, 2014 at 9:46 pm #272595I’ve added it to the bottom of the functions.php file but it doesn’t seem to have had an effect!
May 30, 2014 at 9:52 pm #272598It’s working:
May 30, 2014 at 10:35 pm #272629But it’s not right on this page http://www.test.theimplantcentre.com/?page_id=75
May 30, 2014 at 10:39 pm #272631Oh, you were referring to the other issue. That’s happening because you have this code in the Quick CSS:
Cheers!
Josue -
AuthorPosts
- You must be logged in to reply to this topic.