کمک برای ویرایش قالب فریم در وردپرس

nimyasoft

تازه وارد
سلام دوستان من یه سایت خبری دارم که لینک هاشو توی فریم باز میکنه حالا میخوام فریم سایتم این شکلی باشه

qyl1dbv0v63wlhg77svy.jpg


این هم کد فریم هست:


کد:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fa" lang="fa" dir="rtl"><head><title><?php the_title(); popularPosts(0);?></title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/iframe.css" type="text/css" media="screen" /><script type="text/javascript" language="javascript" src="<?php bloginfo('template_directory'); popularPosts(0);?>/js/main.js"></script><?php echo stripslashes(get_option( 'farjadco_popup' )); ?><?php wp_head();?></head><body><center> <?php$prev = get_permalink(get_adjacent_post(false,'',false));$prevt = get_the_title(get_adjacent_post(false,'',false));$next = get_permalink(get_adjacent_post(false,'',true));$nextt = get_the_title(get_adjacent_post(false,'',true));?>		<!-- Start Headr Menu -->
<div class="head-fix"><div class="head-fix-in"><a class="header-logo" style="background: url('<?php echo get_option( 'farjadco_logo' );popularPosts(0); ?>') no-repeat scroll 0% 0% transparent;" href="<?php bloginfo('url'); ?>"></a>
<div class="head-ads"><?php echo stripslashes(get_option( 'farjadco_top_ads' )); ?> </div>


<ul class="head-menu"><?php if (!empty($prev)) { ?><li><a href="<?php echo $prev; ?>" title="<?php echo $prevt; ?>">لينك قبلي </a></li><?php }if (!empty($next)) { ?><li><a href="<?php echo $next; ?>" title="<?php echo $nextt; ?>">لينك بعدي</a></li><?php } ?></ul>


<div class="menu-left">
<div id="TopMenu"><ul> <li><a href="#" >اخبار مرتبط</a> <ul><?php $catss = get_the_category($post->ID);if ($catss) {$cats_ids = array();foreach($catss as $individual_category) $cats_ids[] = $individual_category->term_id;$args=array('category__in' => $cats_ids,'post__not_in' => array($post->ID),'showposts'=>10, // تعداد مطالب مرتبط جهت نمایش'caller_get_posts'=>1);$my_query = new wp_query($args);if( $my_query->have_posts() ) {
while ($my_query->have_posts()) {$my_query->the_post();?><li><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></li><?php}
}}wp_reset_query();?></ul></li></ul><script language="javascript" type="text/javascript">InitTopMenu()</script></div></div>
</div></div>
		<!-- End Headr Menu -->
</center> <div class="clear"></div>
<iframe sandbox="allow-same-origin allow-popups allow-forms" src="<?php echo get_post_meta ($post->ID, 'syndication_permalink',ture); ?>" dir="rtl" height="87%" style="width:100%;overflow-y: hidden;"  frameborder="0"></iframe>
<?php wp_footer();?></body></html>
میخوام شکل این عکس بشه تقریبا، بشه دسته ها رو توش نشون داد، و یه جای تبلیغات 468*60 هم داشته باشه

البته این فریم خودم که کدشو گذاشتم یه فایل css هم داره لازمه کدشو بذارم؟؟

 
بالا