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 1335 posted 14 years ago by root_hacker
2 1042 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 1199 posted 14 years ago by silentpro
WP Functions.
0 930 posted 14 years ago by silentpro
0 916 posted 14 years ago by mommygeekology
0 1169 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 1728 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 962 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 1030 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 1748 posted 14 years ago by howardpanton
WordPress shortcode: Display content to registered users only
1 1146 posted 14 years ago by howardpanton
0 1063 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 1070 posted 14 years ago by thefrosty
Add this in the functions.php file, in your Wordpress theme.
0 1586 posted 14 years ago by ddavidd
0 1201 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 1148 posted 14 years ago by raz
This is to check if a custom option exist from the admin panel.
1 1043 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 1164 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 1387 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 2280 posted 14 years ago by blueocto
1 1211 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 878 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 1108 posted 14 years ago by baires
1 ... 23 24 25 26 27 ... 47