Welcome To Snipplr


Everyone's Recent Snippets Tagged wordpress



1 ... 6 7 8 9 10 ... 47
0 895 posted 13 years ago by paul0078
0 1048 posted 13 years ago by paul0078
0 887 posted 13 years ago by paul0078
Add this bit of code to functions.php
0 912 posted 13 years ago by adiacone
Sometimes you just want a random link to display and outside of the default format, this works perfectly and removes all default html (list items / headings).
0 1484 posted 13 years ago by crypticsoft
This needs to be run on an action, or at least I wanted able to get it to run outside of an action, I suggest template_redirect. More information at the link.
0 1168 posted 13 years ago by FatFolderDesigner
From 'Andy' in the comments.
0 1574 posted 13 years ago by rliverman
Displays latest posts by current author (place it within the loop). Adapted from code from [here](http://www.wpbeginner.com/wp-tutorials/how-to-display-related-posts-by-same-author-in-wordpress/) and a tutorial [here](http://www.makeuseof.com/tag/how...
0 1272 posted 13 years ago by certainlyakey
bloginfo('name') is a function that generates the name of a WordPress site, the one used in the installation of WordPress and inserted in the Blog Name field under General Settings.
0 597 posted 13 years ago by treociti
This will give <ul> for the wordpress Menu
0 1227 posted 13 years ago by Farhan
Relies on "trunCate" a truncating function.
2 1718 posted 13 years ago by rliverman
This snippet will exclude the featured image from the attached images (gallery)
0 1003 posted 13 years ago by nerdsane
0 895 posted 13 years ago by shufflepath
0 963 posted 13 years ago by shufflepath
1 ... 6 7 8 9 10 ... 47