Welcome To Snipplr


Everyone's Recent Snippets Tagged wordpress



1 ... 14 15 16 17 18 ... 47
in the theme's footer.php insert <?php>
0 683 posted 13 years ago by xavsio4
0 773 posted 13 years ago by xavsio4
Can also be done in your pre built theme
0 720 posted 13 years ago by xavsio4
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 804 posted 13 years ago by xavsio4
0 680 posted 13 years ago by xavsio4
The Logo settings start on line 110 of the commented version.
0 806 posted 13 years ago by jeremyjared74
I can't access the global $paged variable.
0 396 posted 13 years ago by DanielApt
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 633 posted 13 years ago by jamiebrwr
Snippets for Wordpress functions
0 809 posted 13 years ago by sdellow
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 646 posted 13 years ago by wahnbriefe
0 541 posted 13 years ago by akmuraro
Will strip image from content
0 654 posted 13 years ago by akmuraro
Add this to your functions file
0 833 posted 13 years ago by coryschadt
Add this to your functions file
0 690 posted 13 years ago by coryschadt
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 3333 posted 13 years ago by ethicka
Found on the wordpress.org forums, courtesy of snails07
0 604 posted 13 years ago by rgsmith007
0 2159 posted 13 years ago by wpexplorer
Insert this code in header.php
0 736 posted 13 years ago by tcelestino
0 574 posted 13 years ago by pwd
List your WordPress posts on a non-WordPress website
0 743 posted 13 years ago by arnolddc71
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 728 posted 13 years ago by xavsio4
1 ... 14 15 16 17 18 ... 47