Welcome To Snipplr


Everyone's Recent Snippets Tagged wordpress



1 ... 23 24 25 26 27 ... 47
2 1380 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 1567 posted 15 years ago by silentpro
WP Functions.
0 1241 posted 15 years ago by silentpro
0 1217 posted 15 years ago by mommygeekology
0 1561 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 2112 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 1260 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 1310 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 2177 posted 15 years ago by howardpanton
WordPress shortcode: Display content to registered users only
1 1563 posted 15 years ago by howardpanton
0 1388 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 1411 posted 15 years ago by thefrosty
Add this in the functions.php file, in your Wordpress theme.
0 2082 posted 15 years ago by ddavidd
0 1626 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 1582 posted 15 years ago by raz
This is to check if a custom option exist from the admin panel.
1 1392 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 1528 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 1752 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 2901 posted 15 years ago by blueocto
1 1553 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 1152 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 1461 posted 15 years ago by baires
Prevents WordPress from loading Contact Form 7 on page templates other than the one defined.
0 1843 posted 15 years ago by vagrantradio
1 ... 23 24 25 26 27 ... 47