Ready to get started?Download WordPress


How can I add a horizontal image in between posts? (6 posts)

  1. Doug
    Posted 1 year ago #

    I am using the theme iRibbon by Cyberchimps.

    This is the link of what i would like to replicate...


    if you look inbetween posts there is a horizontal image of a cat playing with a ball of yarn seperating each post.

    I need to apply that to the iRibbon theme I am currently using, found here..


    The website is http://www.SincerelyFido.com ; and I would appreciate any help. Thanks!

  2. You can add a filter to the content to display the image after every post.

    function funny_cat_filter( $content ) {
        $content .= '<img src="http://funnylolcats.com/lolcatz.jpg" />';
       return $content;
    add_filter( 'the_content', 'funny_cat_filter' );
  3. Doug
    Posted 1 year ago #

    so this code goes where then? you said to the content which makes me think add it html to each post but that doesn't seem right to me so i'm thinking you mean to put it somewhere else

  4. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    it's a function - which would go in functions.php!

  5. Doug
    Posted 1 year ago #

    lol thank you!

  6. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    No problem! It seems obvious to some of us who've done this a bit - but when you are new to this stuff, it's not so obvious!!

Topic Closed

This topic has been closed to new replies.

About this Topic