Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #850493

    is_33
    Participant

    Hi, I’d like to add breadcrumbs to a Blank – No Container | Header, Footer page. I followed the instructions in this post.

    It didn’t work and I got this fatal error:
    Fatal error: Call to undefined function x_google_authorship_meta() in /home/newworldxorw/public_html/wp-content/themes/x-child/framework/views/renew/template-blank-4.php on line 33

    What do I do to get this to work?

    #850530

    Lely
    Moderator

    Hi There,

    Thanks for posting in.
    Please remove this line from the code:
    <?php x_google_authorship_meta(); ?>

    Hope this helps.

    #850714

    is_33
    Participant

    Hi,

    That got rid of the fatal error, but I’m not seeing any breadcrumbs.

    #850715

    Zeshan
    Member

    Hi there,

    Thanks for writing back!

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks!

    #851684

    is_33
    Participant
    This reply has been marked as private.
    #851893

    Rue Nel
    Moderator

    Hello There,

    Upon checking, you only have a custom template template-blank-4.php for Blank – No Container | Header, Footer. You also need to add template-blank-6.php for No – Container | No Header, No Footer. Would you mind telling us which page you are editing and would like to display the breadcrumb? If you would like to display the breadcrumb on the homepage, you may need to add and customize the _landmark-header.php file because by default, breadcrumbs will not display in the homepage.

    Please let us know how it goes.

    #852496

    is_33
    Participant

    Thanks for the response. I don’t need breadcrumbs on the home page, just every page with the Blank – No Container | Header, Footer template. I have created the template-blank-4.php file, but no breadcrumbs are showing up on those pages.

    #852846

    Jade
    Moderator

    Hi there,

    Thanks for clarifying.

    I have commented out some lines of the code you have added in the template file and you should see the breadcrumb now on the page.

    Hope this helps.

    #854373

    is_33
    Participant

    Thanks, this works!

    The only problem is the alignment. It’s static and doesn’t seem responsive with different screen sizes. I would like it to line up with the left side of logo and content. (Please see attachments.) Is there a way to do this and make it responsive so the breadcrumbs keep this alignment no matter what the screen size is?

    #854530

    Nico
    Moderator

    Hi There,

    Please add this code in your custom CSS or replace your custom CSS for your class x-breadcrumbs-wrap

    .x-breadcrumbs-wrap {
        width: 53%;
        margin: 0 auto;
        display: block;
    }

    to make it responsive or adjust the breadcrumbs in mobile view use this custom code below

    @media (max-width: 767px)
    .x-breadcrumbs-wrap {
        width: 53%;
        margin: 0 auto;
        display: block;
    }

    Adjust the width to position the breadcrumbs and the max-width for screensizes.

    Hope it helps.

    Thanks.

    #854634

    is_33
    Participant

    Thanks! This works great. Really awesome how helpful you guys are.

    #854663

    Rue Nel
    Moderator

    Hey There,

    You’re welcome! We are just glad we were able to help you out.
    Thanks for letting us know that it has worked for you.

    Cheers.

    #855483

    is_33
    Participant

    Another question here: where can I edit the href for the house/home icon that’s in the breadcrumbs. I want to send it to a specific page other than the home page.

    #855905

    Christian
    Moderator

    Regretfully this isn’t a feature offered by X. It could be possible with custom development, but this would be outside the scope of support we can offer. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities. Thanks for understanding. Take care!