How to split an array into single quotes and comma separated list in PHP, When we are working dynamic SQL queries we have to build them using the post array, after splitting the array field key and values into separate array’s. we need to have single quote mark arround the values and it is separated with […]
Continue readingIn this tutorial we are installing LAMP in linux mint. LAMP stands for Linux, Apache, MySql and PHP, for installing lamp open up terminal, update and upgrade the Advanced Packaging Tool repositories. Simply type the following commands in terminal.
Continue readingReduce bullet size of unordered list, or increase the bullet size, There are possibly more than one solution, from the two solutions first method is controlling it by CSS, and the other method is inserting a background image in place of bullet.
Continue readingThis is simple Drupal Module to display form, before creating module we need to create module directory under your-drupal-installation\all\sites\modules, Create folder with module name, here i’m creating module name with “codingcyber“. In that folder create two more files
Continue readingCreating child theme in WordPress is so simple, first select the parent theme that you want to use, after that create a folder with the name for the child theme, and create a style.css file and then add the following code.
Continue readingIf you want to add specific styles to menu items in WordPress You don’t have to go through all the php code, you can just simply add classes every menu items or a group of menu items with single class, then you can add styles from WordPress theme editor.
Continue readingRemoving the widgets from the wordrpress child theme, by default twentyten has some sidebar widgets we can make use of them in child theme or we can remove these widgets and create set of new widgets for this child theme. For removing the widgets we have to add this code to the functions.php with in […]
Continue readingAfter the fresh installation of wordpress it will create the urls of categories with /category/, I’m Removing category from the WordPress using plugin there are lot more techniques, we can remove this using .htaccess file or by adding some custom code.
Continue reading