Welcome To Snipplr


Everyone's Recent Snippets Tagged wordpress



1 ... 23 24 25 26 27 ... 47
my wordpress loop with paging support and category,tag filteration
3 1070 posted 14 years ago by root_hacker
2 986 posted 14 years ago by silentpro
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 1143 posted 14 years ago by silentpro
WP Functions.
0 890 posted 14 years ago by silentpro
0 865 posted 14 years ago by mommygeekology
0 1076 posted 14 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 1411 posted 14 years ago by Wendelboe
This piece of code allows to insert text into the tinymce textarea when writing a WordPress plugin for instance.
0 912 posted 14 years ago by tomidle
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 970 posted 14 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 1511 posted 14 years ago by howardpanton
WordPress shortcode: Display content to registered users only
1 1094 posted 14 years ago by howardpanton
0 998 posted 14 years ago by gabbo
It's working now. Just having issue with it applying to all columns. Need to keep checking. (IE. have to tax's for testing, only one has the additional meta info attached, but they are both showing in the column as having the address as "active" (usi...
1 1020 posted 14 years ago by thefrosty
Add this in the functions.php file, in your Wordpress theme.
0 1483 posted 14 years ago by ddavidd
0 1135 posted 14 years ago by vagrantradio
This snippet check for custom field value (customfieldname), if there is nothing it will display default value (alternative text). This is my first WordPress Snippet :)
1 1078 posted 14 years ago by raz
This is to check if a custom option exist from the admin panel.
1 997 posted 14 years ago by Farhan
Original custom fields code based on Wefunction's code here: http://wefunction.com/2008/10/tutorial-creating-custom-write-panels-in-wordpress/ enhanced to add support for uploading images.
1 1106 posted 14 years ago by simnor
<pre><code>* Use the proper DOCTYPE. * The opening <html> tag should include language_attributes(). * The "content-type" meta element should be placed before everything else, including the title element. * Use bloginfo() to fetch the title and des...
2 1158 posted 14 years ago by blueocto
In addition to CSS style information for your theme, style.css provides details about the Theme in the form of comments. The stylesheet must provide details about the Theme in the form of comments. No two Themes are allowed to have the same details l...
0 2116 posted 14 years ago by blueocto
1 1141 posted 14 years ago by blogjunkie
Add two new shortcodes to create Shopp product/category links in an easy way. **USAGE:** The following shortcodes will now be available along your posts, pages and text widgets [productlink id='' text=''] (Text is optional, if omitted the p...
0 826 posted 14 years ago by zreedeecom
A blank search in wordpress returns all the posts, which could be taken as duplicate content if that got indexed.
0 1041 posted 14 years ago by baires
1 ... 23 24 25 26 27 ... 47