Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #115053

    Kosher K
    Member

    Can you provide login access so i can check on your set-up.

    Thanks

    #115061

    Peter C
    Participant

    ok figured it out… missed a line of code,

    But I have the same original problem with finding the skin file 🙁

    #115067

    Kosher K
    Member

    again, get_stylesheet_directory_uri() returns yoursite.com/wp-content/themes/your-active-theme-folder

    I don’t know where you added your custom files. if they are inside your child theme and you have activated a child theme then you could easily pull them using

    <?php echo get_stylesheet_directory() ?>/your-custom-folder/your-custom-file.css

    I advise you to open the css file or JS file directly on your browser and make sure they are the correct url and embed it directly on your css src or javascript src rather than using PHP for relative path.

    #115071

    Peter C
    Participant

    The files are in the head and are linked correctly… must be something in the JS file that’s not linked correctly

    #115072

    Kosher K
    Member

    HI There,

    Can you provide the exact link url of your JS and CSS?

    also, can you please provide wordpress and FTP access and I’ll add them in the head tag directly.

    Cheers

    #115074

    Peter C
    Participant
    This reply has been marked as private.
    #115080

    Kosher K
    Member

    Hello

    Thanks for the information,

    I can see this from your head tag.

    <script type="text/javascript" src="http://develophealth.com/wp-content/themes/x-child-renew/Boxaroo/js/jquery-Boxaroo-1.8.min.js"></script>
    <link rel="stylesheet" href="http://develophealth.com/wp-content/themes/x-child-renew/Boxaroo/css/jquery-Boxaroo-1.8.css" type="text/css" media="all" />

    which are linked to correct JS file and CSS file,

    Can you please provide detailed information of your actual issue along with a screenshot for clarification?

    Thank You

    #115088

    Peter C
    Participant

    Its a script for a lightbox with a Vimeo video in it. What’s happening is the path for the file and images for the skin isn’t being found.

    I also don’t think the jquery file is being found.

    Here’s a sample page:

    http://develophealth.com/light-box-test/

    #115236

    Christian
    Moderator

    Hey Peter,

    Sorry for the confusion. We’d love to help you with your concern however, we do not have support for third party scripts. If you want to add a CSS or script for your site, please visit the links below to learn the best way to do it.

    http://code.tutsplus.com/articles/how-to-include-javascript-and-css-in-your-wordpress-themes-and-plugins–wp-24321
    http://www.wpbeginner.com/wp-tutorials/how-to-properly-add-javascripts-and-styles-in-wordpress/

    Thank you for understanding.