Bok,
evo mene ponovo s par pitanja vezanih za razvoj worpress tema…
Dakle radi se o javascript pluginu owl.carousel i ja ga registriram kroz functions.php na ovaj nacin :
function owlcarousel()
{
// Register the script like this for a theme:
wp_register_script( 'owlcarousel', get_template_directory_uri() . '/js/owl.carousel.js', array( 'jquery' ) );
// For either a plugin or a theme, you can then enqueue the script:
wp_enqueue_script( 'owlcarousel' );
}
add_action( 'wp_enqueue_scripts', 'owlcarousel' );
samo mi nije jasno, gdje da upisem ove custom postavke, dodao sam ih u footer - i ne radi, dodao sam ih u header.php, unutar head tagova - i ne radi, a dodao sam i na kraj front-page.php jer na toj stranici mi i treba - i pogadate, ne radi…