My Code Storage
For my personal use but
feel free to use it if you like
Programmatically show related posts
Use the shortcode to display a certain piece of content only to registered users
Hide content to non authenticated visitors
Use the shortcode to display a certain piece of content only to registered users
Create a MySql database
How to easily install a MySql database and configure the associated userStep 1. Introduction and general considerations To begin my first advice is to choose a meaningful, unique name for your database, it will be easier to identify it among others later on....
WordPress Installation in 5 easy steps
Install a WordPress Manually This tutorial is to help all of you that are interested to easily setup a WordPress website in complete autonomy.Following these simple instruction to manually install a new instance of the latest WordPress version.I really hope that you...
WooCommerce – Change SKU label
How to change the SKU label in Woocommerce
WordPress – Get future post events
Use the shortcode to get the title (with link) and the date of all posts with planned date in the future
JS – Strip all Html tags and convert a string to text
A function that strip all Html tags and convert a string to text
JS – Round a value
A function that returns a rounded value
JS – Add a percent sign
A function that returns a value in percent
JS – Create an array with years
A function that return an array containing all years from a given year to the current
JS – strip parameters from URL
Get the parameter contained in the page Url
JS – Calculate dates difference
A function that returns the difference from 2 dates , in days
Kendo UI –
Hide & show kendo Grid rows filtered by column value
Get the top level category
Used to get the most top level category of the current product category.
WooCommerce – Get current product category name
Used to get category Id and name of the current product.