• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » WordPress Sidebar Menu : Collapsable With Icons (No Plugin)

By Abhishek Ghosh May 24, 2016 9:13 pm Updated on May 24, 2016

WordPress Sidebar Menu : Collapsable With Icons (No Plugin)

Advertisement

Lesser Plugin is used, WordPress database will suffer from lesser issues. With Plain CSS and HTML We Can Create WordPress Sidebar Menu Collapsible, Colored and Change on Mouse Over. WordPress Administration itself Uses Such Menu. We can use Icon Font and Twitter BootStrap CSS to give that appearance in very easy way. There is a WordPress Plugin named MenuMaker Lite, that will give some effect out of the box.

 

WordPress Sidebar Menu Collapsable With Twitter Bootstrap

 

I can not show example live on this webpage, view on CodePen live beloved WordPress Sidebar Menu Collapsable. As you can see, I loaded two CSS :

Vim
1
2
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">

Plus one extra CSS, in short looks like this :

Advertisement

---

Vim
1
2
3
4
5
6
7
8
9
10
.nav-side-menu {
  overflow: auto;
  font-family: verdana;
...
...
 
body {
  margin: 0px;
  padding: 0px;
}

Here is another with BootStrap, you can expand the list easily.

 

WordPress Sidebar Menu, Collapsable With Only CSS3 and Jquery

 

Here is another example of HTML WordPress Sidebar Menu with Collapsable, icons has not been loaded as path are written as url(../images/sprite.png); , it is designed Orman Clark and demonstrated in TutPlus :

Vim
1
http://webdesign.tutsplus.com/tutorials/orman-clarks-vertical-navigation-menu-the-css3-version--webdesign-5944

You can download the PSD, separate the icons and make CSS Sprite or use Base64 URI Encoding using our tool. Here is the final result :

Wordpress Sidebar Menu - Collapsable With Icons (No Plugin)

 

Conclusion

 

As shown in the example with jQuery and CSS3, it has the least overhead. But, for that quality of CSS coding, knowledge needed is huge. You can use that one. In such case, you have to manually insert the numbers. Automatic fetching of number of posts from one WordPress category in turn will need a PHP snippet, that will increase load on server.

Furthermore, it is tad hard to echo each value in such way. A plugin is actually better for such usage. The needed PHP for WordPress to fetch number of published posts in one category is a Plugin :

Vim
1
2
https://wordpress.org/plugins/wp-extra-template-tags/
http://www.web-templates.nu/2008/08/25/wp-extra-template-tags/

There is another plugin to make PHP get executed in WordPress Widget :

Vim
1
https://wordpress.org/plugins/php-code-widget/

Where we wrote :

Vim
1
2
3
4
5
...
  <ul class="menu">
        <li class="item1"><a href="#">Friends <span>340</span></a>
            <ul>
...

that will become :

Vim
1
2
3
4
5
...
  <ul class="menu">
        <li class="item1"><a href="#">Friends <span><?php _category_count(3); ?></span></a>
            <ul>
...

Tagged With wordpress collapsible menu , sunset photo , wp sidebar menu , wordpress collapsible archive , sidebar menu , obama video , collapsible sidebar in wordpress , collapsable menus on wordpress , colapse side bar menu wordpress , can you do a collapsible navigation bar on a website built on wordpress

This Article Has Been Shared 602 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to WordPress Sidebar Menu : Collapsable With Icons (No Plugin)

  • Clean Up Weird Characters Plugin : Get Rid Off Odd Charecters in WordPress

    Clean Up Weird Characters Plugin helps you to clean up odd characters in WordPress, which often gets added after moving WordPress or sudden major MySQL upgrade.

  • W3 Total Cache Setup for Rackspace Cloud Sites with Cloud Files

    W3 Total Cache Setup for Rackspace Cloud Sites with Cloud Files is a bit different than traditional hosting. Here is full guide on how to use W3 Total Cache.

  • Remove WordPress Plugin From Database

    Remove WordPress plugin from database which is/are previously used but no longer required might not be as simple as going to Plugins page and deleting it.

  • Publishing WordPress Post to Facebook Page via App Guide

    Publishing WordPress Post to Facebook Page via App Guide Shows the Proper Setup to Avoid Unknown Facebook Application ID Eror or Invalid Application Error.

  • Rich Pins Pinterest for WordPress : Easy Tips & Tricks

    Rich Pins has been introduced by Pinterest. Here are the easy ways how you can use for WordPress to validate your rich pins and apply to get them on Pinterest.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Four Foolproof Tips To Never Run Out Of Blog Ideas For Your Website March 28, 2023
  • The Interactive Entertainment Serving as a Tech Proving Ground March 28, 2023
  • Is it Good to Run Apache Web server and MySQL Database on Separate Cloud Servers? March 27, 2023
  • Advantages of Cloud Server Over Dedicated Server for Hosting WordPress March 26, 2023
  • Get Audiophile-Grade Music on Your Smartphone March 25, 2023

About This Article

Cite this article as: Abhishek Ghosh, "WordPress Sidebar Menu : Collapsable With Icons (No Plugin)," in The Customize Windows, May 24, 2016, March 29, 2023, https://thecustomizewindows.com/2016/05/wordpress-sidebar-menu-collapsable-with-icons-no-plugin/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT