หัวข้อ: ถามให้เพื่อนเรื่อง Wordpress ครับ
เริ่มหัวข้อโดย: 100z ที่ 22 พฤศจิกายน 2008, 04:47:30
ถามให้้เพื่อนนะครับ
ทำไมโพสบทความแล้ว
แต่หน้าแรกไม่แสดงเนื้อหาอะครับ
http://goodhealth-tips.com/
:) thx
หัวข้อ: Re: ถามให้เพื่อนเรื่อง Wordpress ครับ
เริ่มหัวข้อโดย: navico ที่ 22 พฤศจิกายน 2008, 04:52:20
ขึ้นแต่หัวข้อ เป็นตอนเขียนบนความหรือเปล่าครับ
หัวข้อ: Re: ถามให้เพื่อนเรื่อง Wordpress ครับ
เริ่มหัวข้อโดย: 100z ที่ 22 พฤศจิกายน 2008, 05:01:30
ขึ้นแต่หัวข้อ เป็นตอนเขียนบนความหรือเปล่าครับ
บทความก็เขียนได้ปกติอะครับ แต่หน้าแรกไม่แสดง :P http://goodhealth-tips.com/?p=28
หัวข้อ: Re: ถามให้เพื่อนเรื่อง Wordpress ครับ
เริ่มหัวข้อโดย: sleep ที่ 22 พฤศจิกายน 2008, 05:20:13
เป็นที่เทมเพลสหรือเปล่าครับ
ประมาณว่ามันตั้งให้โพสหน้าแรกมีแต่หัวข้อ
หัวข้อ: Re: ถามให้เพื่อนเรื่อง Wordpress ครับ
เริ่มหัวข้อโดย: devil_joe ที่ 22 พฤศจิกายน 2008, 09:48:53
ลองเปลี่ยนเท็มเพลทดูครับ
หัวข้อ: Re: ถามให้เพื่อนเรื่อง Wordpress ครับ
เริ่มหัวข้อโดย: YAMS ที่ 22 พฤศจิกายน 2008, 12:29:29
เราเคยลืม publish ค่ะ กด แต่ save มันก็ไม่ขึ้น นั่งงงตั้งนาน 555
แต่ถ้า published แล้ว ยังไม่ขึ้นก็เปลี่ยน template เลยค่ะ
หัวข้อ: Re: ถามให้เพื่อนเรื่อง Wordpress ครับ
เริ่มหัวข้อโดย: iPhoenix ที่ 22 พฤศจิกายน 2008, 16:25:17
ลองดูในโฟล์เดอร์ของเทมเพลตดูนะครับ
ที่ไฟล์ index.php หรือไฟล์ที่มันต้องไว้หน้าแรก
แล้วลองหาคำว่า the_content() ว่ามีหรือเปล่า
ถ้าไม่มีก็หาที่ใส่ซะ
หัวข้อ: Re: ถามให้เพื่อนเรื่อง Wordpress ครับ
เริ่มหัวข้อโดย: นายนิ้งหน่อง ที่ 22 พฤศจิกายน 2008, 16:29:38
ลองให้เพื่อนมาถามเองสิครับ ;D
หัวข้อ: Re: ถามให้เพื่อนเรื่อง Wordpress ครับ
เริ่มหัวข้อโดย: tsubaruu24280 ที่ 22 พฤศจิกายน 2008, 16:58:21
หง่ะ ต้องขอบคุน เพื่อน ที่ตั้ง กระทู้ให้ครับ เอิ้กๆ :'(
หัวข้อ: Re: ถามให้เพื่อนเรื่อง Wordpress ครับ
เริ่มหัวข้อโดย: 100z ที่ 22 พฤศจิกายน 2008, 17:54:31
ลองเปลี่ยนเท็มเพลทดูครับ
เปลี่ยนแล้วก็ยังเป็นแบบเดิมครับ http://goodhealth-tips.com/ ลองดูในโฟล์เดอร์ของเทมเพลตดูนะครับ
ที่ไฟล์ index.php หรือไฟล์ที่มันต้องไว้หน้าแรก
แล้วลองหาคำว่า the_content() ว่ามีหรือเปล่า
ถ้าไม่มีก็หาที่ใส่ซะ
ใส่แล้วหง่ะ เหมือนเดิมเลย ไม่แน่ใจว่าใส่ถูกที่อะป่าว :P
หัวข้อ: Re: ถามให้เพื่อนเรื่อง Wordpress ครับ
เริ่มหัวข้อโดย: iPhoenix ที่ 22 พฤศจิกายน 2008, 18:20:05
ลองเปลี่ยนเท็มเพลทดูครับ
เปลี่ยนแล้วก็ยังเป็นแบบเดิมครับ [url]http://goodhealth-tips.com/[/url] ลองดูในโฟล์เดอร์ของเทมเพลตดูนะครับ
ที่ไฟล์ index.php หรือไฟล์ที่มันต้องไว้หน้าแรก
แล้วลองหาคำว่า the_content() ว่ามีหรือเปล่า
ถ้าไม่มีก็หาที่ใส่ซะ
ใส่แล้วหง่ะ เหมือนเดิมเลย ไม่แน่ใจว่าใส่ถูกที่อะป่าว :P ใส่ถูกที่หรือเปล่า ตกลงเป็นเว็บของใครกันแน่ครับ
หัวข้อ: Re: ถามให้เพื่อนเรื่อง Wordpress ครับ
เริ่มหัวข้อโดย: 100z ที่ 22 พฤศจิกายน 2008, 18:27:09
ลองเปลี่ยนเท็มเพลทดูครับ
เปลี่ยนแล้วก็ยังเป็นแบบเดิมครับ [url]http://goodhealth-tips.com/[/url] ลองดูในโฟล์เดอร์ของเทมเพลตดูนะครับ
ที่ไฟล์ index.php หรือไฟล์ที่มันต้องไว้หน้าแรก
แล้วลองหาคำว่า the_content() ว่ามีหรือเปล่า
ถ้าไม่มีก็หาที่ใส่ซะ
ใส่แล้วหง่ะ เหมือนเดิมเลย ไม่แน่ใจว่าใส่ถูกที่อะป่าว :P ใส่ถูกที่หรือเปล่า ตกลงเป็นเว็บของใครกันแน่ครับ เว็บของเพื่อนครับ แต่ผมมีพาส แต่ งงที่เปลี่ยนกี่ธีมก็ เป็นแบบเดิม <?php get_header(); ?> <div id="wrapper"> <div id="content-wrapper"> <div id="content"> <?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php // check for thumbnail $thumb = get_post_meta($post->ID, 'Thumbnail', $single = true); // check for thumbnail class $thumb_class = get_post_meta($post->ID, 'Thumbnail Class', $single = true); // check for thumbnail alt text $thumb_alt = get_post_meta($post->ID, 'Thumbnail Alt', $single = true); ?> <div class="post-wrapper"> <div style="float: left; margin-left: -71px;" class="ie6float"> <div class="date"> <span class="month"><?php the_time('M') ?></span> <span class="day"><?php the_time('j') ?></span> </div>
<div style="float: left; width: 570px; clear: right; margin-top: 3px; margin-bottom: 0px; padding-top: 10px; margin-left: 5px;" class="iehack"> <span class="titles"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></span> <div class="articleinfo"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icon1.gif" alt="icon1" /> Posted by <?php the_author() ?> in <?php the_category(', ') ?> on <?php the_time('m jS, Y') ?> | <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></div> <div style="clear: both;"></div> </div>
</div>
<div style="clear: both;"></div> <div class="post">
<div class="homepost-left"> <div class="thumbnailwrap"> <?php // if there's a thumbnail if($thumb !== '') { ?>
<img src="<?php echo $thumb; ?>" class="thumbnail-home" width="94px" height="94px" alt="<?php if($thumb_alt !== '') { echo $thumb_alt; } else { echo the_title(); } ?>" />
<?php } // end if statement
// if there's not a thumbnail
else { echo ''; } ?>
</div> <?php Show_Dropdown(); ?> </div> <div class="homepost-right"> <?php the_content_limit(560, ""); ?> </div>
</div> </div>
<?php comments_template(); ?>
<?php endwhile; ?>
<p class="pagination"><?php next_posts_link('« Previous Entries') ?> <?php previous_posts_link('Next Entries »') ?></p>
<?php else : ?>
<h2 >No Results Found</h2>
<p>Sorry, your search returned zero results. </p>
<?php endif; ?> </div> </div> <?php the_content(); ?> <?php get_sidebar(); ?> <?php get_footer(); ?> </body> </html>
หัวข้อ: Re: ถามให้เพื่อนเรื่อง Wordpress ครับ
เริ่มหัวข้อโดย: iPhoenix ที่ 22 พฤศจิกายน 2008, 18:29:52
ลองดูอีกทีครับ <?php get_header(); ?> <div id="wrapper"> <div id="content-wrapper"> <div id="content"> <?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php // check for thumbnail $thumb = get_post_meta($post->ID, 'Thumbnail', $single = true); // check for thumbnail class $thumb_class = get_post_meta($post->ID, 'Thumbnail Class', $single = true); // check for thumbnail alt text $thumb_alt = get_post_meta($post->ID, 'Thumbnail Alt', $single = true); ?> <div class="post-wrapper"> <div style="float: left; margin-left: -71px;" class="ie6float"> <div class="date"> <span class="month"><?php the_time('M') ?></span> <span class="day"><?php the_time('j') ?></span> </div>
<div style="float: left; width: 570px; clear: right; margin-top: 3px; margin-bottom: 0px; padding-top: 10px; margin-left: 5px;" class="iehack"> <span class="titles"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></span> <div class="articleinfo"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icon1.gif" alt="icon1" /> Posted by <?php the_author() ?> in <?php the_category(', ') ?> on <?php the_time('m jS, Y') ?> | <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></div> <div style="clear: both;"></div> </div>
</div>
<div style="clear: both;"></div> <div class="post">
<div class="homepost-left"> <div class="thumbnailwrap"> <?php // if there's a thumbnail if($thumb !== '') { ?>
<img src="<?php echo $thumb; ?>" class="thumbnail-home" width="94px" height="94px" alt="<?php if($thumb_alt !== '') { echo $thumb_alt; } else { echo the_title(); } ?>" />
<?php } // end if statement
// if there's not a thumbnail
else { echo ''; } ?>
</div> <?php Show_Dropdown(); ?> </div> <div class="homepost-right"> <?php the_content(); ?> </div>
</div> </div>
<?php comments_template(); ?>
<?php endwhile; ?>
<p class="pagination"><?php next_posts_link('« Previous Entries') ?> <?php previous_posts_link('Next Entries »') ?></p>
<?php else : ?>
<h2 >No Results Found</h2>
<p>Sorry, your search returned zero results. </p>
<?php endif; ?> </div> </div>
<?php get_sidebar(); ?> <?php get_footer(); ?> </body> </html>
หัวข้อ: Re: ถามให้เพื่อนเรื่อง Wordpress ครับ
เริ่มหัวข้อโดย: 100z ที่ 22 พฤศจิกายน 2008, 18:49:59
ลองดูอีกทีครับ <?php get_header(); ?> <div id="wrapper"> <div id="content-wrapper"> <div id="content"> <?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php // check for thumbnail $thumb = get_post_meta($post->ID, 'Thumbnail', $single = true); // check for thumbnail class $thumb_class = get_post_meta($post->ID, 'Thumbnail Class', $single = true); // check for thumbnail alt text $thumb_alt = get_post_meta($post->ID, 'Thumbnail Alt', $single = true); ?> <div class="post-wrapper"> <div style="float: left; margin-left: -71px;" class="ie6float"> <div class="date"> <span class="month"><?php the_time('M') ?></span> <span class="day"><?php the_time('j') ?></span> </div>
<div style="float: left; width: 570px; clear: right; margin-top: 3px; margin-bottom: 0px; padding-top: 10px; margin-left: 5px;" class="iehack"> <span class="titles"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></span> <div class="articleinfo"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icon1.gif" alt="icon1" /> Posted by <?php the_author() ?> in <?php the_category(', ') ?> on <?php the_time('m jS, Y') ?> | <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></div> <div style="clear: both;"></div> </div>
</div>
<div style="clear: both;"></div> <div class="post">
<div class="homepost-left"> <div class="thumbnailwrap"> <?php // if there's a thumbnail if($thumb !== '') { ?>
<img src="<?php echo $thumb; ?>" class="thumbnail-home" width="94px" height="94px" alt="<?php if($thumb_alt !== '') { echo $thumb_alt; } else { echo the_title(); } ?>" />
<?php } // end if statement
// if there's not a thumbnail
else { echo ''; } ?>
</div> <?php Show_Dropdown(); ?> </div> <div class="homepost-right"> <?php the_content(); ?> </div>
</div> </div>
<?php comments_template(); ?>
<?php endwhile; ?>
<p class="pagination"><?php next_posts_link('« Previous Entries') ?> <?php previous_posts_link('Next Entries »') ?></p>
<?php else : ?>
<h2 >No Results Found</h2>
<p>Sorry, your search returned zero results. </p>
<?php endif; ?> </div> </div>
<?php get_sidebar(); ?> <?php get_footer(); ?> </body> </html>
ไม่ได้อะครับ แต่ถ้าเปลี่ยนเป็นธีมที่มันให้มา จะขึ้นอะครับ งงมากเลย http://goodhealth-tips.com/
หัวข้อ: Re: ถามให้เพื่อนเรื่อง Wordpress ครับ
เริ่มหัวข้อโดย: smapan ที่ 22 พฤศจิกายน 2008, 18:59:27
:D แก้ให้เยอะๆค่ามิตรภาพ แพงนะครับ
หัวข้อ: Re: ถามให้เพื่อนเรื่อง Wordpress ครับ
เริ่มหัวข้อโดย: iPhoenix ที่ 22 พฤศจิกายน 2008, 20:03:16
ลองดูอีกทีครับ <?php get_header(); ?> <div id="wrapper"> <div id="content-wrapper"> <div id="content"> <?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php // check for thumbnail $thumb = get_post_meta($post->ID, 'Thumbnail', $single = true); // check for thumbnail class $thumb_class = get_post_meta($post->ID, 'Thumbnail Class', $single = true); // check for thumbnail alt text $thumb_alt = get_post_meta($post->ID, 'Thumbnail Alt', $single = true); ?> <div class="post-wrapper"> <div style="float: left; margin-left: -71px;" class="ie6float"> <div class="date"> <span class="month"><?php the_time('M') ?></span> <span class="day"><?php the_time('j') ?></span> </div>
<div style="float: left; width: 570px; clear: right; margin-top: 3px; margin-bottom: 0px; padding-top: 10px; margin-left: 5px;" class="iehack"> <span class="titles"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></span> <div class="articleinfo"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icon1.gif" alt="icon1" /> Posted by <?php the_author() ?> in <?php the_category(', ') ?> on <?php the_time('m jS, Y') ?> | <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></div> <div style="clear: both;"></div> </div>
</div>
<div style="clear: both;"></div> <div class="post">
<div class="homepost-left"> <div class="thumbnailwrap"> <?php // if there's a thumbnail if($thumb !== '') { ?>
<img src="<?php echo $thumb; ?>" class="thumbnail-home" width="94px" height="94px" alt="<?php if($thumb_alt !== '') { echo $thumb_alt; } else { echo the_title(); } ?>" />
<?php } // end if statement
// if there's not a thumbnail
else { echo ''; } ?>
</div> <?php Show_Dropdown(); ?> </div> <div class="homepost-right"> <?php the_content(); ?> </div>
</div> </div>
<?php comments_template(); ?>
<?php endwhile; ?>
<p class="pagination"><?php next_posts_link('« Previous Entries') ?> <?php previous_posts_link('Next Entries »') ?></p>
<?php else : ?>
<h2 >No Results Found</h2>
<p>Sorry, your search returned zero results. </p>
<?php endif; ?> </div> </div>
<?php get_sidebar(); ?> <?php get_footer(); ?> </body> </html>
ไม่ได้อะครับ แต่ถ้าเปลี่ยนเป็นธีมที่มันให้มา จะขึ้นอะครับ งงมากเลย [url]http://goodhealth-tips.com/[/url] งง ธีมที่มันให้มายังไงครับ เอาเป็นว่าธีมชื่ออะไรครับ เดี๋ยวลองดูให้ ว่าเป็นเพราะอะไร
หัวข้อ: Re: ถามให้เพื่อนเรื่อง Wordpress ครับ
เริ่มหัวข้อโดย: 100z ที่ 22 พฤศจิกายน 2008, 20:08:39
ใช้โฮสฟรีของ http://byethost.com/
ชื่อธีม Bluesky ครับ
หัวข้อ: Re: ถามให้เพื่อนเรื่อง Wordpress ครับ
เริ่มหัวข้อโดย: iPhoenix ที่ 22 พฤศจิกายน 2008, 20:20:41
ใช้โฮสฟรีของ [url]http://byethost.com/[/url]
ชื่อธีม Bluesky ครับ
เหอๆ หาไม่เจอ คงช่วยได้เท่านี้แหละ :P ต้องไปแล้ว ไม่ได้เล่นคอมตัวเอง
หัวข้อ: Re: ถามให้เพื่อนเรื่อง Wordpress ครับ
เริ่มหัวข้อโดย: smapan ที่ 22 พฤศจิกายน 2008, 22:13:21
ที่ดู โค้ดมันไปหยุดอยู่ที่ <div class="thumbnailwrap"> </div>
น่าจะเกิดจากภาพครับ ถ้าไม่มี ภาพจะหายมั้ย ลองดู
หัวข้อ: Re: ถามให้เพื่อนเรื่อง Wordpress ครับ
เริ่มหัวข้อโดย: 100z ที่ 22 พฤศจิกายน 2008, 22:59:17
แก้ได้แล้วละครับ
ที่แท้มันต้องลง plugin ด้วยนี่เอง
ขอบคุณทุกท่านครับ :)
|