Snippets, WordPress

Simple post counter

Someone in our WPSerbia FB Page asked about different styles for first post in the loop, so this is the snippet for that.

 

 

Standard
How-to & Tips

Automatically ban “admin” user

iThemes-Security

If you are using iThemes Security (and I do recommend using it), make sure you go to Settings and under Brute Force Protection have “Immediately ban a host that attempts to login using the “admin” username.” checked.

 

PS: And if YOU get locked out on your “admin” account, who knows why is that good, right? :)

Standard
Snippets, WordPress

Gravity forms, 18 years old verification

MM-DD-YYYY

 

YYYY-MM-DD

 

 

Standard
WordPress

Twitter Bootstrap Drop-down on hover

Twitter Boostrap 3, drop-down menu on hover.

 

 

Standard
Snippets, WordPress

BuddyPress autologin on activation

 

Gist link: BuddyPress autologin on activation

Standard
WordPress

You May Also Like, filter snippet

“You May Also Like”, code snippet for displaying list of posts from the same category on page:

 

Standard