• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • ๐Ÿ˜Œ This community is user driven. Be polite with other users.
    • ๐Ÿ‘‰ Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • ๐Ÿ’ธ Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • โš ๏ธ Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • โœ… Confirm that the server meets the System Requirements
    • ๐Ÿ”ฅ Check for any available Hotfix - your issue could be already reported/fixed
    • ๐Ÿ“š Read documentation - It will be required to Debug and understand Errors for a faster support response

Update Header

Barry

๐Ÿ’– Chevereto Fan
Perhaps I am missing something, but how to I add a new "category" to the default list in Chevereto

ScreenShot2017-07-22at7.50.19PM09e88.png


How do I add something else, such as "blog"
 
You say "Category" ?? but if you just need an extra menu item after random then.....

Create a copy of the theme, and then edit header.php and put it in:

app ==> themes ==> yourtheme ==> overrides

Find:

Code:
            <?php if(CHV\getSetting('website_random')) { ?>
            <li id="top-bar-random"  data-nav="random" class="top-btn-el phone-hide">
                <a href="<?php echo G\get_base_url("?random"); ?>"><span class="top-btn-text"><span class="icon icon-shuffle"></span><span class="btn-text phone-hide phablet-hide"><?php _se('Random'); ?></span></span></a>
            </li>
            <?php } ?>

Add after:

Code:
            <?php { ?>
            <li class="top-btn-el">
                <a href="http://www.myblog.com"><span class="top-btn-text"><span class="icon icon-home"></span><span class="btn-text phone-hide phablet-hide"><?php _se('Blog'); ?></span></span></a>
            </li>
            <?php } ?>


Think that should work.

You might need to change the icon to something you like. In that code it's "icon-home", not sure if there is a icon-blog you'd need to check. You'll also need to amend the url for your blog site.

You also might need to make your logo smaller as it could "crash" into the extra button ๐Ÿ˜‰
 
@Oakley Thanks - I will test this later today. I didnt really mean category, I meant an extra menu item just like you described.

I appreciate you sharing the code snippet.
 
Hello,

I am trying to add a new menu item and was a little confused about what you wrote above. Sorry coding rookie here.

So I create a copy of header.php and paste in overrides? Then insert the code you wrote above with the link to my blog?

Any help would be appreciated.

Thanks.
 
@Oakley could you please be a little more specific as to how to add a link on the top button to a blog I would like to include.

Thanks!
 
You say "Category" ?? but if you just need an extra menu item after random then.....

Create a copy of the theme, and then edit header.php and put it in:

app ==> themes ==> yourtheme ==> overrides

Find:

Code:
            <?php if(CHV\getSetting('website_random')) { ?>
            <li id="top-bar-random"  data-nav="random" class="top-btn-el phone-hide">
                <a href="<?php echo G\get_base_url("?random"); ?>"><span class="top-btn-text"><span class="icon icon-shuffle"></span><span class="btn-text phone-hide phablet-hide"><?php _se('Random'); ?></span></span></a>
            </li>
            <?php } ?>

Add after:

Code:
            <?php { ?>
            <li class="top-btn-el">
                <a href="http://www.myblog.com"><span class="top-btn-text"><span class="icon icon-home"></span><span class="btn-text phone-hide phablet-hide"><?php _se('Blog'); ?></span></span></a>
            </li>
            <?php } ?>


Think that should work.

You might need to change the icon to something you like. In that code it's "icon-home", not sure if there is a icon-blog you'd need to check. You'll also need to amend the url for your blog site.

You also might need to make your logo smaller as it could "crash" into the extra button ๐Ÿ˜‰
thank you so much
 
Back
Top