Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged wordpress



1 ... 25 26 27 28 29 ... 42
Always forget the correct way of putting this.
0 887 posted 14 years ago by jhonqwerty
Change to line in page template file to call a different sidebar.
0 936 posted 14 years ago by lromak
Add on first line of wp-config.php
0 786 posted 14 years ago by BoNzO
Gets all meta data keys/values for a particular post
1 1208 posted 14 years ago by mattkenefick
0 901 posted 14 years ago by PM-Webdesign
Code in functions.php einfügen
0 727 posted 14 years ago by PM-Webdesign
Code in functions.php einfügen
0 691 posted 14 years ago by PM-Webdesign
Code in functions.php einfügen
0 951 posted 14 years ago by PM-Webdesign
Code in functions.php einfügen
0 781 posted 14 years ago by PM-Webdesign
Code in functions.php einfügen
0 780 posted 14 years ago by PM-Webdesign
Code in functions.php einfügen
0 886 posted 14 years ago by PM-Webdesign
Code in functions.php einfügen
0 722 posted 14 years ago by PM-Webdesign
Code in die functions.php einfügen
0 837 posted 14 years ago by PM-Webdesign
First, create an image that fits the allocated space. As of WordPress 2.8, the logo is a 30 pixels wide and 31 pixels tall transparent GIF. When using a transparent GIF or 8-bit PNG, ensure that the image matte matches the header background color: he...
3 1813 posted 14 years ago by lromak
Appends a custom more-link to all excerpts, regardless of whether they're auto-generated or pulling manual excerpts from the excerpt field. Note: Automatic excerpts still show the default […] at the end (before the more-link). Found here: http:/...
1 906 posted 14 years ago by hussong
This can be dropped into either index.php or any custom page template to display posts in the "Featured" category. Alternatively you could create a custom loop (loop-featured.php, for example) using this query.
1 837 posted 14 years ago by mike_fowler
I\'m definitely not the best at Regex. But this function seems to be timing out, and adding like 4o links to the post. Got any ideas?
0 1173 posted 14 years ago by thefrosty
The first thing to do is to create header files. Create as many different headers as you want. In this exemple, I have created 3 custom headers from my theme default file header.php, names headercontact.php, headergallery.php and headerdefault.php....
1 1036 posted 14 years ago by stephcode
Use this function to filter your first and last menu items and assign them each a specific class name. This is very handy when applying separators in CSS but want to exclude the first and/or last items.
3 1027 posted 14 years ago by fjarrett
Add your own text and/or link to the admin footer area. Don\\\'t forget to leave in some credit for WordPress and other helpful links.
1 775 posted 14 years ago by fjarrett
Clean up your Admin Editor view by removing unwanted meta boxes that create clutter.
0 790 posted 14 years ago by fjarrett
1 ... 25 26 27 28 29 ... 42