Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
424 views
in Plugins by

Plugin active and admin pages fout

 

/qa-plugin/q2a-social-share/qa-social-share.php on line 1

1 Answer

0 votes
by
Post your qa-social-share.php please. You have an error on line 1.
by
<?php

class qa_social_share_widget {
   
    function allow_template($template)
    {
        return ($template=='question');
    }
   
    function allow_region($region)
    {
        return true;
    }
   
    function output_widget($region, $place, $themeobject, $template, $request, $qa_content)
    {
       
        $themeobject->output('<div class="share42init"></div>');
        /* moved to Layout->custom HTML in HEAD to avoid conflict with Markdown editor script tag
        $themeobject->output('<script type="text/javascript" src="./qa-content/share42/share42.js"></script>');
        */
       
               
    }

}

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.

Categories

...