Welcome To Snipplr
Everyone's Recent Snippets Tagged wordpress
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
FME has designed efficient Canvas Drawing Plugin for WordPress that enables users to draw canvas online on separate paint book by utilizing basic drawing tools like brush, pencil, etc. This WordPress Plugin will create two additional pages on your we...
0
800
posted 10 years ago by alastarmason1
This snippet shows you how to get previous and next post in category URL.
0
1007
posted 10 years ago by fedek6
Additional option for Wordpress post (year in this case). You can get it's content in template file by:
`<?php>ID, 'year', true ); ?>`
1
713
posted 10 years ago by fedek6
This is template for adding custom settings in Wordpress (using settings API).
1
813
posted 10 years ago by fedek6
Simulates a click on a page with the name you put in the parameter in the onclick function.
1
1302
posted 10 years ago by Reiff
#Wordpress Debug Info
##Find out basic information about your WordPress installation and server environment
2
656
posted 10 years ago by gregdbarnes
This uses the timthumb script saved as sized.php in the theme directory
1
854
posted 10 years ago by bitsculptor
This shortcode was tested with The Events Calendar version 3.3.1
Usage: [upcoming_events limit="6"]
0
915
posted 10 years ago by crypticsoft
Positioning the normal metaboxes in WordPress admin (like Excerpt, Author etc.) before the WYSIWYG editor
1
606
posted 10 years ago by tkujawa
Gets all of a Wordpress post meta data in an array without specifying a key
1
805
posted 11 years ago by web_la
shows list of cpt for example on archive page when wpml is installed. if particular post has no translation, it shows it in default language
0
820
posted 11 years ago by kkarpieszuk
Instructions:
WordPress menus and sidebars/widgets are really powerful modules, but unfortunately it requires Admin user role to edit them.
If you would like to allow users with Editor user role to edit any of the widgets or menus, just paste t...
2
905
posted 11 years ago by lromak
To be used in WordPress template. List full taxonomy, or only custom post type associated with the post. Examples include a linking or non linking list.
2
795
posted 11 years ago by lromak
To insert custom loop of post attachments as images (at core or custom size) linked not to full size image but custom-configured (or core) size.
2
1058
posted 11 years ago by adambundy
Get all custom taxonomies that are attached to posts that have another custom taxonomy. Like fetching all categories that are attached to products that have the brand taxonomy "Nike".
0
1090
posted 11 years ago by JoshChris
Thanks to Stephen Harris for this > http://wordpress.stackexchange.com/questions/50425/show-current-navigation-path-from-menu
1
1302
posted 11 years ago by adambundy
Genius stuff right here from https://gist.github.com/BronsonQuick
1
1820
posted 11 years ago by JoshChris
Check if current post type is a custom post type – WordPress.
Returns a true/false-statement.
Can be used outside The Loop.
0
1918
posted 11 years ago by jonasethomsen
Open your function.php of your active Theme.
Copy your code insert and call the new Site URL.
After delete the code snippet.
0
1079
posted 11 years ago by WMSchneider