Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27180

    Hi! On the homepage of http://www.pawstoplayinc.com, I wanted the first widget to link to the Services page. But it showed the entire text from that page on the widget and I couldn’t figure out how to make it just show an excerpt. So, I changed it to show html and went into the mainpage editing area and changed the text and the link to go to the services page.

    I would like the image above to be this: http://pawstoplayinc.com/wp-content/uploads/2012/06/DAIZYCRUIZIN.jpg

    but I don’t know how to change the placeholder image coding to reflect that. Right now, it doesn’t show any image.

    Any help would be greatly appreciated!!!

    Thank you!

    #133063

    Hi,

    Edit index.php, find this code:

    $placeholder_image1 = get_bloginfo('template_url').'/files/medium1.jpg';

    Replace it with:

    $placeholder_image1 = 'http://pawstoplayinc.com/wp-content/uploads/2012/06/DAIZYCRUIZIN.jpg';

    Then edit the first HTML placeholder:

    $placeholder[1] = $placeholder_image1.'<h3>HTML Template „Display“</h3><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco <a href="">laboris nisi</a> ut aliquip ex ea commodo conse. <a class="more-link" href="#">Read more</a></p>';

    Replace the title inside the H3 tag then the content. Add the link to the services page on this line of code:

    <a class="more-link" href="#">Read more</a>

    Now, go to Display > Mainpage Options > Mainpage – Columns > Mainpage – Column 1 > select “HTML(Simple placeholder text applied).

    Regards,

    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Help Please Changing Image on One of the 3 Homepage Widges’ is closed to new replies.