ถามให้้เพื่อนนะครับ
ทำไมโพสบทความแล้ว
แต่หน้าแรกไม่แสดงเนื้อหาอะครับ
http://goodhealth-tips.com/
:) thx
ขึ้นแต่หัวข้อ
เป็นตอนเขียนบนความหรือเปล่าครับ
อ้างถึงจาก: navico ใน 22 พฤศจิกายน 2008, 04:52:20
ขึ้นแต่หัวข้อ
เป็นตอนเขียนบนความหรือเปล่าครับ
บทความก็เขียนได้ปกติอะครับ
แต่หน้าแรกไม่แสดง :P
http://goodhealth-tips.com/?p=28
เป็นที่เทมเพลสหรือเปล่าครับ
ประมาณว่ามันตั้งให้โพสหน้าแรกมีแต่หัวข้อ
ลองเปลี่ยนเท็มเพลทดูครับ
เราเคยลืม publish ค่ะ กด แต่ save มันก็ไม่ขึ้น นั่งงงตั้งนาน 555
แต่ถ้า published แล้ว ยังไม่ขึ้นก็เปลี่ยน template เลยค่ะ
ลองดูในโฟล์เดอร์ของเทมเพลตดูนะครับ
ที่ไฟล์ index.php หรือไฟล์ที่มันต้องไว้หน้าแรก
แล้วลองหาคำว่า the_content() ว่ามีหรือเปล่า
ถ้าไม่มีก็หาที่ใส่ซะ
ลองให้เพื่อนมาถามเองสิครับ ;D
หง่ะ ต้องขอบคุน เพื่อน ที่ตั้ง กระทู้ให้ครับ เอิ้กๆ :'(
อ้างถึงจาก: devil_joe ใน 22 พฤศจิกายน 2008, 09:48:53
ลองเปลี่ยนเท็มเพลทดูครับ
เปลี่ยนแล้วก็ยังเป็นแบบเดิมครับ
http://goodhealth-tips.com/
อ้างถึงจาก: iPhoenix ใน 22 พฤศจิกายน 2008, 16:25:17
ลองดูในโฟล์เดอร์ของเทมเพลตดูนะครับ
ที่ไฟล์ index.php หรือไฟล์ที่มันต้องไว้หน้าแรก
แล้วลองหาคำว่า the_content() ว่ามีหรือเปล่า
ถ้าไม่มีก็หาที่ใส่ซะ
ใส่แล้วหง่ะ เหมือนเดิมเลย ไม่แน่ใจว่าใส่ถูกที่อะป่าว
:P
อ้างถึงจาก: 100z ใน 22 พฤศจิกายน 2008, 17:54:31
อ้างถึงจาก: devil_joe ใน 22 พฤศจิกายน 2008, 09:48:53
ลองเปลี่ยนเท็มเพลทดูครับ
เปลี่ยนแล้วก็ยังเป็นแบบเดิมครับ
http://goodhealth-tips.com/
อ้างถึงจาก: iPhoenix ใน 22 พฤศจิกายน 2008, 16:25:17
ลองดูในโฟล์เดอร์ของเทมเพลตดูนะครับ
ที่ไฟล์ index.php หรือไฟล์ที่มันต้องไว้หน้าแรก
แล้วลองหาคำว่า the_content() ว่ามีหรือเปล่า
ถ้าไม่มีก็หาที่ใส่ซะ
ใส่แล้วหง่ะ เหมือนเดิมเลย ไม่แน่ใจว่าใส่ถูกที่อะป่าว
:P
ใส่ถูกที่หรือเปล่า
ตกลงเป็นเว็บของใครกันแน่ครับ
อ้างถึงจาก: iPhoenix ใน 22 พฤศจิกายน 2008, 18:20:05
อ้างถึงจาก: 100z ใน 22 พฤศจิกายน 2008, 17:54:31
อ้างถึงจาก: devil_joe ใน 22 พฤศจิกายน 2008, 09:48:53
ลองเปลี่ยนเท็มเพลทดูครับ
เปลี่ยนแล้วก็ยังเป็นแบบเดิมครับ
http://goodhealth-tips.com/
อ้างถึงจาก: iPhoenix ใน 22 พฤศจิกายน 2008, 16:25:17
ลองดูในโฟล์เดอร์ของเทมเพลตดูนะครับ
ที่ไฟล์ 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>
ลองดูอีกทีครับ
<?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>
อ้างถึงจาก: 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>
ไม่ได้อะครับ แต่ถ้าเปลี่ยนเป็นธีมที่มันให้มา
จะขึ้นอะครับ งงมากเลย
http://goodhealth-tips.com/
:D
แก้ให้เยอะๆค่ามิตรภาพ แพงนะครับ
อ้างถึงจาก: 100z ใน 22 พฤศจิกายน 2008, 18:49:59
อ้างถึงจาก: 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>
ไม่ได้อะครับ แต่ถ้าเปลี่ยนเป็นธีมที่มันให้มา
จะขึ้นอะครับ งงมากเลย
http://goodhealth-tips.com/
งง ธีมที่มันให้มายังไงครับ
เอาเป็นว่าธีมชื่ออะไรครับ เดี๋ยวลองดูให้ ว่าเป็นเพราะอะไร
ใช้โฮสฟรีของ http://byethost.com/
ชื่อธีม Bluesky ครับ
อ้างถึงจาก: 100z ใน 22 พฤศจิกายน 2008, 20:08:39
ใช้โฮสฟรีของ http://byethost.com/
ชื่อธีม Bluesky ครับ
เหอๆ หาไม่เจอ
คงช่วยได้เท่านี้แหละ :P
ต้องไปแล้ว ไม่ได้เล่นคอมตัวเอง
ที่ดู โค้ดมันไปหยุดอยู่ที่ <div class="thumbnailwrap"> </div>
น่าจะเกิดจากภาพครับ ถ้าไม่มี ภาพจะหายมั้ย ลองดู
แก้ได้แล้วละครับ
ที่แท้มันต้องลง plugin ด้วยนี่เอง
ขอบคุณทุกท่านครับ :)