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’);

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.

How to use JQuery Marquee in WordPress?

WordPress comes with copy of jQuery bundled. See wp_enqueue_script() documentation for how to: Register you script properly and make it load jQuery as dependency Use required noConflict wrapper so you can use jQUery functions (simply $ won’t work in WP).

AJAX calendar navigation returns -1

Echo your output in your AJAX callback function Exit PHP after you echo your output using exit; Since you’ve localized the ajaxurl variable, use it in your AJAX request Pass action : ‘my_special_action’ into your AJAX request Whatever action you use, use the same for both nopriv and normal AJAX hooks Here’s how your AJAX … Read more

How to wrap posts into divs?

I think this is probably a more-involved question, but I’ll try to answer it as-is. The following code will wrap each post’s content in a <div>: <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div id=”slide<?php the_ID(); ?>> // Post content – i.e. your slider image – goes here </div> <?php endwhile; … Read more

Jquery not working

Are you sure the jQuery library is loaded on your page? The error you’re getting implies it isn’t. View the source and search for jQuery. Then try adding this some where in your functions.php (or plugin) file and see if your script works. <?php add_action( ‘wp_enqueue_scripts’, ‘wpse30127_enqueue’ ); function wpse30127_enqueue() { wp_enqueue_script( ‘jquery’ ); }

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