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

How to use germ_terms() with meta_query for ACF Taxonomy field?

Answer – the correct formulation is… ‘meta_query’ => array( array( ‘key’ => ‘Topic’, ‘value’ => “12057”, ‘compare’ => ‘LIKE’ ) ) In full: ` $args = array( ‘taxonomy’ => ‘event’, // ‘order’ => ‘ASC’, ‘hide_empty’ => false, ‘hierarchical’ => true, // ‘parent’ => 0, ‘meta_query’ => array( array( ‘key’ => ‘Topic’, ‘value’ => “12057”, ‘compare’ … Read more

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