Menambahkan Iklan Pada Header Sebelah Kanan – Thesis DIY Framework

Berikut merupakan tutorial cara menambahkan iklan pada bagian header sebelah kanan Thesis DIY Framework. Silahkan ikuti langkah-langkah berikut:

Tambahkan ke custom/custom.css

.custom #header_ad { float:right; position:absolute; width:728px; height:90px; top:44px;
margin-left: 21.8em; }
	.custom #header { height:52px; }
	.custom #logo { margin-top: 5px; }

Tambahkan ke custom/custom_functions.php

function header_ad() { ?>
    <div id="header_ad">
    Script Iklan
    </div>
<?php }
add_action('thesis_hook_header', 'header_ad');

Keterangan:

  • Script Iklan diganti dengan script iklan Anda
  • Untuk ukuran pada custom/custom.css silahkan sesuaikan dengan CSS Anda

{ 1 comment… read it below or add one }

Lourdes April 3, 2012 at 4:02 pm

Hi,Ive been testing your code and works fine. Just niedwrong about the proper way to make all my grid elements editable (text, upload file, datepicker, checkbox and dropdowns) and get the controller to work optimized and return the correct value on each modification.Any suggestion for my actionStatus function? If i always send post[User][id] and post[User][editablefield]RegardsLike it? 1

Reply

Leave a Comment

Previous post:

Next post: