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?
Modify the Blog element in template builder
4 posts from 3 voices-
Posted 2 months ago #
-
Open up wp-content\themes\shoutbox\includes\helper-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.
Posted 2 months ago # -
It works!
Many Thanks!
Posted 2 months ago # -
Glad Peter could help :)
Let us know if you have any other questions or issues.
Regards,
Devin
Posted 2 months ago #
Topic Closed
This topic has been closed to new replies.














