How to add a 2nd “featured image” to a post?

This plugin has worked for me in the past: http://wordpress.org/extend/plugins/multiple-post-thumbnails/ Or you could create a custom field – Advanced Custom Fields makes this very easy (and for the end user too): http://plugins.elliotcondon.com/advanced-custom-fields/ This could be integrated by using the traditional ‘featured image’ as the slider image – ie leaving <?php the_post_thumbnail(); ?> or equivalent in … Read more

How to add Color Picker in Theme Options for the following?

Your not going to get an answer to this, there is no magic wand you can use to change what your asking without working it out yourself, or at the very least supplying some actual code with your question. To change the CSS in a back-end option page you can use the Options API, http://codex.wordpress.org/Options_API, … Read more

wp_nav_menu sort order?

I just found this handy little function that ads the ability to reverse the menu output order. it might come in handy: /** * Enables a ‘reverse’ option for wp_nav_menu to reverse the order of menu * items. Usage: * * wp_nav_menu(array(‘reverse’ => TRUE, …)); */ function my_reverse_nav_menu($menu, $args) { if (isset($args->reverse) && $args->reverse) { … Read more

How to wrap the widget content with a div or get the widget title outside?

this is the solution to wrap the content after the title like this ‘before_widget’ => ‘<li>’, ‘after_widget’ => ‘</div></li>’, ‘before_title’ => ‘<h2 class=”widgettitle”>’, ‘after_title’ => ‘</h2><div class=”widgetcontent”>’ ); ?> the important markup is the <div class=”widgetcontent>” in the after_title, and the closing </div> in the after_widget, this will result in this html markup: <ul> <li> … Read more

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