Click here to Skip to main content
15,886,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hello my dear friends,

i downloaded a template for my wordpress, after that, i decide put images into it, (i declare in picture with red borders)
but there no place to do it in admin panel
i googled and figure out it must use a html and ccs to do that
but i cant

please help me

http://tinypic.com/r/v6udyp/8[^]

HTML
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title><?php global $page, $paged; wp_title( '|', true, 'right' ); bloginfo( 'name' ); $site_description = get_bloginfo( 'description', 'display' ); if ( $site_description && ( is_home() || is_front_page() ) ) echo " | $site_description"; if ( $paged >= 2 || $page >= 2 ) echo ' | ' . sprintf( __( 'Sayfa %s', 'betik' ), max( $paged, $page ) ); ?></title>

<?php wp_head(); ?>



<?php if( fs_get_option('renk')=="blue" || fs_get_option('renk')=="green" || fs_get_option('renk')=="yellow" || fs_get_option('renk')=="red" || fs_get_option('renk')=="brown" || fs_get_option('renk')=="orange" || fs_get_option('renk')=="pink" || fs_get_option('renk')=="purple" ) { 







	if(fs_get_option('renk')=="blue") { $renk='mavi'; }

	if(fs_get_option('renk')=="green") { $renk='yesil'; }

	if(fs_get_option('renk')=="yellow") { $renk='sari'; }

	if(fs_get_option('renk')=="red") { $renk='kirmizi'; }

	if(fs_get_option('renk')=="pink") { $renk='pembe'; }

	if(fs_get_option('renk')=="purple") { $renk='mor'; }

	if(fs_get_option('renk')=="brown") { $renk='kahverengi'; }

	if(fs_get_option('renk')=="orange") { $renk='turuncu'; }



echo '

<link href="'.$tema.'css/'.$renk.'.css" rel="stylesheet" type="text/css" />';



} ?>






</head>



<body>

<div id="tepeCizgi"></div>

<div class="sayfaSinir">

  <div id="tepe">

    <div class="sagaYasla" id="simge"><a href="<?php bloginfo('home'); ?>"><img src="<?php echo fs_get_option('fs_logo'); ?>" class="logo" /></a></div>

    <div class="sagaYasla<?php if(!fs_get_option('reklam1')) { echo ' iceGirinti'; } ?>" id="<?php if(!fs_get_option('reklam1')) { echo 'r468x60_bos'; } else { echo 'r468x60'; } ?>"><?php if(fs_get_option('reklam1')) { echo fs_get_option('reklam1'); } else { echo '468 60 x  تبلیغ'; } ?></div>

    <!-- <div class="solaYasla iceGirinti" id="r468x60Reklamli"></div> -->

    <div class="solaYasla oval3pxTam" id="havaDurumu">


              <?php include(TEMPLATEPATH."/hava.php");?>


        <div class="temizle"></div>

    </div>

  </div>

  <!-- MENU -->

  <div id="menu" class="oval3pxUst">

    <ul class="sagaYasla">

<?php if ( has_nav_menu( 'menu1' ) ) { $menu1 = wp_nav_menu( array( 'container' => '', 'echo' => '0', 'theme_location' => 'menu1' ) ); $menu1son = preg_replace( array( '#^<ul[^>]*>#', '#</ul>$#' ), '', $menu1 ); echo $menu1son; } else {

			wp_list_pages('title_li=&'); } ?>

    </ul>

    <?php if(!fs_get_option('rss')==true) { echo '<a href="'.get_bloginfo('rss_url').'" class="yuvarlak solaYasla"><span class="b3 b"></span></a>'; } ?>

    <?php if(!fs_get_option('twitter')=="") { echo '<a href="'.fs_get_option('twitter').'" class="yuvarlak solaYasla"><span class="b1 b"></span></a>'; } ?>

    <?php if(!fs_get_option('facebook')=="") { echo '<a href="'.fs_get_option('facebook').'" class="yuvarlak solaYasla"><span class="b2 b rss"></span></a>'; } ?>

	

	</div>

  <div class="temizle"></div>

  <div id="sonDakikaveArama" class="kenarlik alt2px kenarliksizTepe">

    <div class="sagaYasla" id="sonDakika"><span class="s5 s iconKaydir"></span>آخرین اخبار</div>

    <div class="sagaYasla" id="sonDakikaHaber">

	<div id="yeniler">

	<?php	

	$args = array('numberposts'=>5, 'category'=>get_cat_id(fs_get_option('sondakika')));

		$sondakika = get_posts( $args ); $i=0;

	foreach( $sondakika as $post ) : $i++;	setup_postdata($post);

		echo '<h1><a href="'.get_permalink($post->ID).'">'; if (strlen($post->post_title) > 100) { echo mb_substr(the_title($before = '', $after = '', FALSE), 0, 100) . '...'; } else {the_title(); } echo '</a></h1>';

	endforeach; 

	?>

    </div>

	</div>

    <div class="solaYasla" id="aramaAlan">

	<form name="arama" action"<?php bloginfo('home'); ?>" method="get">

      <input type="text" onfocus="if (this.value == 'کلمه مورد نظر ...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'کلمه مورد نظر ...';}" name="s" value="کلمه مورد نظر ..." />

      <span class="buton araButon solaYasla"><a href="java<!-- no -->script: arabul()" >جستجو</a></span></div>

	  </form>

  </div>

  <div class="temizle"></div>
Posted
Comments
Kornfeld Eliyahu Peter 1-Dec-14 1:34am    
"but i cant" - why? You do not know HTML?
Tiradan 1-Dec-14 7:39am    
i know so so, but icant find the right place to put image in code above
Ishpreet Kaur 1-Dec-14 11:41am    
Can you send me the link where you downloaded the template?
It will be better if we can see the template and working of template.
Tiradan 3-Dec-14 14:26pm    
thanks alot, give me ur mail, i will send the rar template file
John Teague 10-Dec-14 12:29pm    
Downloading an HTML template file is not going to work for you with WordPress. You can't just take another template file and add into content. You need to step back and learn how WP works. You can add images into content using the media library feature, and it can accept styles directly in the advanced options fields for the image.

1 solution

I have gone through the theme template.
Its home.php file where you can change the image using css.
See the image by clicking on the link:
http://s3.postimg.org/52x0nccoj/home_php.png[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900