slide change on hover with nextgen scrollgallery [closed]

Solution I am providing intiates the click event when mouse enters the thumbnail (with a delay to avoid passing mouse events). jQuery(‘.scrollgallery .thumbarea img’).hover(function(e){ this.ScrollGalleryHover = setTimeout(‘initiateClick(“‘+jQuery(this).attr(‘src’)+'”);’,500); },function(e) { clearTimeout(this.ScrollGalleryHover); }); function initiateClick(src) { jQuery(‘.scrollgallery .thumbarea img[src=”‘+src+'”]’).click(); }

In my plugin when i call select page is blank

You are missing to load files that will make $wpdb and other WordPress function available in the context. You can include some php files to emulate the WordPress context include_once(‘../../../wp-config.php’); include_once(‘../../../wp-load.php’); include_once(‘../../../wp-includes/wp-db.php’); $data = $wpdb->get_results(“SELECT * FROM ” . $table_prefix . “posts”); var_dump($data);

Shortcode or placeholder for theme options page?

I am using shortcodes. But you need to work differently with this and make it easier for the client. On the theme options page you should have inputs with type=”checkbox” where the client chooses what share buttons to appear. In the template you should get the option with get_option(‘registered_option’) and display those buttons for which … Read more

wp_get_attachment_image_src() does not return what I want

The following is entirely based on experiment over the last 15 minutes or so, so I wouldn’t call it canonical but … wp_get_attachment_image_src() uses the image_downsize() function, which will attempt to find and return the image closest in size to the supplied size values. If you experiment with know image sizes (look at the actual … Read more