:::: MENU ::::
Browsing posts in: Tips and Tricks

WordPress Get the current post slug

Hi there, I have search the net and this person found a way to get the slug the easier way.


The common approach:

$post_obj = $wp_query->get_queried_object();
$post_ID = $post_obj->ID;
$post_title = $post_obj->post_title;
$post_slug = $post_obj->post_name;

His approach:

$slug = basename(get_permalink());
That's it. Just include it inside the_loop.
Source: http://www.joshstauffer.com/get-post-slug-in-wordpress/


Unlock that Undeletable File!

If you’ve ever been unable to delete a file in Windows, and can’t figure out what program’s using it, Unlocker is the solution. Have you ever seen these Windows error messages?

  • Cannot delete folder: It is being used by another person or program
  • Cannot delete file: Access is denied
  • There has been a sharing violation.
  • The source or destination file may be in use.
  • The file is in use by another program or user.
  • Make sure the disk is not full or write-protected and that the file is not currently in use.

Unlocker can help! Simply right-click the folder or file and select Unlocker. If the folder or file is locked, a window listing of lockers will appear. Simply click Unlock All and you are done!

Its FREE! Unlocker1.9.1


Want to have an Extra Yahoo Email Address but the save login details?

If that’s what you want. Yahoo is give you one (1) extra email that you can change every year. Yahoo extra Email address put an extra email address on top of your current email.

For an example, your email is myemail@yahoo.com and you avail an extra email address maynameisone@yahoo.com. When you login using maynameisone@yahoo.com, you will be having the same inbox you have on your myemail@yahoo.com.

It means you have two email account having one inbox.

What is the benefit?

  1. Have your the same account but different email.
  2. Set the extra email as your main email.(For those person who had non-nonprofessional email address yet want to maintain the said email)
  3. Changing the email once a year.
  4. Can use also in logging in to Yahoo services.

That some of the benefits. So if you haven’t get your extra email address, then create yours now by logging in to your yahoo account and going to this URL http://edit.yahoo.com/config/list_alias