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
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
Snippets, WordPress

Trim posts with status future like post status publish

Source: 10+ Useful WordPress Code Snippets

Standard
Snippets, WordPress

Trim AJAX Calendar Future POSTS to be valid

Source: 10+ Useful WordPress Code Snippets

Standard