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
479
posted 8 years ago by alastarmason1
This snippet shows you how to get previous and next post in category URL.
0
593
posted 8 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
418
posted 8 years ago by fedek6
This is template for adding custom settings in Wordpress (using settings API).
1
493
posted 8 years ago by fedek6
Simulates a click on a page with the name you put in the parameter in the onclick function.
1
834
posted 8 years ago by Reiff
#Wordpress Debug Info
##Find out basic information about your WordPress installation and server environment
2
355
posted 9 years ago by gregdbarnes
This uses the timthumb script saved as sized.php in the theme directory
1
499
posted 9 years ago by bitsculptor
This shortcode was tested with The Events Calendar version 3.3.1
Usage: [upcoming_events limit="6"]
0
504
posted 9 years ago by crypticsoft
Positioning the normal metaboxes in WordPress admin (like Excerpt, Author etc.) before the WYSIWYG editor
1
354
posted 9 years ago by tkujawa
Gets all of a Wordpress post meta data in an array without specifying a key
1
452
posted 9 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
473
posted 9 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
541
posted 9 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
495
posted 9 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
630
posted 9 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
563
posted 9 years ago by JoshChris
Thanks to Stephen Harris for this > http://wordpress.stackexchange.com/questions/50425/show-current-navigation-path-from-menu
1
856
posted 9 years ago by adambundy
Genius stuff right here from https://gist.github.com/BronsonQuick
1
618
posted 9 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
797
posted 9 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
644
posted 9 years ago by WMSchneider