Tagged: masonry
-
AuthorPosts
-
January 25, 2016 at 5:49 pm #571470
Hi there,
I have set up a page that diplays the portfolio project with the masonry layout http://217.199.187.197/techniker.co.uk/test/. I have a category called “Bridges”. This categy includes only 2 projects which are very old.
Currently I have set the post number to 20 and the “Bridges” category does not appear at the top.
I assume this happening because none of the 20 items in under category.
I know I can set the post number to 50. However I would prefer not to.
I have spoken to you about the issue of filtering and number of posts in a previous topic (https://kriesi.at/support/topic/portfolio-grid-only-filter-items-on-current-page/ ) and you suggested using the mansonry loayout.
Is it possible to display all the categories at the top regardless of them being featured in the fist 20 (in this instance) posts?
If you could please let me knowMany thanks
PanosJanuary 25, 2016 at 6:05 pm #571489Hi PanosK!
can you please share backend access? If a category is not visible, it is because there are no data inside, so would like to give it a further look / investigation.
Thanks a lot
Regards,
BasilisJanuary 25, 2016 at 6:27 pm #571520Hi Basillis,
The category is visible if I set the post number to 50 (or more).
Many thanks
PanosJanuary 26, 2016 at 1:46 pm #572077Hi Basillis,
Did you have a chance to look at this? If you could please let me know
Many thanks
PanosJanuary 28, 2016 at 11:16 am #573617Hi Basillis,
Am I to assume the only way to have “Bridges” displayed is by setting the post number to 50?
If you could please let me knowMany thanks
PanosJanuary 29, 2016 at 10:48 am #574413Hi there,
Can somebody please respond?
Many thanks
PanosJanuary 31, 2016 at 7:55 am #575193Hi!
Sorry for the delay. We actually encountered the same user who wanted the same exact behaviour and this was our response: https://kriesi.at/support/topic/enfold-portfolio-sort-feature/#post-565246
Clicking an empty category will render the grid blank because the items are not available or is located on another page but if you don’t mind this small issue you can do the same modification as suggested on the previous thread. Modify the masonry_entries.php file.
Best regards,
IsmaelFebruary 1, 2016 at 12:07 pm #575690Hi Ismael,
The other thread is about portfolio.php. I modified masonry_entries.php by removing:
if(!isset($term_count[$term->term_id])) $term_count[$term->term_id] = 0; (line 472)However, I still don’t get the empty catery (Bridges) at the categories menu at the top.
If you could please help.
Many thanks
PanosFebruary 2, 2016 at 8:31 am #576293Hi!
Best regards,
IsmaelFebruary 2, 2016 at 11:12 am #576358Hi Ismael,
Unfortunately it has not worked. I still don’t get the empty catery (Bridges) at the categories menu at the top.
If you could please look into it.
Many thanks
PanosFebruary 4, 2016 at 6:48 am #577596Hey!
I just tested this on my installation and it displays every categories including the empty ones. Please post the FTP details here. We would like to check it.UPDATE: My bad. You have to modify line 138:
$show_item = in_array($term->term_id, $current_page_terms) ? 'avia_show_sort' : 'avia_hide_sort';
.. replace it with:
$show_item = 'avia_show_sort';
Regards,
IsmaelFebruary 4, 2016 at 11:28 am #577692Thank you very much!
-
AuthorPosts
- The topic ‘Masonry layout display only the categories of the visible portolio projets’ is closed to new replies.