Change WordPress Permissions via SSH
Login to your server via SSH and enter the following commands to change your WordPress directory and file permissions. Directory Permissions Set permissions on all directories to 755. File Permissions Set permissions on all files to 644.
Altering the WordPress default query
There are many ways to get posts in WordPress, but we can distinghish two techniques : Altering the WordPress default query in a particular context => what we are going to do here Creating a new query from scratch with get_posts() or …
Get product Stock in Magento 2
In this post we are discussing on how to get the product stock qty in magento 2.
Magento 2 – Add custom links to top menu
In this post we are discussing on how we can add custom menu to the magento 2 top menu Add these code to YourTheme/Magento_Theme/layout/default.xml This is how we can add custom links to magento 2 top menu.