I have css file in Plugin folder and I want to include css file in plugin folder through layer , If anybody know please help me out.
Like qa_path_to_root() give URL to root of Q2a site but how to get URL of Plugin folder.
Use the constant, QA_HTML_THEME_LAYER_URLTOROOT:
QA_HTML_THEME_LAYER_URLTOROOT
QA_HTML_THEME_LAYER_DIRECTORY
include
http://www.question2answer.org/layers.php
The embed plugin uses this.
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.