When using git, you'll want to ignore some files and folders and allow other files and folders to be added. Lets start off by creating a file called .gitignore windows: right click -> new-> text document Now rename de file .gitignore (also you must have show extensions activated) linux: run the following command: touch .gitignore… Continue reading Gitignore, ignore subfolders
Html5 player autoplay
So, recently i had to make a video autoplay on a site. I read that new browsers do this now, but, after searching the internet and testing a lot of code, the autoplay never happened. After a... lot of testing, i found the problem. It was the "mute" attribute ! Guys this one is interesting.… Continue reading Html5 player autoplay
Prestashop Context object
The Prestashop Context object, i'm sure you used it, and also took it from different sources in your code. BUT... have you asked yourself, where does this object get all those methods? I mean if you var_dump the result of the object you won't get a lot of info about the methods that you can… Continue reading Prestashop Context object
WooCommerce payment method not appearing in checkout
So... Recently i had this little problem. On a wordpress 5.1 with WooCommerce 4.1, the payment gateway wasn't appearing. So.. i started seting the site in debug mide, started checking the templates from the theme, just to discover that: If you have a product with a price of 0, the sistem doesn't show the payment… Continue reading WooCommerce payment method not appearing in checkout
Prestashop 1.6 Use of undefined constant _RIJNDAEL_KEY_ error
So, i installed prestashop 1.6.1.24 on my dev machine, but i forgot that i had php 7.3.x. something on it. And everything when ok... until i accesed the front.. and the back... and they gave me this error: Notice: Use of undefined constant _RIJNDAEL_KEY_ - assumed '_RIJNDAEL_KEY_' in /var/www/prestafolder/classes/Cookie.php on line 79 Notice: Use of… Continue reading Prestashop 1.6 Use of undefined constant _RIJNDAEL_KEY_ error
Multicolored Case with Cooler for Raspberry Pi 4 set up
I'll try to explain how to set up this cheap and cute case. Before you connect your adapter to the raspberry pi 4. If you don't you could discover at the end that you can't connect the cable to the pi. ( i had to disassemble it and reassemble ) This case comes with a… Continue reading Multicolored Case with Cooler for Raspberry Pi 4 set up
Redis as seen by Sql
Before you read, you need to know that this is a a beginner level article. What is REDIS? Well as this site says , Redis is "an open source, in-memory data structure server with advanced key-value cache and store, often referred to as a NoSQL database... or as a data structure server, since it can… Continue reading Redis as seen by Sql
WordPress plugin tutorial: procedural way
After a while, you, as a "wordpress developer" (that term doesn't exist) have to make plugins. Sure you start up with some theme creation, BUT the plugin is POWER! Developing a wordpress plugin, the procedural way WordPress Plugins can be created in one of two ways: procedural object oriented Both ways use the built in… Continue reading WordPress plugin tutorial: procedural way
WordPress useful plugins
Here's a list of some useful plugins that you should use in your WordPress projects Content Easy Populate Post Disable Gutenberg Duplicate post Contact form 7 seo Yoast SEO WP Sitemap Page security NinjaFirewall (WP Edition) – Advanced Security NinjaScanner – Virus & Malware scan
WordPress FREE – theme shows full content on posts page
A common problem that may appear is that you install a theme on the free version of wordpress.com and ALL your post content appears in the posts page, when you just want a short part of it to appear. To fix this, you need to edit some things, like i demonstrated in the following image:… Continue reading WordPress FREE – theme shows full content on posts page