Empty string supplied as input when parsing content
I have fixed the problem. The main problem was that I was calling the function mb_find_my_image from index.php. After I’ve removed the calling from index.php, everything works as it should.
I have fixed the problem. The main problem was that I was calling the function mb_find_my_image from index.php. After I’ve removed the calling from index.php, everything works as it should.
There are two options to run multiple sites from one installation: Use multi-site with a subdomain setup. You can use completely different domains then. Adjust the site URL depending on the currently requested host.
A couple of caveats before beginning. It tried to run that plugin but apparently I have to register with a third party site before I can use it, so that throws a wrench in testing. Second, I am having trouble duplicating this problem. That may be because I have beaten my dev stack up too … Read more
I found what was causing the problem in this case: we are using APC Cache and the WP APC Panel plugin for WordPress. I fixed it with the following steps: go to WordPress->Tools->WP APC Panel click on the User Cache Entries tab then click Clear user cache As soon as I did this, all the … Read more
Make a child theme. Copy category.php into your child theme. Comment out lines 17, 33, 46, 48, and 50. The category checks if you have any posts under that category and if not shows ‘Nothing Found’. You’re essentially removing the if statement. This will show the category title if there are not posts under this … Read more
Embeds are cached in hidden post meta fields with _oembed_* keys. You could retrieve all of meta (with get_post_custom() for example) and try to get info from it. However, from quick look at my test data it seems that duplicates are not uncommon there (might have to do with either WP version changes or embed … Read more
There are several sides to this. What it should be ideally, what is is practically, and what it usually has to be practically. There are two contexts to the writing files in WordPress. Just do it with PHP The locked down hardest scenario here is that only uploads is writable. Otherwise core functionality will start … Read more
Is it possible to make a wordpress multisite on domain.com and then every site that I make goes to domain.com/directory/newsite? no, this is not possible without some major code hacking as far as I can tell. I run a few multisites, and I have some local installations to play around and didn’t manage to find … Read more
I’ve not tested your code; but assuming it’s correct and working well, edit your single.php file and insert this code just after the point where you end your post content and before the Comment Section starts. I’d suggest to write this Author Box code in a separate file and then use get_template_part to insert the … Read more
For any other readers I’d like to add in advance that this only really makes sense if you are kind of creating drafts or templates or whatever you want to call it that will be changed later on. Otherwise you’ll at least deal with SEO penalties due to duplicate content. Unfortunately this functionality isn’t part … Read more