Welcome To Snipplr
Everyone's Recent Snippets Tagged wordpress
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Simply paste the code below and insert your Google Analytics where it says paste your Google Analytics. You can paste the code once in your functions.php file and never have to worry about it again. We are adding an action to the wp_footer, so it wil...
0
807
posted 13 years ago by xavsio4
The Logo settings start on line 110 of the commented version.
0
807
posted 13 years ago by jeremyjared74
use <?php>/images/someimage.gif
Such a path resolves to ..
http://www.yoursite.com/wp-content/themes/YOURTHEME/images/someimage.gif
0
705
posted 13 years ago by disgruntledillon
Just replace the URL in the fetch_rss line below with the RSS feed to your Twitter favorites. In fact this will work with any RSS feed.
0
635
posted 13 years ago by jamiebrwr
This gets the content from the page with the ID 22 (change as appropriate on line 1) and echos the first 20 words (change word count on line 8) - can be used on any page inside your Wordpress theme.
0
649
posted 13 years ago by wahnbriefe
Don't go through what I did. Just copy and paste this into the Contact Form 7 plugin for an easy date of birth picker.
0
3337
posted 13 years ago by ethicka
This function will loop all the registered post types, and for each post type create a meta box with given data. Here links is assimilated to post types
0
731
posted 13 years ago by xavsio4