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 733 posted 14 years ago by jhonqwerty
Change to line in page template file to call a different sidebar.
0 769 posted 14 years ago by lromak
Add on first line of wp-config.php
0 640 posted 14 years ago by BoNzO
Gets all meta data keys/values for a particular post
1 982 posted 14 years ago by mattkenefick
0 702 posted 14 years ago by PM-Webdesign
Code in functions.php einfügen
0 607 posted 14 years ago by PM-Webdesign
Code in functions.php einfügen
0 541 posted 14 years ago by PM-Webdesign
Code in functions.php einfügen
0 769 posted 14 years ago by PM-Webdesign
Code in functions.php einfügen
0 583 posted 14 years ago by PM-Webdesign
Code in functions.php einfügen
0 639 posted 14 years ago by PM-Webdesign
Code in functions.php einfügen
0 692 posted 14 years ago by PM-Webdesign
Code in functions.php einfügen
0 581 posted 14 years ago by PM-Webdesign
Code in die functions.php einfügen
0 655 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 1577 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 750 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 679 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 928 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 853 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 848 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 627 posted 14 years ago by fjarrett
Clean up your Admin Editor view by removing unwanted meta boxes that create clutter.
0 638 posted 14 years ago by fjarrett
1 ... 25 26 27 28 29 ... 42