How to strtolower an array in PHP?

advertisement

php Many times we store our data in array and need to perform some additional function to the array like strtolower, strtoupper, and etc. Before i get to know this handy function, I’ve been searching for the shortest code to perform strtolower to an array in php. Thank god, finally i found array_map function and it solved my many years problem.

To strtolower an array in php, use the code below:-

Continue reading How to strtolower an array in PHP? »

Prestashop: How to disable ajax add to cart?

advertisement

prestashopBy default, Prestashop will turn on the ajax add to cart feature. If you do not like the ajax feature or the ajax having conflict with other script or any other reason, you can disable the ajax add to cart feature easily from the back office.

To disable ajax add to cart feature in Prestashop follow the steps below:-

Continue reading Prestashop: How to disable ajax add to cart? »

How to add native menu support in your WordPress theme?

advertisement

wordpress If you are wordpress theme author, you might see this in your menu settings page very often. “The current theme does not natively support menus, but you can use the “Custom Menu” widget to add any menus you create here to the theme’s sidebar.”

The message above clearly stated that your theme doesn’t natively support menus. If your theme can support menu natively, it allow user to easily choose or modify the menu without any programming knowledge. This is important if you would like to make your theme user friendly and easily customize.

wordpress add native menu support, wordpress support native menu

To add native menu support in your WordPress theme, follow the steps below:-

Continue reading How to add native menu support in your WordPress theme? »