PHP useful links

5.0 01 Here I will update the most interesting and useful links which I found related to php. I encourage you to fill out this list posting your favorite php links in your comments. Active forums for PHP Programmers daniweb DEV community HTTP Status Code Checker Bulk url http status checker – check status codes, …

Smart Search for PHP

5.0 01 Creating Autocomplete or Search Suggestion Functionality with PHP What is Fuzzy matching Fuzzy matching treats two words that are “fuzzily” similar as if they were the same word. In 1965, Vladimir Levenshtein developed the Levenshtein distance, which measures the number of single-character edits required to transform one word into the other. He proposed …

About Prestashop, Tips & Tricks

5.0 01 About prestashop PrestaShop’s technical architecture PrestaShop is based on a 3-tier architecture, using same principle as the Model > View > Controller (MVC) architecture, only in a simpler and more accessible way: Object/data. Database access is controlled through files in the “classes” folder Data control. User-provided content is controlled by files in the …

How to switch back to old classic editor on WordPress

5.0 01 The latest version of WordPress 5.0, have Gutenberg enabled. Personally, I did not use it the new Gutenberg editor, so I don’t have much to say about it. Because I got used to the old editor, the classic one, in this post I will show solutions to revert back to the previous WordPress …

Adwords, how to show location extensions from Google my business

5.0 01 Why to use location extensions in your ads? Locaion extensions are very good to use because will extend your ads with your address, a map to your location, or the distance to your business. Also location extensions will include your phone number or call button so that users can easily call your business. …

PHP array functions

5.0 01 List of functions that work with php arrays. array_shift() array_shift() – Shifts the first value of the array off and returns it, shortening the array by one element and moving everything down. All numerical array keys will be modified to start counting from zero while literal keys won’t be touched. array_pop() array_pop() – …

PHP Display errors & Debug

5.0 01 To turn on error reporting 1. Set in php.ini 2. In php.code Check error logs on apache server Check errors in log file that is configured in etc/apache2/httpd.conf DEBUG Php useful debugging functions gettype($variable) – Get variable type; var_dump($variable) – Dumps information about a variable; get_defined_vars() – Return an array of all defined …

WordPress plugins development

5.0 01 Why we need plugins on wordpress? The plugins are used to extend default WordPress functionality without touching any core files. Changing anything in the WordPress core files is a bad idea because you can break the site. In plus when WordPress is updated, any core modifications will be overwritten and lost. At this …

Enable Debugging in WordPress

5.0 01 Before we start it is indicated to have the debug enabled. To be sure that debug mode is enabled wordpress, go to the wp-config file and add next lines For more information about enabling debug on wordpress, check out the developer docs at wordpress