• Ripping my hair out. LOL. not an expert but know a good amount about getting around the dashboard, and posting. i have NO idea how to get a photo to show up with the text in a scrolling ‘feature’ article area at the top of my skinpress DARK SKY theme.

    It’s driving me crazy. I have 5 articles scrolling and they are all text. Please help me put a picture next to the text!

    Thanks
    Chris

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter chrisline

    (@chrisline)

    ANYONE: PLEASE?

    Looking at the theme code it looks like the pages you have featured are supposed to accept a custom field called thumbnail.

    $thumbnail = get_post_meta($post_id, 'thumbnail', true);
    if( isset($thumbnail) && !empty($thumbnail) ):
    $html .= '<img src="'.$thumbnail.'" alt="'.$post_title.'" />';
    endif;

    But if you haven’t done that then try it. Try creating a custom field w/ the name of thumbnail then for it’s value do /wp-content/themes/DarkSky/screenshot.png it should add that theme’s screenshot thumbnail.

    Why it doesn’t use post thumbnail is odd.

    Thread Starter chrisline

    (@chrisline)

    ya i dont’ know why it’s automatic. alright let me try it now. i cant’ tahank you enough. means a lot. be back!
    c

    Thread Starter chrisline

    (@chrisline)

    i’m gonna look in case you don’t get back to me but where do i create a custom field? what section on the left?

    Thread Starter chrisline

    (@chrisline)

    i found it under the post. yet i dont’ see it appearing in the blog.

    i named a new field thumbnail header. and i copied the /wp-content/themes/DarkSky/screenshot.png and put it in and updated. is there something else to do next?

    thanks again for the help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Photo in scrolling feature section’ is closed to new replies.