Tezava pri adsense postavitvi..

Torej, sem zamenjal site themo in mam probleme pri adsense postavitvi v postu.
Namreč tu http://www.mgsblog.net/2007/12/11/changed-site-theme-do-you-like-it/ lahko vidite, da je text "priflikan" na adsense oglas, in imam tezave s tem, da ga locim za kaksen milimeter, tu je pa koda, ki se nahaja v singlepost.php:

</div>

 </div><!-- post_headerr -->

</div><!-- post_header -->

        <div class="entry"> <p><div style="float:right; padding-bottom:10px;">

<script type="text/javascript"><!--
googleadclient = "pub-4475531631924949";
//250x250, created 11/15/07
googleadslot = "0784163368";
googleadwidth = 250;
googleadheight = 250;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div></p> <?php the_content(); ?>

        </div>

<br clear="all" />

Ostanek kode spodaj in zgoraj sem zrezral, saj se ne rabi ( pri postavitvi v text)..Upam da mi bo kdo znal pomagat,hvala!

37 odgovorov

a mislis themo original? Al čene kar kopiram is classical theme singlepost.php, bo slo tako, al se bo kaj teplo?

Ja dej samo tale singlepost.php copy paste tukaj in ti bom napisal "novo" verzijo in bova vidla

<?php get_header(); ?>

<div id="container">

<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>

    <div class="post" id="post-<?php the_ID(); ?>">

<div class="post_header">

 <div class="the_date">

    <div class="date_m"><?php the_time('M') ?></div>

    <div class="date_d"><?php the_time('jS') ?></div>

 </div><!-- the_date -->

 <div class="post_headerr">

    <div class="post_title">

    <h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>

    </div>

    <div class="details">

  <span class="files"><?php _e('Files under'); ?> <?php the_category(', ') ?></span> |

  <span><?php _e('Posted by'); ?> <?php  the_author(); ?></span>

    </div>

 </div><!-- post_headerr -->

</div><!-- post_header -->

        <div class="entry">

<div style="float:right; padding-bottom:10px;">
<script type="text/javascript"><!--
googleadclient = "pub-4475531631924949";
//250x250, created 11/15/07
googleadslot = "0784163368";
googleadwidth = 250;
googleadheight = 250;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script> </div>

            <?php the_content(); ?>

        </div>

<br clear="all" />
<div id="nav-below" class="navigation">
<div class="nav-previous"><?php previouspostlink('%link', '%title') ?></div>
<div class="nav-next"><?php nextpostlink('%link', '%title') ?></div>
</div>

    </div>

Please bookmark the post if you liked it.You can subscribe to MG's blog by simply pressing the Entries icon.
<?php endwhile; ?>

<?php editpostlink('| Edit', '', ' | '); ?>

<?php comments_template(); ?>

<?php else : ?>

    <div class="post">

        <h2><?php _e('Not Found'); ?></h2>

    </div>

<?php endif; ?>

</div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>

Evo tle je coda od te ki nice delat, sem prej prilimal od druge theme, ki mi je delovalo, vendar mi sidebar spremeni zravn pa use zmesa..Hvala za pomoč!

Ma bejž nekam :)

Ti maš kar tam div style pa še div entry pa samo en zaprt.

Dej ti original singlepost.php brez tvoje kode noter prilepi !

HeHe LoL :D ja evo, tle je koda brez adsense:

<?php get_header(); ?>

<div id="container">

<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>

    <div class="post" id="post-<?php the_ID(); ?>">

<div class="post_header">

 <div class="the_date">

    <div class="date_m"><?php the_time('M') ?></div>

    <div class="date_d"><?php the_time('jS') ?></div>

 </div><!-- the_date -->

 <div class="post_headerr">

    <div class="post_title">

    <h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>

    </div>

    <div class="details">

  <span class="files"><?php _e('Files under'); ?> <?php the_category(', ') ?></span> |

  <span><?php _e('Posted by'); ?> <?php  the_author(); ?></span>

    </div>

 </div><!-- post_headerr -->

</div><!-- post_header -->

        <div class="entry">

            <?php the_content(); ?>

        </div>

<br clear="all" />
<div id="nav-below" class="navigation">
<div class="nav-previous"><?php previouspostlink('%link', '%title') ?></div>
<div class="nav-next"><?php nextpostlink('%link', '%title') ?></div>
</div>

    </div>

<?php endwhile; ?>

<?php editpostlink('| Edit', '', ' | '); ?>

<?php comments_template(); ?>

<?php else : ?>

    <div class="post">

        <h2><?php _e('Not Found'); ?></h2>

    </div>

<?php endif; ?>

</div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>

aha !!

hehe

probaj tole dat pod <div class="entry"> !!

[COLOR=red]<div style="float: right; padding: 0 0 5px 5px;">[/COLOR]
Adsense Koda
[COLOR=red]</div>[/COLOR]

drugo pusti vse kakor je ... v bistvu si mel kul samo zamik od leve moraš malo naredit in mora bit ... pa ozadje adsense lahko narediš enako kot je ozadje strani al ? ;)

dfgsgfdghdfhdghgdgfdf :D
DELA!!!!!!! :eek:
Svaka ti čast,res si mojster ! :D Najlepša ti hvala!:p

Mater a boš zamenjal ozadje na oglasih al bo kar belo ?

#F9F6EF

Aja, no sj s tem oranznim je dost leps ;)

Ajej kaj si naredu ?? :D .... meni ni lepše ampak, če je tebi všeč pol je kul ;)