Advanced Custom Fields Gallery and Flex Slider [reformuled]

In wordpress, you should always use enqueue to include scripts and styles. Find functions.php file inside your theme, go to the end and add following function call_custom_scr_styles() { wp_enqueue_style( ‘flexslider-style’, get_template_directory_uri() . ‘/css/flexslider.css’ ); wp_enqueue_script( ‘jquery-custom’, ‘https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js’, array(), ‘1.0.0’, true ); wp_enqueue_script( ‘flexslider-script’, ‘http://electives-abroad.org/jquery.flexslider.js’, array(), ‘1.0.0’, true ); } add_action( ‘wp_enqueue_scripts’, ‘call_custom_scr_styles’ ); note: I … Read more

Javascript Tab Gallery with Advanced Custom Fields

Fixed it! This is the resulting code: <?php $images = get_field(‘extra_photos’); if( $images ): ?> <div class=”row2″> <?php foreach( $images as $image ): ?> <div class=”column2″ > <img src=”https://wordpress.stackexchange.com/questions/337143/<?php echo $image[“url’]; ?>” alt=”https://wordpress.stackexchange.com/questions/337143/<?php echo $image[“alt’]; ?> ” onclick=”myFunction(this);”/> </div> <?php endforeach; ?> </div> <!– The expanding image container –> <div class=”container2″> <!– Close the image … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)