IRCForumları - IRC ve mIRC Kullanıcılarının Buluşma Noktası

IRCForumları - IRC ve mIRC Kullanıcılarının Buluşma Noktası (https://www.ircforumlari.net/)
-   HTML/CSS/JavaScript (https://www.ircforumlari.net/html-css-javascript/)
-   -   Blogdan Son Eklenen Yazıları Sitede Gösterme (https://www.ircforumlari.net/html-css-javascript/306431-blogdan-son-eklenen-yazilari-sitede-gosterme.html)

Semih 22 Aralık 2009 08:31

Cevap: Blogdan Son Eklenen Yazıları Sitede Gösterme
 
Merhaba, istediğiniz kodlari size ben vereyim..

Sitenin dizinine göre değiştirmeniz gereken yer ;

<? include "haber/wp-config.php"; ?>

[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] wordpress bu şekilde ise, aynı kalır [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] ise kod ;

<? include "blog/wp-config.php"; ?>

burayi kendinize göre değiştirirsiniz. Örnek kodlama : [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] bakabilirsiniz örneğine..


PHP- Kodu:

<p></p><meta http-equiv="content-type" content="text/html; charset=UTF-8">
<style type="text/css">
<HTML><link href="style.css" rel="stylesheet" type="text/css" /></HTML>
<!--
.style1 {color: #FFFFFF}
.style7 {
 font-size: 10pt;
 font-weight: bold;
}
.style10 {
 font-size: 9pt;
 font-family: "Trebuchet MS";
}
.style13 {font-size: 9pt; font-weight: bold; font-family: "Trebuchet MS"; }
.style15 {color: #FF9900}
.style18 {font-size: 9pt; font-weight: bold; font-family: "Trebuchet MS"; color: #7E9143; }
.style20 {color: #7C9040}
.style22 {color: #7F9244}
.style23 {color: #7E9143}
.style24 {color: #7C8F40}
-->
</style>
<? include "haber/wp-config.php"?>
<?php get_archives
('postbypost''9''custom''<li>''</li>'); ?><body>


KeReM123 22 Aralık 2009 22:26

Cevap: Blogdan Son Eklenen Yazıları Sitede Gösterme
 
Alıntı:

[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]

bunu dene sonucu belirt bakalim.

*************************************************
bu gosterdiğiniz resimden bişe anlamadım son yazıları index te gostermek için kod gerekir sanırım saol yinede cevabın için

konusarock 23 Aralık 2009 16:06

Cevap: Blogdan Son Eklenen Yazıları Sitede Gösterme
 
[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]

bu eklentiyi indirin
wpmu-plugins içerisine atın
----------------------------------------------------------------------------------
LIMIT: can be any number or left blank for unlimited.
DISPLAY: Can be either 'name' which displays the blogs name or 'url' which displays the address
BEGIN_WRAP: html or other code that you would like if front of the generated html. Example: '<p>'
END_WRAP: html or other code that you would like after the generated html. Example: '</p>'
ORDER: Can be 'updated' which lists blogs by last updated, 'first_created' which lists blogs by the first blog to the latest, or 'last_created' which lists blogs from the latest to the first created

Example:

list_all_wpmu_blogs('100', 'name', '<p>', '</p>', 'updated');
----------------------------------------------------------------------------------
burdaki parametrelere göre kullanıyorsun

mesela son kayıtlı 10 blogu listeleme için

list_all_wpmu_posts('10', 'name', '<p>', '</p>', 'last_created');


Tüm Zamanlar GMT +3 Olarak Ayarlanmış. Şuanki Zaman: 05:09.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO
Copyright ©2004 - 2025 IRCForumlari.Net Sparhawk