Tagged: 

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #270755

    Hi, does the theme support breadcrumbs showing the tertiary pages? Currently, it looks like it only supports one parent page. For example, on this page http://209.216.16.228/property-neighborhoods/uphams-corner/, I would like the breadcrumbs to say ‘home / area information / property neighborhoods / uphams corner. Is this possible? Thanks!

    #270865

    Hey blizzmarketing!

    The breadcrumbs are based on your page hierarchy. So however you setup the pages within WordPress is how they will show in the breadcrumbs.

    Regards,
    Devin

    #270885

    If you go to Area Information > Property Neighborhoods > Uphams Corner…it does not show the breadcrumbs all the way up to the top navigation. If I set Uphams Corner parent page to Area Information, it bypasses Property Neighborhoods in the breadcrumbs. Is there a way to show the exact path of how you get to the page?

    #271212

    Hi!

    Try to insert this code into the child theme functionsphp file or into enfold/functions.php

    
    add_filter('avia_breadcrumbs_trail', 'avia_change_breadcrumb', 5, 1);
    function avia_change_breadcrumb($trail) {
        if(is_page())
        {
            global $post;
    
            $front 			= avia_get_option('frontpage');
            $blog 			= avia_get_option('blogpage');
    
            if($post->ID == $blog || $post->ID == $front) return $trail;
    
            $parents = get_post_ancestors($post->ID);
            if(!empty($parents))
            {
                $home = $trail[0];
                $last = array_pop($trail);
                $trail = array(0 => $home);
    
                foreach($parents as $key => $data)
                {
                    $link = '<a href="'.get_permalink($data).'">'.get_the_title($data).'</a>';
                    $link = preg_replace('!rel=".+?"|rel=\'.+?\'|!',"", $link);
                    $link = str_replace('<a ', '<a rel="v:url" property="v:title" ', $link);
                    $link = '<span typeof="v:Breadcrumb">'.$link.'</span>';
                    $trail[] = $link;
                }
    
                $trail[] = $last;
            }
        }
        return $trail;
    }
    

    Cheers!
    Peter

    #272475
    This reply has been marked as private.
    #272476

    I also have another question for you about the CSS coloring of the tertiary dropdowns (ex: Area Information > Property Neighborhoods > Uphams Corner). Take a look at this page http://209.216.16.228/area-information/property-neighborhoods/ and then hover over Property Neighborhoods. The links under this parent page are all blue. The client would like them white until you hover over them. Could you help me with this too?

    #273136

    Hey!

    1) Please create me an admin account and post the login credentials as private reply – I’ll look into it. On my test server the code added the parent page of the 3rd level, etc. to the breadcrumb and I’m not sure why it doesn’t work on your server.

    2) Try to add this code to the quick css field:

    
    #avia-menu .current-menu-item .sub-menu a {
    color: #ffffff;
    }
    
    #avia-menu .current-menu-item .sub-menu a:hover {
    color: #a3d8f5;
    }
    

    Regards,
    Peter

    #273651

    I cant change the A hover in my submenu: http://guasunchos.com/?page_id=64
    Hover over “catalogos” i want the font color white.

    #273720

    Hey!


    @CharlieBarey
    : Please use this for the secondary menu hover:

    #top .header_color .sub_menu ul li a:hover {
    color: #ffffff;
    }

    Best regards,
    Ismael

    #273935

    Thanks!!

    #274392

    Hey!

    I’ll close this thread now because of inactivity. If you still need help please create a new thread and add a link to this thread for reference.

    Regards,
    Peter

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘BreadCrumbs show tertiary pages?’ is closed to new replies.