| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 1 year, 5 months |
| seen | Oct 10 '12 at 10:26 | |
| stats | profile views | 25 |
|
Nov 27 |
awarded | Yearling |
|
Mar 26 |
comment |
Using wp_trim_excerpt to get the_excerpt() outside the loop This should now be the accepted answer. No need to write your own trim functions... |
|
Dec 15 |
answered | Multisite non www domain gives registration error but should redirect to www.domain.com |
|
Dec 14 |
comment |
wordpress Search function is not working The input field works now, but the search brings back no results for terms which should probably have a match. |
|
Dec 14 |
answered | wordpress Search function is not working |
|
Dec 13 |
answered | Can posts have parents? |
|
Dec 11 |
awarded | Tenacious |
|
Dec 8 |
answered | merging two multisites |
|
Dec 7 |
comment |
How can I (semi) automate a database export and import to a different location? Yes, but it just occurs to me that you need to take care of the URLs you've set in your wordpress installation. On your dev machine they might be "localhost", but on your live machine they will be "www.example.com". You can do this using search and replace in sql dump file (or using this handy tool: interconnectit.com/124/… |
|
Dec 7 |
answered | Best function/method to access wp-config? |
|
Dec 7 |
comment |
How does Wordpress insert Paragraphs in posts Wow, I hadn't realised this. That would rather inefficient to me. I would have thought the opposite would be better: remove them on edit. Not that it matters really I guess. |
|
Dec 7 |
comment |
How can I (semi) automate a database export and import to a different location? Well, if the live database hasn't really changed content wise (including user comments) then you could just drop it and recreate it using the dump from the dev database. This will work fine as long as you are clear that the live site will be overwritten with the dev site periodically |
|
Dec 7 |
comment |
URL rewriting for WordPress Network (Multisite) subsite I've updated my answer with some mod_rewrite info. Note sure if it helps, but worth giving it a go. |
|
Dec 7 |
revised |
URL rewriting for WordPress Network (Multisite) subsite Added updated info on domain rewriting |
|
Dec 7 |
comment |
How can I (semi) automate a database export and import to a different location? Note: for moving posts between sites, you can always use Wordpress's export/import feature. Also, you might well be able to find plugins or online services to achieve what you want - I don't know. |
|
Dec 7 |
comment |
How can I (semi) automate a database export and import to a different location? Scripting changes to your database STRUCTURE would be a set of SQL statements (eg ALTER TABLE). The problem with scripting changes to CONTENT, eg adding a post, is that you need to know ecxactly what changes to the database Wordpress is making and therefore not really practical. Further if you added a post to your dev site, say a post with ID 100. It might be that that post ID is already in the live site, so you can't simply script that as SQL. |
|
Dec 7 |
comment |
URL rewriting for WordPress Network (Multisite) subsite No, I guess not. You should be able to achieve this using mod_rewrite though. I'll have a think about it. |
|
Dec 7 |
comment |
Load posts from external source if not found in database Having thought about this, you might want to look into Custom Post types. This will ensure that the post IS in the database, but will give you hooks into how the post is retrieved and processed for that specific type of post only. |
|
Dec 7 |
answered | How can I (semi) automate a database export and import to a different location? |
|
Dec 7 |
comment |
Load posts from external source if not found in database I don't know wordpress well enough to say if this is possible, but my guess this you will run into all sorts of problems. A "post" is like the fundamental object in Wordpress and for a given Post it expects there to be an item in the database. |