-
AuthorPosts
-
February 10, 2014 at 9:41 am #221595
Hello
I’m sorry to again discuss about that (https://kriesi.at/support/topic/building-a-non-conventional-website-with-enfold/) but you have close my ticket.
You said “individual theme features are not able to be pushed out under any specific deadline” but i’m not agree with you :)
I do not consider that it is an “individual theme features”!
If you have made possible to have pages as blog with masony features you may consider that the work is not finished:
In a post, the breacrumb do not work at all because it is build with the archives pages
The mainmenu is unable to tell where you are (no highlight links)
It creates Duplicate Contents (yes, on my new site you can go there:
http://www.domodeco.fr/l-exterieur/terrasse
and there:
http://www.domodeco.fr/exterieur/terrasseThe first one is a page with blog contents inside masonry, and the nex one is the archive!
I’m very suprised that nobody else has seen that, or maybe i’m the only one who use mansory page with blog content?!Please advice the author that it can’t leave us with a mess like that /-)
Thank you
February 10, 2014 at 3:03 pm #221685With some extra coding in my child functions.php i have now enable the highlight of the current mainmenu/submenu links.
Please look at this post: http://www.domodeco.fr/exterieur/piscine/veranda-piscine-verandart.html
The main parent is a page with a masonry blog content
The content is a blog post
And, as you can see in the mainmenu : “Extérieur” and “Piscine” are highlight and sets as active/current.I’m not specily a Dev but i can do that, so i think that the author of this template can achieve this in a nicer way…
Be careful with this code because it works for me and maybe not for you, because of you menu structure.
I add somme media queries, so now current links are also visible with differents background/color on mobile/tab
I’m working, now, on a breacrumb that works…
function my_avia_blog_nav_class($classes, $item){ if(get_post_type() === "post" ) {} global $wp_query; $post = $wp_query->get_queried_object(); //$post_id = absint( $wp_query->get_queried_object_id() ); $post_type = $post->post_type; $parent = $post->post_parent; if('post' == $post_type) { $category = get_the_category(); foreach($category as $cat) { if(!empty($cat->parent)) // Parent with children { $parents = get_category_parents($cat->cat_ID, FALSE, '$$$', FALSE ); $parents = explode("$$$", $parents); foreach ($parents as $parent_item) { $trail[] = $parent_item; } if ( (in_array($trail[0], $trail) && $item->title == $trail[0]) || (in_array($trail[1], $trail) && $item->title == $trail[1]) ) { $classes[] = 'current-menu-item'; } break; } else { // parent without children if(!empty($cat->cat_name)) { $trail[] =$cat->cat_name; if ( in_array($trail[0], $trail) && $item->title == $trail[0] ) { $classes[] = 'current-menu-item'; } } // END ELSE } // END IF } // END FOREACH } // ENF IF POST return $classes; }
February 11, 2014 at 4:40 am #222027Hi!
Everyone is always free to work on the theme and customize it however they want. I closed it so that it didn’t continue to get discussed on or get off topic which usually happens on any theme where the exact focus isn’t crystal clear.
We are in the process of pushing out a very very large update and bringing all of the themes up to date with the newest version of WooCommerce (for those that support it). So at any given time we can’t necessarily add in or code something that someone requests.
There is a feature request topic for a reason and we unfortunately can’t keep everyone happy with an answer, timeline or response.
I’m glad you found a solution that works for you and thank you for sharing it. The previous topic is still in Kriesi’s queue for topics to address and he may or may not still add in theme support for this case.
Regards,
Devin -
AuthorPosts
- The topic ‘Masonry pages with blog contents (again…)’ is closed to new replies.