WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Eleven
Adding Images in Sidebar (6 posts)

  1. martinr7
    Member
    Posted 1 year ago #

    I am brand new to WordPress. I like the Twenty Eleven theme provided by my web host. However, I am an author, and my plan was to have small images of each of my books in the sidebar to the right of the main body of each page, where the widgets are. The intention was that visitors would be able to click on these images to be taken to a page within the blog with more information on the book.

    However, I cannot find any way to do this. Is it possible?

    Thank you.

  2. mygraphix.net
    Member
    Posted 1 year ago #

    I have this same problem. did anyone answer this question?

    I would like to put images in the sidebar, making them linked to a page would be good also.

    thanks!

    i too am painfully new at this.

  3. varkeychaya
    Member
    Posted 1 year ago #

    Try installing the Exec-php plugin and then adding this code in one of the widgets.

    <?php if(is_single()) : ?>
    <?php $meta_values = get_post_meta($post_id, $book_excerpt, $single); ?>
    <?php echo $meta_values ?>
    <?php endif; ?>
  4. varkeychaya
    Member
    Posted 1 year ago #

    Note: you need to also create a custom field called book_excerpt in the post editor and enter some text in that field.

    If you are using a image then enter the image url in the custom field and then use php to echo it in a <img> tag.

  5. jakilevy
    Member
    Posted 1 year ago #

    Hello - there's a bunch of ways to do this - for the 2011 theme, you'll need to access your widgets area and place the image in a sidebar widget.

    I'd suggest installing the plugin Jetpack. It will give you lots of nice functionality, including an image widget which will make managing things pretty easy.

    Here's a link to Jetpack : http://jetpack.me/support/extra-sidebar-widgets/

  6. Rose Fuhrmann
    Member
    Posted 1 year ago #

    Hi,

    there is a plugin called " wordpress ad widget " - updated today, with high rating, and youtube demo, which looks very promissing for waht you want to do.

    I have not tried it, because my sidebar got lost when upgrading to WP 3.5.1.

    Good luck with the plugin

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic