Tabbed content for WordPress sidebar

Follow that tutorial and use below code for specific category recent post where tutorial used un order list content. <ul> <?php $recent = new WP_Query(“cat=1&showposts=10″); while($recent->have_posts()) : $recent->the_post();?> <li><a href=”https://wordpress.stackexchange.com/questions/35006/<?php the_permalink() ?>” rel=”bookmark”> <?php the_title(); ?> </a></li> <?php endwhile; ?> </ul> Change cat id and number of post as per your choice.

How to modify iFrame content in an admin thickbox

jQuery(document).ready(function($) { $(‘.yourlink’).click(function() { tbframe_interval = setInterval(function() { $(‘#TB_iframeContent’).contents().find(‘.savesend input[type=”submit”]’).val(‘changed the button text’); }, 2000); tb_show(”, ‘media-upload.php?type=image&TB_iframe=true’); return false; }); }); http://www.webmaster-source.com/2010/01/08/using-the-wordpress-uploader-in-your-plugin-or-theme/ you can also enqueue a script on the media upload page that should be available in you iframe, don’t know if that will do it though. am working on something very similar to … Read more

Javascript from Easy-Fancybox place into footer

You can ask the plugin author to update the plugin so scripts go in the footer rather than the header. Or you can look in the plugin code and see this: wp_enqueue_script(‘jquery.fancybox’, plugins_url(FANCYBOX_SUBDIR.’/fancybox/jquery.fancybox-‘.FANCYBOX_VERSION.’.pack.js’, __FILE__), array(‘jquery’), FANCYBOX_VERSION); What you can do is edit this yourself so that it enqueues in the footer or you can write … Read more

Uncaught TypeError: Object # has no method ‘datepicker’ [closed]

This line shouldn’t be in there: <script type=”text/javascript” src=”http://xxxx/wp-includes/js/jquery/ui/jquery-ui.min.js”></script> In a standard WordPress install, no such file exists. This makes me wonder how you are adding the scripts to the theme in the first place. Are you using wp_enqueue_styles? If not, there is a VERY good chance that you are indeed adding two versions of … Read more

jQuery .load and WP function

Your quick chat function is being loaded to late. It needs to be loaded in the proper WordPress sequence by adding it through a plugin or in functions.php.

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