Find Post’s Primary Category with Yoast
When using the Yoast SEO plugin, you can define a Primary Category for each post. Here is the code to find it:

Tutorials for Web Developers and more. Easy and fun!

Tutorials for Web Developers and more. Easy and fun!
When using the Yoast SEO plugin, you can define a Primary Category for each post. Here is the code to find it:
You create users and databases with the CREATE command and delete them with the DROP command. Delete databases and users: Create databases and users: Change the user’s password: Add permisions to the user for the database: Keep in mind that…
To change the PHP maximum upload size, you need to edit the php.ini file and then restart the webserver. Depending on your Linux distribution, the php.ini will be located at a different location:CentOS / Red Hat: / Debian: …
add_theme_support( ‘post-thumbnails’ ); set_post_thumbnail_size( 610, 610, true ); // sets the default featured image dimensions. add_image_size( ‘theme-blog-vertical’, 405, 500, true ); add_image_size( ‘theme-blog-small-square’, 300, 300, true );
Samba allows you to share your files with your Windows, Linux, Chrome OS computers, etc. It’s not really part of LAMP but for a development server it’s nice to have it. 1. Let’s install it 2. Edit the configuration file…
tar is like the zip for Linux. It has just too many options / parameters. You need to know 2 combinations, one to create an archive and the other to extract files from an archive. If you want to learn…
This is really easy. 1. Update UbuntuAn update is always a good thing 2. Install MySQL 3. Secure it (remove some test users, etc.) 4. And test it That’s it.