Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #20982

    Hi.

    I want to insert a baner on the BLOG element of the TEMPLATE BUILDER.

    This baner must be between slider of featured post and the Full sized entries.

    How can i do thath?

    #109903

    Open up wp-contentthemesshoutboxincludeshelper-templates.php and search for following code:

    if($featured_posts && get_query_var( 'paged' ) < 2 )
    {
    $featured = new avia_featured_posts($featured_cats, $featured_post_count, $featured_autorotation);
    $featured->display();
    }

    Insert your html/banner code below this code and use the echo function to output it. Eg the end result should look like:

    if($featured_posts && get_query_var( 'paged' ) < 2 )
    {
    $featured = new avia_featured_posts($featured_cats, $featured_post_count, $featured_autorotation);
    $featured->display();
    }

    echo '<img src="mybannerimage.jpg" alt="banner description" title="banner title" />';

    and instead of mybannerimage.jpg insert the url to your banner image.

    #109904

    It works!

    Many Thanks!

    #109905

    Glad Peter could help :)

    Let us know if you have any other questions or issues.

    Regards,

    Devin

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

The topic ‘Modify the Blog element in template builder’ is closed to new replies.