WordPress.org

Forums

The Bootstrap
[resolved] Adding jquery validation plugin (2 posts)

  1. dstrosin
    Member
    Posted 2 years ago #

    I am having trouble linking up to js files from my child theme. Looking at the code it tells me that the theme is looking back to the-bootstrap theme for the files I'm adding.

    I've created a new functions.php file in my child theme, I've tried adding the link into the header as well.

    How can I correctly do this?

    My site is built locally right now so I don't have a public site to link to.

    Thanks!

    http://wordpress.org/extend/themes/the-bootstrap/

  2. Konstantin Obenland
    Code Wizard
    Theme Author

    Posted 2 years ago #

    Hi, it sounds like you used get_template_directory_uri() rather than get_stylesheet_directory_uri(), when you registered your scripts.

    See http://codex.wordpress.org/Function_Reference/get_stylesheet_directory_uri

    Best,
    Konstantin

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic