How to Get the Post Slug

The post slug is the part of the URL of a post or page at the last section. E.g.: Page: https://wplancer.com/about/ Post: https://wplancer.com/2015/09/post-slug-here/ There are two ways to get the slug in WordPress inside the loop. The first way is to access the $post object that is available inside the loop. $slug =  $post->post_name; The …

How to Get the Post Slug Read More »

How to Install and Configure Git on Ubuntu 1

How to Install and Configure Git on Ubuntu

If you develop websites, like me, or write software of any kind, you should be using a version control system, and Git seems to lead the herd and I personally use it and I recommend it to anybody. This little tutorial is going to teach you how to set up Git on a computer running Ubuntu.