Ads in header and sticky posts?

Support for all our free web templates and wordpress themes. Customisation help, bug fixes and more

Ads in header and sticky posts?

Postby coulldc » Wed Jun 09, 2010 8:25 pm

Hi

We are just setting up some new sites, one of which is forex based, and we are adding a forum to the site. I have just tested your bbpress theme static red which is perfect for us. Just a couple of simple questions ( apologies )

1. How do we add an adsense or affiliate banner to the header.
2. Is there an option to add some sticky posts to each forum ?

Many thanks for a great theme and look forward to hearing from you in due course

Kind regards

david
coulldc
 
Posts: 1
Joined: Wed Jun 09, 2010 8:22 pm

Re: Ads in header and sticky posts?

Postby Josh » Thu Jun 10, 2010 3:15 pm

In regards to sticky topics, I believe you can stick a topic in a forum by vieiwing the topic and selecting the option from the "admin menu" at the bottom of the page to the right.

In regards to adding a banner to the header, open header.php and find:

<!-- TITLE -->
<h1><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a></h1>
<?php if ( bb_get_option('description') ) : ?><h2><?php bb_option('description'); ?></h2><?php endif; ?>
<!-- END TITLE -->

and repalce that with something like:

<div style="float:left; width:50%;">
<!-- TITLE -->
<h1><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a></h1>
<?php if ( bb_get_option('description') ) : ?><h2><?php bb_option('description'); ?></h2><?php endif; ?>
<!-- END TITLE -->
</div>
<div style="float:right;width:50%;"> YOUR AD CODE </div>
<div class="clear"></div>

Thanks
Josh
Site Admin
 
Posts: 227
Joined: Sat Jul 11, 2009 10:52 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron