Assign widgets to certain posts, pages, categories in WP

So you want this exact widget containing menu or images or whatever to appear on certain posts only?
Or all posts from certain category? Or archive category page?

Widget Logic Plugin makes the wonder

Just use proper conditional tags


Genesis – Remove menu navigation from posts, page, categories, etc

For certain post add in functions.php, where 707 is a post ID, which you can find by hovering mouse over Edit link in Admin>All Posts>Exact Post


add_action('get_header', 'wpsitesdotnet_remove_genesis_do_nav');
/**
* @author Brad Dalton - WP Sites
* @learn more http://wp.me/p1lTu0-9Nr
*/
function wpsitesdotnet_remove_genesis_do_nav() {
if (is_single('707') ) {
remove_action('genesis_after_header', 'genesis_do_nav');
 
}
 
}

For more info refer to this tutorial: http://wpsites.net/web-design/remove-nav-menu-specific-page/


Style & Image

  … [Continue reading]


Tracking WP menus clicks with Google Analytics

Tracking outgoing/internal links and banners with Google Analytics events tracking is easy just inserting this code to the corresponding link or image. onClick="_gaq.push(['_trackEvent', 'Category', 'Action', … [Continue reading]


How to replace WP Login page logo image

change_wp_logo

Create your own logo with same dimensions as original WP one Go to wp-admin/css Find file wp-admin.min.css Modify below and upload back (it does not change logo URL to wordpress.org though. Modify wp-login.php further)   … [Continue reading]

© Copyright 2011 websitesmaster · Site by Yuri Yeleyko