1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to use WP Robot with Revolution Theme

Discussion in 'Blogging' started by joe0074, Apr 27, 2010.

  1. joe0074

    joe0074 Regular Member

    Joined:
    Dec 1, 2008
    Messages:
    410
    Likes Received:
    128
    Hi there,

    I have a question here.
    I want to use WP Robot with my revolution theme website.
    I'm wondering if the autopost from WP Robot will have a thumbnail image ready?
    What I have to do to have a new autopost from WP Robot have thumbnail image without inserting the image manually every post.

    Thanks in advance for your answer guys.
     
  2. lossehelin

    lossehelin Junior Member

    Joined:
    May 23, 2009
    Messages:
    195
    Likes Received:
    47
    i would like to know that aswell....
     
  3. unknown hypotenuse

    unknown hypotenuse Newbie

    Joined:
    Jun 19, 2009
    Messages:
    28
    Likes Received:
    25
    If it doesn't have the ability built in you can use Get_the_Image plugin. It can grab an image three different ways from any post and create a thumbnail. You will have to do a bit of cut-n-paste php code wrangling in the theme you are using to get it to work, but it is not hard and is well documented.
     
  4. surferket

    surferket Junior Member

    Joined:
    Dec 5, 2008
    Messages:
    179
    Likes Received:
    116
    I did looked it up but it's all geek speak since I don't know php.

    Where should I put
    <?php get_the_image( array( 'image_scan' => true ) ); ?>
    if I want images in those boxes in magazine type themes?

    Help is definitely appreciated.
     
  5. kingofbigmac

    kingofbigmac Regular Member

    Joined:
    Apr 10, 2008
    Messages:
    269
    Likes Received:
    55
    Occupation:
    Sitting at my computer dicking around
    Location:
    Las Vegas
    You should see something called get_content I believe I could be wrong. The get_content is where you see the text from the individual posts. So you want to paste the code you got right before the get_content So you will have the image first then text.
     
  6. unknown hypotenuse

    unknown hypotenuse Newbie

    Joined:
    Jun 19, 2009
    Messages:
    28
    Likes Received:
    25
    Every theme has differences in the way they do their templates. You'll need to use an element inspector to identify the DIV ID or CLASS where you want the image to appear. Using Firebug for Firefox is great for finding this info. This will tell you where to look in your php files to inject the get_the_image( array()) code.

    Always have a backup of a file before you start working on it. I use Filezilla and have Notepad++ as the default editor to edit theme templates on the fly. After you identified the DIV, paste the code in what you think is the appropriate spot and re-upload the file. If it farked the theme or isn't in the right location, keep trying. Since you didn't develop the theme, it takes a little trial and error to get the results you want. If you really mess things up you can always revert to your backup to set things right.