Welcome To Snipplr


Everyone's Recent Snippets Tagged wordpress



1 ... 28 29 30 31 32 ... 47
Add on first line of wp-config.php
0 1290 posted 15 years ago by BoNzO
SQL query to update *wp_options* records that are specific to the host of a WordPress site. Run this query after copying the DB to another server (if this URL is different). Useful for deploying WordPress from a dev server to a live environment.
1 1568 posted 15 years ago by errkk
Gets all meta data keys/values for a particular post
1 2064 posted 15 years ago by mattkenefick
0 1192 posted 15 years ago by lromak
When working on client sites, you often need admin access, instead of requiring them to set up an admin user, just make your own. ref: http://www.dnawebagency.com/how-to-add-an-admin-user-to-the-wordpress-database
2 1938 posted 15 years ago by timkinnane
Code in single.php, loop.php, index.php, page.php, category.php, und archive.php , innerhalb des loops einfügen.
0 1494 posted 15 years ago by PM-Webdesign
0 1354 posted 15 years ago by PM-Webdesign
Code in functions.php einfügen
0 1109 posted 15 years ago by PM-Webdesign
Code in functions.php einfügen
0 1063 posted 15 years ago by PM-Webdesign
Code in functions.php einfügen
0 1384 posted 15 years ago by PM-Webdesign
Code in functions.php einfügen
0 1228 posted 15 years ago by PM-Webdesign
Code in functions.php einfügen
0 1191 posted 15 years ago by PM-Webdesign
Code in functions.php einfügen
0 1340 posted 15 years ago by PM-Webdesign
Code in functions.php einfügen
0 1138 posted 15 years ago by PM-Webdesign
Code in die functions.php einfügen
0 1316 posted 15 years ago by PM-Webdesign
1 1231 posted 15 years ago by spraitas
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 2630 posted 15 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 1391 posted 15 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 1283 posted 15 years ago by mike_fowler
If you\'ve got a Wordpress install that\'s changed domain or you\'re making a local or development copy, you\'ll need to update the Wordpress DB tables with the new URL.\r\nThe first step is the options table, with siteurl and homeurl. The posts als...
1 1533 posted 15 years ago by timkinnane
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 1662 posted 15 years ago by thefrosty
1 ... 28 29 30 31 32 ... 47