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.
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.
Are you using Contact Form 7 plugin in a WordPress website using a theme built with Bootstrap front-end framework? Then you must have faced styling issues in CF 7 inputs in accordance with Bootstrap.
Bootstrap 4 offers carousel integration with slide and fade effects. We can turn the Bootstrap 4 carousel in a full-screen slider with help of available classes and custom rules. Mostly you can see them as background image responsive sliders that cover the entire viewport.