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
1927
posted 12 years ago by alastarmason1
This snippet shows you how to get previous and next post in category URL.
0
3282
posted 12 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
1731
posted 12 years ago by fedek6
This is template for adding custom settings in Wordpress (using settings API).
1
1903
posted 12 years ago by fedek6
Simulates a click on a page with the name you put in the parameter in the onclick function.
1
2750
posted 12 years ago by Reiff
#Wordpress Debug Info
##Find out basic information about your WordPress installation and server environment
2
1677
posted 12 years ago by gregdbarnes
This uses the timthumb script saved as sized.php in the theme directory
1
2194
posted 12 years ago by bitsculptor
This shortcode was tested with The Events Calendar version 3.3.1
Usage: [upcoming_events limit="6"]
0
2121
posted 12 years ago by crypticsoft
Positioning the normal metaboxes in WordPress admin (like Excerpt, Author etc.) before the WYSIWYG editor
1
1557
posted 12 years ago by tkujawa
Gets all of a Wordpress post meta data in an array without specifying a key
1
1920
posted 12 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
2124
posted 13 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
2187
posted 13 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
1897
posted 13 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
3316
posted 13 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
2233
posted 13 years ago by JoshChris
Thanks to Stephen Harris for this > http://wordpress.stackexchange.com/questions/50425/show-current-navigation-path-from-menu
1
2665
posted 13 years ago by adambundy
Genius stuff right here from https://gist.github.com/BronsonQuick
1
3605
posted 13 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
4917
posted 13 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
3142
posted 13 years ago by WMSchneider