(2015-10-11, 04:55:56)gslexx Wrote: Dear Tyblitz, i think the plugin does not correctly uses the path to the files!? Problem: i am using the Prepros to compile files (this program supports automatic refresh of browsers every time you edit a file), Prepros adds to the address port (http://localhost:8005/www...) and for some reason the page "Site" is not displayed! With other plugins there are no problems.
how to get image address?
so does not work:
<img class="uk-border-circle" src="<?php return_setting('home_box','img_1'); ?>" alt="">
Thank you!
get_setting
to output (echo) the setting, return_setting
to pre-process it in PHP. You can also achieve the same by doing echo return_setting
. Please refer to the documentation on Outputting settings. The file paths are correct.As for the Prepros problem, I have no experience with this tool. Can you give me some additionnal info? As in:
- Does the 'Site' tab simply not appear in the menu or does the page stay blank?
- If the page stays blank, could you open Developer Tools (F12) and report any errors (fully)?
- Finally, in the Dev Tools 'Elements' tab, can you check whether the body tag has a class
cs_loaded
(if not, try to add it manually and see if it works)?