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.
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.
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 […]
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 […]
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.
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.
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.
Consistently improving a website’s performance and Search Engines Optimization bring more traffic to the website. Google also offers a few tools to improve website performance. Here we are mentioning 5 such tools from Google to optimize a website for speed, performance, and SEO.
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.
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.