selam video temasi kurdum yardım
7
●607
- 02-03-2009, 13:51:36video temasi kurdum ama videolar gozukmuyor bana yardım edermısınız daha once boyle bır sorunla karsılasan oldumu adres video izle youtube izle komik videolar lutfen bana yol gosterın tesekur ederım ıyı calısmmalar
- 02-03-2009, 14:35:40videogamephoto bu tema o dedıgın olay nedır anlamadım acık yazarsan sevınırım tskler
- 02-03-2009, 15:21:43arkadaslar acıklaması bu napmam lazım
Hi,
Firstly, upload the 3 plugins in plugins folder in theme file into your wp-content/plugins.
MainPage
There are 3 categories on default mainpage(New Photosi New Videos, New Games).
To show your 6 new videos, 6 new photos, 6 new games on mainpage,
Firstly create 3 categories with titles videos, games and photos from your wordpress admin panel. Then check the category ids of these categories. To check the category ids, put your mouse on category name and check the url. At the end of the url, you will see the cat id.
Then open index.php with notepad, notepadd++ or your favorite editor, find the code
<?php $recent = new WP_Query("cat=1&showposts=6"); while($recent->have_posts()) : $recent->the_post();?>
There are 3 similar codes like this in index.php. You can see that there is cat=1 and showposts=6 codes in this code. Replace the category id with your own category id. For example, if your videos category id is 4, replace it like this: cat=4. replace the 3 cat=1 codes with your 3 category ids.
If you want to show more than 6 posts from a category, change the number in showposts=6. 6 means, 6 posts. if you write 9, you will show 9 new posts from that category.
Als in index.php file, you can change New Videos, New Photos and New Games titles.
If you want to show posts from more than 3 categories, find the code: <?php else: ?> and put that code above it:
<br />
<h1 class="title">New Photos:</h1>
<?php $recent = new WP_Query("cat=1&showposts=6"); while($recent->have_posts()) : $recent->the_post();?>
<div class="item1" onmouseover="this.className='item2'" onmouseout="this.className='item1'">
<?php if( get_post_meta($post->ID, "thumb", true) ): ?>
<p><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>">
<img src="<?php $values = get_post_custom_values("thumb"); echo $values[0]; ?>" height="120" width="160" alt="<?php the_title(); ?>" /></a></p>
<?php else: ?>
<p><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>">
<img src="<?php $values = get_post_custom_values("photo"); echo $values[0]; ?>" height="120" width="160" alt="<?php the_title(); ?>" /></a></p>
<?php endif; ?>
<div class="kategori"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></div>
<div class="rate"><?php if(function_exists('the_ratings')) { the_ratings(); } ?></div>
<div class="views"><?php if(function_exists('the_views')) { the_views(); } ?> </div>
<div class="clear"></div>
</div>
<?php endwhile; ?>
<div class="clear"></div>
Adsense Placement
1- Open header.php with notepad, notepad++, etc and replace the code
<img src="<?php bloginfo('template_directory'); ?>/images/adsense3.jpg" alt="ad" />
with your adsense 728*15 code.
2- Open sidebar.php with notepad, notepad++, etc and replace the code
<img src="<?php bloginfo('template_directory'); ?>/images/adsense1.gif" alt="ad" />
with your adsense 160*600 code. You can use #373c42 for background color.
3- Open right-sidebar.php with notepad, notepad++, etc and replace the code
<img src="<?php bloginfo('template_directory'); ?>/images/adsense1.gif" alt="ad" />
with your adsense 160*600 code. You can use #373c42 for background color.
4- Open single.php with notepad, notepad++, etc and replace the code
<img src="<?php bloginfo('template_directory'); ?>/images/adsense2.gif" alt="ad" />
with your adsense 468*60 code.
Banner ad before video, photo, game
Open single.php with notepad, notepad++, etc and replace the code
<img src="<?php bloginfo('template_directory'); ?>/images/ads8.png" alt="ad" />
with your banner code. 336*280 is nice for your banner.
Default value for this banner ad is 5 seconds. If you want change it;
1- find setTimeout('gizle()',5000); in single.php,
2- change the 5000 with your time. 5000 means 5 seconds, 10000 means 10 seconds.
Add video
While posting a new post,
1- Write your title,
2- Write your video description,
3- Add tags,
4- Select your category,
5- Add a custom field: Write "thumb" in Name part and write your thumbnail url in Value part. Add your custom field. Do not use quotation marks.
6- Add a custom field: Write "video" in Name part and write your video embed code in Value part. Add your custom field. Do not use quotation marks.
note: if you use width="554" height="448" in your embed codes, it will be perfect for your theme.
Add photos
While posting a new post,
1- Write your title,
2- Write your video description,
3- Add tags,
4- Select your category,
5- Add a custom field: Write "photo" in Name part and write your photo url in Value part. Add your custom field. Do not use quotation marks.
Add flash game
While posting a new post,
1- Write your title,
2- Write your video description,
3- Add tags,
4- Select your category,
5- Add a custom field: Write "thumb" in Name part and write your thumbnail in Value part. Add your custom field. Do not use quotation marks.
6- Add a custom field: Write "game" in Name part and write your game file url in Value part. Add your custom field. Do not use quotation marks.
Plugins
Post-Ratings
1- Install the plugin
2- Enter Ratings obtions in your wordpress admin panel.
3- In Ratings Obtions part,
3a- choose stars,
3b- Show Loading Image With Text: No,
Save Changes.
4- In Rating Templates part,
4a- Ratings Vote Text: %RATINGS_IMAGES_VOTE%
4b- Ratings Voted Text: %RATINGS_IMAGES%
4c- Ratings No Permission Text: %RATINGS_IMAGES%
4d- Ratings None: %RATINGS_IMAGES_VOTE%
Save Changes
Also install, Wp-Pagaenavi and Wp-Postviews plugins. Default obtions are nice for them.
Important
Theme is free because of the links in footer. You can not remove them.
If you have questions:
Webpage: Video Game Photo Theme wordpress blogger themes (leave a comment) - 02-03-2009, 17:10:41https://www.r10.net/wordpress/285534-...im-temasi.html
bu konudaki temayı indir içinde gerekli açıklamalar var..