danipetrov
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Single website with two "diversions"…Hi guys,
I was wondering if anyone can recommend something?
I still cannot figure out what’s the best way of achieving this, but probably I would like to do like a splash screen, where the visitor will select the preferred location/gym (eventually using cookies?) and then, depending on that, have some sort of conditional content on few pages.
The only question is – how to achieve that? 🙂
Any thoughts are more than welcome! Thanks in advance!
Hi Sona & thanks for your prompt response.
I do indeed use Multisite WP. I have managed to workaround this by simply putting the following for images directory:
/wp-content/uploads/site/2/This has solved the problem.
Thanks once again!
Here is some more troubleshooting:
cat -n /var/lib/wordpress/wp-content-demo/plugins/photo-gallery/admin/controllers/BWGControllerOptions_bwg.php | grep 382 382 mkdir(ABSPATH . $images_directory . '/photo-gallery', 0777);Then I tried to print the result of that by doing this:
#I put this code on line 383 echo WDWLibrary::message(ABSPATH . $images_directory . '/photo-gallery', 'error');And here is the result:
<img src=’http://s32.postimg.org/nj2vlnn1d/Screen_Shot_2016_05_01_at_16_07_24.jpg’ border=’0′ alt=”Screen Shot 2016 05 01 at 16 07 24″ />