| 最新の投稿-WordPress |
- 2004-6-20
- 2004-4-25
- 2004-4-22
- 2004-4-18
|
| 最新の投稿-雑記 |
- 2004-5-20
- 2004-3-24
- 2004-2-23
- 2004-2-21
|

Powered by XOOPS Cube Legacy 2.1.8
PukiWikiMod 1.5.1
WordPress Module 0.6.0 Alpha
|
|
| 投稿記事部分の変更について
投稿者:
taku
投稿日:2006/06/11(Sun) 16:20
No.2903 |
|
|
 |
のぶのぶさん、便利にWPモジュールを使わせて頂いています。ありがとうございます 今現在、Release 0.5.0 RC Finalを快適に使わせて頂いています。 のぶのぶさんが使われている、http://www.nobunobu.com/blog/2006/06/11/flashpaper/ の画面表示が変更されています(記事の投稿日やカテゴリの場所です)。 標準では記事の上に表示されますが、のぶのぶさんの様に記事の下に表示をしたいと思っています。 技術があれば変更出来るのですが、技術が無いので御指導を頂けたら。と思っています。 厚かましいお願いですが、御指導を頂けたらと思っています。
お時間のある時にでもお願い致します。 |
|
Re: 投稿記事部分の変更について
投稿者:
tm
投稿日:2006/06/12(Mon) 13:36
No.2905 |
|
|
|
 |
のぶのぶさんご指名なので、不本意ならスルーでお願いします
wordpress/themes/xxxxxx/index-template.php を変更すればOKではありますマイカル本牧。 |
|
Re[2]: 投稿記事部分の変更について
投稿者:
nobunobu
投稿日:2006/06/12(Mon) 14:02
No.2906 |
|
|
|
 |
引用: tmさんは書きました: のぶのぶさんご指名なので、不本意ならスルーでお願いします
wordpress/themes/xxxxxx/index-template.php を変更すればOKではありますマイカル本牧。
一応、www.nobunobu.comのindex-template.phpの中で、一部WordPressを改造指定使用している部分を省いて載せておきます、参考にして下さい
<?php /* Don't remove this line */ if (!defined('XOOPS_ROOT_PATH')) { exit; } error_reporting(65535)?>
<?php //This is WordPress main content Template ?>
<div id="wpMainContent">
<?php if ($posts) { foreach ($posts as $post) { start_wp(); ?>
<div class="post">
<h2 class="storytitle" id="post-<?php the_ID(); ?>"><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="storycontent">
<?php the_content(); ?>
<br clear="left" />
</div>
<?php link_pages('<br />Pages: ', '<br />', 'number'); ?>
<div class="meta"><div class="feedback"><?php the_time('Y.n.j H:i') ?> by <?php the_author_posts_link() ?> | <?php the_category() ?> <?php edit_post_link(_WP_TPL_EDIT_THIS,'| '); ?>|
<?php
if (get_xoops_option(wp_mod(), 'wp_use_xoops_comments') == 0) {
comments_popup_link(_WP_TPL_COMMENT0, _WP_TPL_COMMENT1, _WP_TPL_COMMENTS);
} else {
xcomments_popup_link(_WP_TPL_COMMENT0, _WP_TPL_COMMENT1, _WP_TPL_COMMENTS);
echo " | ";
comments_popup_link(_WP_TPL_TRACKBACK0, _WP_TPL_TRACKBACK1, _WP_TPL_TRACKBACKS,'', 'Trackback Off');
}
?>
</div></div>
<!--
<?php trackback_rdf(); ?>
-->
<?php include(dirname(dirname(dirname(__FILE__))) . '/wp-comments.php'); ?>
</div>
<br />
<?php } } else { // end foreach, end if any posts ?>
<p>Sorry, no posts matched your criteria.</p>
<?php } ?>
<script id="stats_script" type="text/javascript" src="http://metrics.performancing.com/stats.js"></script>
<p class="credit"><?php echo $wpdb->querycount; ?> queries. <?php timer_stop(1); ?> sec.<br /><cite>Powered by <a href="http://www.kowa.org/" title="NobuNobu XOOPS"><strong>WordPress Module</strong></a> based on <a href="http://wordpress.xwd.jp/" title="Powered by WordPress Japan"><strong>WordPress ME</strong></a> & <a href="http://www.wordpress.org/" title="Powered by WordPress"><strong>WordPress</strong></a></cite></p>
</div>
www.nobunobu.comでは、これに別途用意したパン屑リストとページナビゲータがついています。 ページナビゲータ部分は、本サイト内のFAQ内の「記事画面のカストマイズ」を参考にして下さい。 |
|
Re[3]: 投稿記事部分の変更について
投稿者:
taku
投稿日:2006/06/12(Mon) 15:29
No.2910 |
|
|
|
 |
tmさん、のぶのぶさんレスありがとうございます。 WordPressモジュール本当に使い易いです
敷居が高そうですが、アドバイスを参考にさせて頂いて頑張ってみます。
ありがとうございました。 |
|
このプログラムは KENT 氏の yybbs を xoops(PHP) に移植したものです
- KENT -
|