Absolute path to stylesheet_dir/images/my_img.jpg does not work?

i always start every theme w/ some constants ` define(‘THEME’, get_bloginfo(‘stylesheet_directory’)); //or you could use this one: //define(‘THEME’, get_stylesheet_directory_uri()); define(‘IMAGES’, THEME . ‘/images’); ` and some others, but the point is that at any place in my code i can point to my theme’s image folder img src = “https://wordpress.stackexchange.com/questions/21398/<?php echo IMAGES .”/image.png’;?>”

inner anchor scrolling with wordpress

Your anchor should point to an element with an id, e.g. <a href=”#topic1″>….</a> content <h3 id=”topic1″>….</h3> Otherwise the anchor doesn’t have somewhere to point to. Hope this helps.

Selecting multiple options onclick

this isn’t a WordPress thing, just an issue with your JS. this: jQuery(“select[name^=’post_author’]”).attr(‘selectedIndex’,selected); should be: jQuery(“select[name^=’post_author’]”).val(selected).attr(‘selected’,’selected’);

Problem with custom function from jQuery slider tutorial

replace slideshow_featured_posts function from that tutorial with this: function slideshow_featured_posts() { $featured = 1; // Assuming that the name of the category ID number 1 is “Featured”. $count = 3; // How many post to be shown as slides. Ideally, it should be more than 3 posts. add_filter(‘excerpt_length’, ‘hook_excerpt_featured_length’); $Silder_query = new WP_Query(array(‘cat’ => $featured, … Read more

Admin menu success message

See the top answer on this Stackoverflow question. Basically you need to use: decodeURI((RegExp(name + ‘=’ + ‘(.+?)(&|$)’).exec(location.search)||[,null])[1]); Get URL parameter with jQuery

WordPress 3.2.1: jQuery is not defined, breaks Admin panel

Twenty Eleven is the default theme and 3.2.1 is working fine for me here, on both a local machine and a server build. Are you getting WordPress directly from WordPress.org? Also, make sure your default theme is twenty eleven and try that. If it is not, you may have a larger issue on your hands.