Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged wordpress



1 ... 20 21 22 23 24 ... 42
his code will show the child pages, and only the child pages, when on a parent or on one of the children. This code will not work if placed after a widget block in the sidebar.
1 1835 posted 15 years ago by raz
List WordPress subpages and include parent
0 1455 posted 15 years ago by raz
0 2302 posted 15 years ago by alik
1 1921 posted 15 years ago by widescape
'container' => ' ' -- removes the container div
1 1594 posted 15 years ago by adambundy
0 1131 posted 15 years ago by lexpresso
0 1017 posted 15 years ago by anhonestboy
this code to load image from my theme images folder
0 1350 posted 15 years ago by root_hacker
I got the answer to this question on WordPress Stack Exchange website: http://wordpress.stackexchange.com/questions/6931/is-there-a-wordpress-function-that-i-can-use-to-retrieve-the-current-page-that-is
0 3064 posted 15 years ago by racl101
Use this to get the name of the custom taxonomy. Note that this only returns the name of the first selected item, but since this returns an array, use a foreach loop to find all names.
0 2883 posted 15 years ago by ToddSmithSalter
Plugin gets child pages of parent in Wordpress. You'll need to pass the parent ID but this isn't difficult to figure out programmatically if needed, either.
0 1706 posted 15 years ago by ashworthconsulting
0 1165 posted 15 years ago by slcwebapps
my wordpress loop with paging support and category,tag filteration
3 1591 posted 15 years ago by root_hacker
WP Functions Step 1: Upload the logo you want into the theme images folder Step 2: Add the following code to your theme functions.php file
3 1449 posted 15 years ago by silentpro
WP Functions.
0 1144 posted 15 years ago by silentpro
0 1149 posted 15 years ago by mommygeekology
0 1436 posted 15 years ago by Affix
If post has featured image, use it.. If not, pick out the first in the post.. Still not working? Stick with the default one..
3 2000 posted 15 years ago by Wendelboe
Zugangsdaten In der wp-config.php lassen sich bestimmte Konstanten definieren, sodass die Abfrage der Zugangsdaten und somit auch die Speicherung nicht mehr nötig ist. Sie lauten wie folgt: define('FTP_HOST', 'ftp.example.org'); define('FTP_USE...
0 1231 posted 15 years ago by gabbo
You can create a page template that you can apply to pages so only logged in members can view the contents:
0 2048 posted 15 years ago by howardpanton
WordPress shortcode: Display content to registered users only
1 1420 posted 15 years ago by howardpanton
0 1287 posted 15 years ago by gabbo
1 ... 20 21 22 23 24 ... 42