Welcome To Snipplr


Everyone's Recent Snippets Tagged wordpress



1 ... 10 11 12 13 14 ... 47
Changes the title and moves the featured image box in Wordpress admin area. Add this to functions.php
0 1142 posted 13 years ago by i-am-andy
Add or Change Content in the Featured Image Meta Box Posted on March 21, 2011 Perhaps you need to provide a little extra instruction about the Featured Image meta box. It doesn’t take much to add your own text to that box:
0 1234 posted 13 years ago by i-am-andy
Link to the current theme / template url for use in wordpress template.
0 1112 posted 13 years ago by carouselcreative
Just insert any category id into the argument and it will return the top level category object. e.g: print_r( get_top_level_category('INSERT CATEGORY ID HERE') );
0 1304 posted 13 years ago by djmosc
Add current class to single posts in Wordpres wp_nav_menu by adding a filter
0 1495 posted 13 years ago by inflightatnight
1 1277 posted 13 years ago by travishines
Remove unnecessary code from the default WordPress header.
0 1181 posted 13 years ago by Huskie
This creates a theme options page for a wordpress theme.
0 1064 posted 13 years ago by ddavidd
Place at the top of your header.php to redirect visitors who are not logged-in to the Wordpress admin. I use this to redirect to a simple HTML 'coming soon' page while sites are in development.
1 1209 posted 13 years ago by adambundy
1. Get Posts however you see fit 2. Loop through the posts getting the terms from taxonomies and add them to the Post object 3. Sort the Array of Post Objects by the property you want them sorted by using sort_on_field()
0 1625 posted 13 years ago by kingkool68
Adds a class to the standard classes in Images in Posts/Pages
0 1118 posted 13 years ago by maxxscho
Remove the Attributes in <img> - Tags in the Post/Page Content
0 983 posted 13 years ago by maxxscho
Show wp categories in drop down list like ...
0 1420 posted 13 years ago by webtechdev
Assumes that you have got a #mainnav around your menu. Works nicely with wp_nav_menu inside.
0 1255 posted 13 years ago by telltec
0 1072 posted 13 years ago by innerstorm
To find the count of number of files in a directory, use this.
0 908 posted 13 years ago by taqin
Codigo base de un plugin para wordpress
0 1026 posted 13 years ago by foxnetorka
Codigo base para un widget en Wordpress
0 1064 posted 13 years ago by foxnetorka
Add the following line to code to your theme's functions.php file
0 969 posted 13 years ago by priyankvira
Add the following lines of code to your theme's function.php file.
0 996 posted 13 years ago by priyankvira
Add the line of code to your theme's function.php file
0 1169 posted 13 years ago by priyankvira
Add the following file to your theme's function.php file
0 1144 posted 13 years ago by priyankvira
0 1757 posted 13 years ago by priyankvira
1 ... 10 11 12 13 14 ... 47