Tagged: filter, masonry blog
-
AuthorPosts
-
January 8, 2014 at 12:59 pm #206790
Hi.
If you add a category filter in Cyrillic, then disappears filtering in Fullwidth Masonry.
http://testsite.pp.ua/masonry/
With Cyrillic
Without Cyrillic
January 8, 2014 at 3:11 pm #206836Hi Sergei!
Please try following fix – open up /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php and replace
$output .= "<span class='text-sep ".$term->slug."_sort_sep'>/</span>";
with
$term->slug = str_replace('%', '', $term->slug); $output .= "<span class='text-sep ".$term->slug."_sort_sep'>/</span>";
and
$sort_classes[] = $term->slug.'_sort ';
with
$term->slug = str_replace('%', '', $term->slug); $sort_classes[] = $term->slug.'_sort ';
If this fix works for you we’ll include it in the next theme update.
Cheers!
PeterJanuary 8, 2014 at 3:26 pm #206843This reply has been marked as private.January 8, 2014 at 3:43 pm #206849Hey!
The filter bar is hidden because the first/second page just displays some entries of the same category and there’s no reason (or method) to filter the items. The last page (third page: http://testsite.pp.ua/masonry/page/3/ ) displays the entries of two different categories and the filter bar will also show up on this page. If you want to display the filter bar on all pages make sure that all pages display entries of at least two different categories.
Best regards,
PeterJanuary 8, 2014 at 8:52 pm #207064hi. it is not so.
http://testsite.pp.ua/masonry/1) http://testsite.pp.ua/zakry-ty-j-trening-trudny-j-vozrast/ – http://testsite.pp.ua/category/psychology/trainings/ (Психология – Тренинги)
2) http://testsite.pp.ua/zno-2013-po-matematike-2-sessiya-28-zadanie/ – http://testsite.pp.ua/category/mathematics/vno/ (Математика – ГИА (ДПА) и ВНО (ЗНО) по математике)
3) – 5) – http://testsite.pp.ua/category/mathematics/vno/ (Математика – ГИА (ДПА) и ВНО (ЗНО) по математике)
6) http://testsite.pp.ua/sovety-psihologa-beremennost/ – http://testsite.pp.ua/category/psychology/ (Психология)
7) http://testsite.pp.ua/zno-2013-po-matematike-2-sessiya-24-zadanie/ – http://testsite.pp.ua/category/mathematics/vno/ (Математика – ГИА (ДПА) и ВНО (ЗНО) по математике)
8) -11) – http://testsite.pp.ua/category/psychology/ (Психология)
12) – http://testsite.pp.ua/category/mathematics/vno/ (Математика – ГИА (ДПА) и ВНО (ЗНО) по математике)it can result of nested categories?
January 8, 2014 at 8:54 pm #207068yes. whether it is possible to output the parent category?
category/mathematics
category/psychology
category/informatics- This reply was modified 10 years, 11 months ago by Sergei. Reason: add parent category
January 9, 2014 at 2:33 pm #207430Hi!
Yes, basically you should be able to add any category (parent or child) to the masonry grid filter but you need to select it. The filter will just display those categories which you selected on the admin screen and if just the child category is selected the parent category won’t be included/displayed automatically. In addition you must make sure that the post(s) is/are also assigned to the parent category. I.e. here http://testsite.pp.ua/wp-admin/edit-tags.php?taxonomy=category you didn’t assign the posts to the parent category “Математика” and thus the masonry filter also won’t show the category in the filter list – simply because no post would fulfill the filter criteria and it makes no sense to display an empty category in the filter bar. So if you want to display the parent and child category in the filter list you must tick the child and the parent category on the post editor screen
Cheers!
PeterJanuary 9, 2014 at 3:35 pm #207475hi. Thank you. if ticked the child and the parent category, then incorrectly bread crumbs (must child)
1) only child
2) child and parent
Way – not to use the filter :)
January 9, 2014 at 3:56 pm #207480Hey!
Yes, if you don’t want to show the parent category in the breadcrumb it’s probably better to deactivate the filter in this case.
Regards,
Peter -
AuthorPosts
- The topic ‘Masonry Blog Filter Cyrillic Broken’ is closed to new replies.