Welcome To Snipplr


Everyone's Recent Snippets Tagged wordpress



1 ... 23 24 25 26 27 ... 47
2 1408 posted 15 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 1591 posted 15 years ago by silentpro
WP Functions.
0 1267 posted 15 years ago by silentpro
0 1239 posted 15 years ago by mommygeekology
0 1589 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 2146 posted 15 years ago by Wendelboe
This piece of code allows to insert text into the tinymce textarea when writing a WordPress plugin for instance.
0 1275 posted 15 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 1327 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 2206 posted 15 years ago by howardpanton
WordPress shortcode: Display content to registered users only
1 1580 posted 15 years ago by howardpanton
0 1406 posted 15 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 1447 posted 15 years ago by thefrosty
Add this in the functions.php file, in your Wordpress theme.
0 2104 posted 15 years ago by ddavidd
0 1655 posted 15 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 1600 posted 15 years ago by raz
This is to check if a custom option exist from the admin panel.
1 1417 posted 15 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 1547 posted 15 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 1774 posted 15 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 2924 posted 15 years ago by blueocto
1 1577 posted 15 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 1174 posted 15 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 1485 posted 15 years ago by baires
Prevents WordPress from loading Contact Form 7 on page templates other than the one defined.
0 1880 posted 15 years ago by vagrantradio
1 ... 23 24 25 26 27 ... 47