Learn Thesis Theme Fast to Build Unique and Beautiful Websites

  • Thesis Designer Guide is the fastest way to learn the Thesis framework.
  • A step-by-step guide walks you through all the essential things you need to know to become a Thesis design expert.
  • You don’t need to be a programmer to learn Thesis design.
  • The complete Thesis Designer Guide covers all the coding basics and tools needed to become a Thesis expert.

Learn Thesis Theme! Get Started Now!

How to Place Ads Box Before The Post Title in WordPress Thesis Theme?

by in How To,Thesis Theme Customization,Thesis Theme Tutorials

 

Every website owners want to display their ads in header, sidebar, footer, and inside the post above or below. I already explain abouthow to place ad box inside the post of thesis theme. Here, you can learn about how to place the ad before the post title of thesis theme.

In some sites you will see above the post title they place social bookmark icons, welcome the readers, and advertisement. So in this below video I explain the procedure to place the ads in thesis theme.

Here I am using the widgetized ads box. By default you see only sidebar 1 and 2.

After copying this code you will see a new widgets.

To do this, click custom file editor and edit custom_function.php

Copy and paste this below code into custom_function.php

/***BUILD AD WIDGET INSIDE POST paste in custom_functiom.php***/
 register_sidebars(1,
 array(
 'name' => 'Post_aboveAD',
 'before_widget' => '<li class="widget %2$s" id="%1$s">',

'after_widget' => '</li>',
 'before_title' => '<h3>',
'after_title' => '</h3>')

);

function post_abovead() { ?>

<div id="post_abovead" class="sidebar">

<ul class="sidebar_list">

<?php thesis_default_widget(3); ?>

</ul>
</div> 

<?php }

add_action('thesis_hook_before_post_box', 'post_abovead', '1');

/***POST AD WIDGET END***/

Copy and paste this below code into custom.css

/* CODE FOR CUSTOM.CSS FILE*/

.custom #post_ad ul.sidebar_list li.widget h3 {text-indent:0; padding-top:0.2em; color:#111; font-size:15px; font-family:georgia; background:none;}
.custom #post_ad ul.sidebar_list li.widget ul { }
  • Now, Go to appearance select widgets In this right side you will see a new widget in the name of Post_aboveAD
  • To display your AD in this widgets drag and drop the text widget into this Post_aboveAD. Paste the Ad code in this text widget. Then click save.
  • Now, refresh your site you will see the advertisement in the above post. Do you have any questions about thesis theme click here.

Share your experience in comment section below: and For more checkout our all Thesis theme tutorials..

VN:F [1.9.13_1145]
Rating: 0.0/5 (0 votes cast)

Related Tutorials:

  1. How to Place Your Ads Inside the Post of Thesis Theme?
  2. Widgetized Thesis Theme-Header, Content box and Footer
  3. How to Place Different Background Color for Each Sidebar Heading in Thesis Theme
  4. How to Add Featured Post Inside Feature Box of Thesis Theme
  5. How to make Post Sub heading box and change its Background Color in Thesis Theme?

{ 9 comments… read them below or add one }

Suresh

why? it is working in this thesis 1.6 theme..

Reply

Pascal

contact us. i will help you.

Reply

Sergio

Dear Pascal, I’m very grateful for your disinterested help to solve my problrm.
Your is a great blog and you are a very nice person.

Thank yuo again.

Reply

Pascal

Your Kind words encourage us to provide more thesis resources. Don’t miss any tutorial. You can subscribe to our blog http://feedburner.google.com/fb/a/mailverify?uri=Fourbloggercom&loc=en_US

We have a youtube channel completely having 60+ thesis video tutorials. Subscribe to our youtube channel. http://youtube.com/user/fourblogger

You can also follow us on facebook. Facebook fan page link is in sidebar.

Thanks.

Reply

Siddharth

Wow.
amazing ever..
Gonna use it to set up in my blog :)
Thanks for the share !!

Reply

blogger gurem

thanks to your tutorial it’s very complete and very helpful

Reply

Dennis Board

Good Afternoon,

I am not certain if this is the spot to ask, but I am attempting to add a flash video above the post title on 2 particular pages.

I want the video to autoplay 1 time and then stop. I have tried using a youtube video, but it looks cheap.

Can anyone recommend a plug in or the proper code to allow me to do this?

Thank you in advance.

Reply

Pascal

If you don’t like the youtube palyer, you can go for flow player or jw player. Flow player would be great to look at. Autoplay possible there.

Thanks.
Pascal.

Reply

Paul

Hi Pascal,

This is a great blog. I’ve landed here several times today looking for help with thesis!

I’m hoping you can give me some advice with something I’m trying to do in thesis with widgets. I need to add a widget that is 100% the width of the page and above the post title and sidebar. I would also love to have this just on my homepage.

Any help you can give me is very much appreciated becuase I have been playing around with this for hours with no breakthrough at all. Even if I know how to add a html table with text in it instead of a widget would help me because I would only need to change the text in it once.

Thanks for any help you can give me Pascal,
Paul

Reply

Leave a Comment

{ 1 trackback }

Previous post:

Next post:


Popular Tags:

    how to create ad box with in post in wordpress, ad banners within the post, place ads before content wordpress thesis, thesis ad after post title, thesis ads next to post title, thesis banner above content sidebar, thesis headline_posts, thesis post title in banner, thesis video above headline, webpage ads box dispaly