Forum Replies Created
Viewing 3 posts - 1 through 3 (of 3 total)
-
AuthorPosts
-
Spoke too soon.. this only works as expected when things are wrapped in [av_section].. but most of my pages already were, so easy limitation to live with.
Would be great if this issue was addressed properly in a future update, for shortcode users. :-)
- This reply was modified 10 years, 12 months ago by elp.
Just to follow up and share what actually worked for me.. I used a long & friendly title for the page, then I overrode the text for the breadcrumbs.
add_filter('the_title', 'enfold_child_the_title'); function enfold_child_the_title($data){ global $post; if(is_in_function('avia_breadcrumbs')){ // NOTE: check if $data has already been changed to the menu text if (!($data === $post->post_title)) return $data; switch ($post->post_name) { case 'myslug': return 'My Short Title'; // etc.. } } return $data; } function is_in_function($functionName) { foreach (debug_backtrace() as $k => $v) { if ($k < 2) continue; // ignore self & caller if ($v['function'] === $functionName) return true; } return false; }
Hmm I think I may have hacked it out myself..
in page.php
line 15: disabled the <div class=”content”
line 17: disabled the <main class=”content”ie. effectively removed the .content class from these 2 nodes.
Anyway so far so good, the page now looks exactly like the code that the advanced layout mode generates! :-)
-
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)