Post thumbnails in sidebar & footer?

You probably want to define a size for post thumbnails for this side-bar area first. This needs to be registered with your theme so you can refer to it later one. Then you can make use of the get_the_post_thumbnail() function passing the ID of the post as well as your post thumbnail size name as … Read more

How to have dynamic sidebar content per post

take a look at Sidebar Generator it lets you specify a sidebar on a per-page/per-post basis. some of its main features are: Generate unlimited sidebars pick a sidebar on a per-page and per-post basis unique CSS classes for each sidebar for customizable looks

Sidebar loop – Thematic Framework

I think the problem is that you’re calling get_post() (note: singular) instead of get_posts() (note: plural). EDIT Other problems: The get_posts() function uses the category array key, rather than category_name. The category array key expects category ID, rather than category slug. You’re not wrapping your looped list items (<li>…</li>) properly (i.e. within <ul></ul> tags)

Creating a different side bar for single posts than for main page.

I would consider the following … Register a new sidebar: function your_new_widget() { register_sidebar( array( ‘name’ => __( ‘Single View Sidebar’, ‘your_textdomain’ ), ‘id’ => ‘sidebar-single’, ‘description’ => __( ‘This widget area is found only on the single post view.’, ‘your_textdomain’ ), ) ); } add_action( ‘widgets_init’, ‘your_new_widget’ ); Create a new sidebar template: /** … Read more

techhipbettruvabetnorabahisbahis forumutaraftarium24eduedueduseduedueduseduedueduedus