Some time while building your WordPress theme navigation you want to show/hide certain menu items based on user state. For example you want to show “Login” and “Logout” menu item based on the condition whether user is logged or logged out. WordPress provides wp_nav_menu_items filter which can help us to achieve [...]
Mubashir
WordPress is a powerful content management systems and one of the reason of its popularity is the level of customization it provides to developers and end users. If you are looking to customize your theme navigation and want more granular control over the menu items then you can use ” wp_nav_menu_objects” filter. This filter [...]
Mubashir
WordPress has turned into the mostly used CMS over the web and one of the reasons of its popularity is due to the availability of thousands of free/premium plugins and themes. While developing a WordPress plugin sometime we need to see if the dependent plugin is already install into the system, because our newly created plugin [...]
Mubashir
WordPress Custom Post Types are really powerful feature and using custom post type one can extend WordPress from the native posts or pages to the content of your choice. One problem which many novice developers come across while creating custom posts type is that they manually have to flush permalink by going into WordPress settings [...]
Mubashir
Recent Comments