Hello, @lmxc!
For now isn’t possible, but we will implement this feature in some of next theme updates.
Thank you for the patience.
Best Regards
Thread Starter
lmxc
(@lmxc)
Thank you, in the meantime if I will be able to implement a solution I will publish it here.
Regards
Thread Starter
lmxc
(@lmxc)
Hello,
I tried this for single pages and it is working:
in wp-content/themes/agama/framework/class-agama-breadcrumb.php
at line 73 was
/**
* Is Single or Is Page
*
* @since 1.2.9
*/
private static function is_single_or_page() {
global $post;
$h1 = sprintf( ‘<h1>%s</h1>’, $post->post_title );
$output = sprintf( ‘<li class=”active”>%s‘, $post->post_title );
self::html_markup( $h1, $output );
}
and I changed to
private static function is_single_or_page() {
global $post;
if (!empty($post->post_parent)) {
$h1 = sprintf( ‘<h1>%s</h1>’, $post->post_title );
$output = sprintf( ‘<li class=”active”>%s‘, get_the_title($post->post_parent) ).sprintf( ‘<li class=”active”>%s‘, $post->post_title );
self::html_markup( $h1, $output );
} else {
$h1 = sprintf( ‘<h1>%s</h1>’, $post->post_title );
$output = sprintf( ‘<li class=”active”>%s‘, $post->post_title );
self::html_markup( $h1, $output );
}
}
Merry Christmas and Happy New Year !
Thanks but there is little problem that = We cant open the pages from breadclumb with that way only see the breadcrumps… but cant go to previous pages exc from here.
also only 1 chield pages seen..
thanks