Support » Plugin: Triberr » Issues with resource pathways

  • Matthew Horne


    Hi you made a slight mistake with the resources pathways.


    around lines 57

    Function named triberr_admin_register_head

    Need to use plugin_uri like so.

    function triberr_admin_register_head() {
    	$siteurl = get_option('siteurl');
        $styleurl = $siteurl . ' ' .plugins_url('/media/styles/manage.css', dirname(__FILE__) );
        $jsurl = $siteurl . ' ' .plugins_url('/scripts/triberr_js.js', dirname(__FILE__) );
        echo "<link rel='stylesheet' type='text/css' href='$styleurl' />\n";
        echo "<script type='text/javascript' src='$jsurl'></script>\n";

    This will fix the 404 errors.

    The second error is an error 500 for a resource


  • The topic ‘Issues with resource pathways’ is closed to new replies.