Previously we have created Bootstrap off-canvas menu and sidebar. Further, the code was quite handy for WordPress websites. However, Bootstrap offers better accessibility and support for screen readers and similar assistive technologies.
Author » Amit Sonkhiya
Off-canvas Sidebar and Menu – WordPress and Bootstrap
Off-canvas sidebar and menu are quite popular. These collapsible sidebars offer a lot of convenient to put extra content on the page. You can implement an off-canvas sidebar in a Bootstrap powered website as well. All you need is a little HTML, CSS, and jQuery code.
3 Ways – Convert a PHP Object to an Array and Vice-Versa
Objects and arrays are essential parts of our day to day programming. PHP object to array and array to object conversions are quite common requirements. We are mentioning three ways that you can use to convert PHP object to an array.
3 Ways – Multidimensional Array to Object Conversion
There are few ways to convert a multidimensional array to object. If you’re a PHP developer then you have noticed that array to object conversion as a common need. So we’re mentioning three methods to convert a multidimensional or simple associative array to object. Like you, we’re also not a fan of typing braces and […]
5 Ways – Get Array Values by Matched or Excluded Keys Set
In this PHP tutorial, I’m providing 5 functions to get array values by keys. We have an associative array and an indexed array of few keys. Further, we want to get an array that has matched keys from the indexed array and corresponding values from the associative array. Conversely, we might wish to return an array with […]
Hide Categories in WordPress Admin Post Editor – Exclude or Remove
WordPress offers hooks to exclude or hide categories from the Post Editor in the admin area. You can remove the category meta box as well. Hiding categories with CSS is also possible. Here I will tell you different ways to hide categories in WordPress Admin Post Editor.
Debugging in WordPress – Writing Custom PHP Data or Log Messages
WordPress has a configurable debugging system that allows us to display as well as log PHP errors, notices, and warnings. Besides that, sometimes we need to debug the code by writing custom PHP data or messages in a log file.
3 Ways to Insert a Page Break or Split a Post into Multiple Pages
Sometimes we wish to insert a page break in a lengthy post. In other words, splitting a post into multiple pages along with displaying links to the previous/next part of the post. It’s a good idea to break a long page or single post into multiple pages.
Bigger Search Form with Drop-down in Navigation Bar
Websites that use Bootstrap 4 framework, sometimes need a bigger search form in the navigation bar. These websites might also need a drop-down or select input to provide better search. Create a navigation bar consists of a bigger search form.
Redirect Old URLs to New and Change Address in Google Search Console
In case of a domain change of existing website, you need to redirect old URLs properly to the new domain. Also, inform Google through Search Console about this address change. This helps you to save your website’s rankings in Google Search Results appearance.