Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1080320

    dbelkie
    Participant
    This reply has been marked as private.
    #1080682

    Rue Nel
    Moderator

    Hello Dan,

    We cannot upload any file with the ftp access.

    The breadcrumb is being duplicated because you have added a line that displays it. Please remove this line from your code.

    
    x_get_view( 'integrity', '_breadcrumbs' );

    You already added the breadcrumb somewhere in the template so there is no need to have that line in your custom code.

    #1080817

    dbelkie
    Participant

    Thanks for your response. I have changed permissions, and you should have write access now.

    I have reviewed the code, and in the functions.php I only have:
    x_get_view( ‘integrity’, ‘_breadcrumbs’ );
    One time…… So I think we are good on that front. The issue I am having is that the breadcrumbs are only showing on bottom of the slider on the main blog page and on one blog post that I have the: x_get_view( ‘integrity’, ‘_breadcrumbs’ ); in the functions.php file.

    Just to recap. I have:

    – A main Blog page that lists the blogs: Works perfect.
    http://dev01.everythingcloud.com/blog/
    It’s code in functions.php:
    // Adding a slider to the main blog page
    // =============================================================================
    add_action(‘x_before_view_integrity__landmark-header’, ‘custom_blog_header’);
    function custom_blog_header() {
    if ( is_home() ) {
    echo do_shortcode(‘[rev_slider alias=”blog”]’);
    }
    }

    – A single post page: Works perfect.
    http://dev01.everythingcloud.com/blog/clouds-arent-just-for-rainy-days/
    It’s code in functions.php:
    // Adding a slider to the clouds arnt just for rainy days post
    // =============================================================================
    add_action(‘x_before_view_integrity__landmark-header’, ‘CloudsArentJustforRainyDays’);
    function CloudsArentJustforRainyDays(){
    if (is_single( ‘Clouds Aren’t Just for Rainy Days’ ) ) {
    echo do_shortcode(‘[rev_slider alias=”blog”]’);
    }
    {
    x_get_view( ‘integrity’, ‘_breadcrumbs’ );
    }
    }

    – A single post page: Breadcrumbs are on top, I would like them on bottom.
    http://dev01.everythingcloud.com/blog/about-dan-part-two/
    It’s code in functions.php:
    // Adding a slider to the Where it all started – Part Two post
    // =============================================================================
    add_action(‘x_before_view_integrity__landmark-header’, ‘WhereitallstartedPartTwo’);
    function WhereitallstartedPartTwo(){
    if (is_single( ‘Where it all started – Part Two’ ) ) {
    echo do_shortcode(‘[rev_slider alias=”blog”]’);
    }
    }

    – A single post page: Breadcrumbs are on top, I would like them on bottom.
    http://dev01.everythingcloud.com/blog/about-dan-part-one/
    It’s code in functions.php:
    // Adding a slider to the Where it all started – Part One post
    // =============================================================================
    add_action(‘x_before_view_integrity__landmark-header’, ‘WhereitallstartedPartOne’);
    function WhereitallstartedPartOne(){
    if (is_single( ‘Where it all started – Part One’ ) ) {
    echo do_shortcode(‘[rev_slider alias=”blog”]’);
    }
    }

    Is there a way to make sure the breadcrumbs are always on the bottom of the slider.

    Thanks!
    Dan

    #1080928

    Rue Nel
    Moderator

    Hello Dan,

    In my previous reply (https://community.theme.co/forums/topic/move-breadcrumbs-below-slider/#post-1075936), I have suggested a template change that will make sure that the breadcrumbs will always appear below your slider. I am not sure if you have implemented it or not. By the way, I could not check your development site. All I see is this:

    Please double check your dev site. Thank you.

    #1081443

    dbelkie
    Participant

    Strange! I can see the site fine, but let me look into that.
    Ah! I think you might be onto something! I did make the template change you suggested… this was done to the blog page. HOWEVER…… the page I’m having a issue with the breadcrumbs being on top is on a blog single post page…… and this cant be edited in corenerstone. So maybe this is the issue?

    Dan

    #1081751

    dbelkie
    Participant

    OK!
    We are done!…. I was able to figure it out.

    What I needed to do was add this line to my wp-header.php file:
    <?php x_get_view( ‘intergrity’, ‘_breadcrumbs’ ); ?>

    Then remove that same line from my functions.php file.
    Now the breadcrumbs are only showing once and are below the slider.

    Thanks for all the help on this one!
    Dan

    #1081783

    Jade
    Moderator

    Glad to hear you got it sorted out Dan. πŸ™‚