ยินดีต้อนรับคุณ, บุคคลทั่วไป กรุณา เข้าสู่ระบบ หรือ ลงทะเบียน

เข้าสู่ระบบด้วยชื่อผู้ใช้ รหัสผ่าน และระยะเวลาในเซสชั่น

ThaiSEOBoard.comพัฒนาเว็บไซต์CMS & Free Script[wp] ใช้ Quadro Theme ครับ แต่มันตัดคำแบบนี้ แก้ยังไงให้มันแสดงเต็มง่ะ
หน้า: [1]   ลงล่าง
พิมพ์
ผู้เขียน หัวข้อ: [wp] ใช้ Quadro Theme ครับ แต่มันตัดคำแบบนี้ แก้ยังไงให้มันแสดงเต็มง่ะ  (อ่าน 1367 ครั้ง)
0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้
pizad_sura
เจ้าพ่อบอร์ดเสียว
*

พลังน้ำใจ: 108
ออฟไลน์ ออฟไลน์

กระทู้: 5,611



ดูรายละเอียด
« เมื่อ: 21 พฤศจิกายน 2009, 01:08:51 »



http://thaiskincare.net

อยากให้มันแสดงเต็มๆ อ่ะครับ
งงไปหมดแล้ว  Tongue
บันทึกการเข้า
pizad_sura
เจ้าพ่อบอร์ดเสียว
*

พลังน้ำใจ: 108
ออฟไลน์ ออฟไลน์

กระทู้: 5,611



ดูรายละเอียด
« ตอบ #1 เมื่อ: 21 พฤศจิกายน 2009, 01:12:03 »

นี่ไฟล์ home.php ครับ

โค๊ด:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head profile="http://gmpg.org/xfn/11">

<meta http-equiv="Content-Type" content="<?php bloginfo(&#39;html_type&#39;); ?>; charset=<?php bloginfo(&#39;charset&#39;); ?>" />

<title><?php bloginfo(&#39;name&#39;); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php ?> <?php wp_title(); ?></title>

 <meta name="generator" content="WordPress <?php bloginfo(&#39;version&#39;); ?>" /> <!-- leave this for stats -->

<link rel="stylesheet" href="<?php bloginfo(&#39;stylesheet_url&#39;); ?>" type="text/css" media="screen" />
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo(&#39;stylesheet_directory&#39;); ?>/iestyle.css" />
<![endif]-->

<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo(&#39;stylesheet_directory&#39;); ?>/ie6style.css" />
<![endif]-->
<link rel="alternate" type="application/rss xml" title="RSS 2.0" href="<?php bloginfo(&#39;rss2_url&#39;); ?>" />

<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo(&#39;rss_url&#39;); ?>" />

<link rel="alternate" type="application/atom xml" title="Atom 0.3" href="<?php bloginfo(&#39;atom_url&#39;); ?>" />

<link rel="pingback" href="<?php bloginfo(&#39;pingback_url&#39;); ?>" />
<script type="text/javascript" src="<?php bloginfo(&#39;template_directory&#39;); ?>/js/jquery.js"></script>
<script type="text/javascript" src="<?php bloginfo(&#39;template_directory&#39;); ?>/js/idtabs.js"></script>
<?php wp_get_archives(&#39;type=monthly&format=link&#39;); ?>

<?php wp_head(); ?>
</head>

<body>

<div id="pages">
<ul>
              <li class="page_item_home"><a href="<?php bloginfo(&#39;url&#39;); ?>">Home</a></li>

<?php wp_list_pages(&#39;depth=1&title_li=&#39;); ?>

                </ul>
</div>

<div style="clear: both;"></div>
<div id="header">
<a href="<?php bloginfo(&#39;url&#39;); ?>"><img src="<?php bloginfo(&#39;stylesheet_directory&#39;); ?>/images/logo.gif" alt="logo" class="logo" /></a>
<div class="search_bg">
<div id="search">
<form method="get" action="<?php bloginfo(&#39;home&#39;); ?>" style="padding:0px 0px 0px 0px; margin:0px 0px 0px 0px">
<input type="text"  name="s" value="<?php echo wp_specialchars($s1); ?>"/><input type="image" class="input" src="<?php bloginfo(&#39;stylesheet_directory&#39;); ?>/images/search.gif" value="submit"/>
</form>
</div>
</div>
</div>
<div style="clear: both;"></div>
<div id="wrapper2">
<div id="categories">
<ul>
<?php wp_list_cats(&#39;sort_column=name&optioncount=0&depth=1&#39;); ?>
</ul>
</div>

<div id="wrapper">

<div id="content-wrapper">

<div id="content">


<div id="featured">

 <?php $my_query = new WP_Query(&#39;category_name=Featured Articles&showposts=1&#39;);
  
while ($my_query->have_posts()) : $my_query->the_post();
  
$do_not_duplicate $post->ID?>

<div class="thumbnail-div-featured"><a href="<?php the_permalink() ?>"><img height="212" width="159" style="border: none;" alt="featured article" src="<?php echo get_post_meta($post->ID"Featured"true); ?>" /></a></div>

<div id="featured-content">
<span class="titles-featured"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></span>
<?php the_content_limit(500""); ?>
<div class="readmore"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">Read More</a></div>

</div>
<div style="clear: both;"></div>
  <?php endwhile; ?>
</div>

<ul class="idTabs">
<li><a class="" href="#recententries">Recent Entries</a></li>
<li><a class="" href="#recentcomments2">Recent Comments</a></li>
<li><a class="" href="#mostcomments">Popular Posts</a></li>
</ul>

<div id="recententries">
<span class="toptitle">Recent Posts</span>
<ul class="list2">
<?php get_archives(&#39;postbypost&#39;, 8); ?>
</ul>
</div>

<div id="recentcomments2">
<span class="toptitle">Recent Comments</span>
<ul class="list2">
<?php if(function_exists("get_recent_comments")) : ?>
<?php get_recent_comments(); ?>
<?php else : ?>
<?php mw_recent_comments(8false501550, &#39;all&#39;, &#39;<li><a href="%permalink%" title="%title%"><strong>%author_name%</strong></a> in %title%</li>&#39;,&#39;d.m.y, H:i&#39;); ?>
<?php endif; ?>
</ul>
</div>


<div id="mostcomments">
<span class="toptitle">Popular Articles</span>
<ul class="list2">
<?php get_hottopics(); ?>
</ul>
</div>



 <?php if (have_posts()) : while (have_posts()) : the_post(); 
  if( 
$post->ID == $do_not_duplicate ) continue; update_post_caches($posts); ?>



<?php static $ctr 0
if (
$ctr == "4") { break; } 
else { 
?>


<?php 
// check for thumbnail
$thumb get_post_meta($post->ID, &#39;Thumbnail&#39;, $single = true);
// check for thumbnail class
$thumb_class get_post_meta($post->ID, &#39;Thumbnail Class&#39;, $single = true);
// check for thumbnail alt text
$thumb_alt get_post_meta($post->ID, &#39;Thumbnail Alt&#39;, $single = true);
 ?>


<div class="home-post-wrap">
<div class="post">


<div class="thumbnail-div" style="width: 263px; margin-bottom: 10px;">
<?php // if there&#39;s a thumbnail
if($thumb !== &#39;&#39;) { ?>


<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><img src="<?php echo $thumb?>"
width="263px" height="108px" style="border: none;"
alt="<?php if($thumb_alt !== &#39;&#39;) { echo $thumb_alt; } else { echo the_title(); } ?>"
/></a>

<?php // end if statement

// if there&#39;s not a thumbnail

else { echo &#39;&#39;; } ?>


</div>


<span class="titles"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title2(&#39;&#39;, &#39;...&#39;, true, &#39;23&#39;) ?></a></span>
<?php the_content_limit(280""); ?>
<div class="readmore"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">Read More</a></div>

</div>

</div>
<?php $ctr  ; } ?>
<?php comments_template(); ?>

<?php endwhile; ?>

   

<?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>
บันทึกการเข้า
pizad_sura
เจ้าพ่อบอร์ดเสียว
*

พลังน้ำใจ: 108
ออฟไลน์ ออฟไลน์

กระทู้: 5,611



ดูรายละเอียด
« ตอบ #2 เมื่อ: 21 พฤศจิกายน 2009, 01:19:47 »

ได้แล้วครับ   wanwan003

ใช้ <?php the_title(); ?>

แทน <?php the_title2('', '...', true, '23') ?>


อายว่ะ ชงเองกินเองหมดเลย  Embarrassed
บันทึกการเข้า
g-ji
เจ้าพ่อบอร์ดเสียว
*

พลังน้ำใจ: 231
ออฟไลน์ ออฟไลน์

กระทู้: 3,244



ดูรายละเอียด เว็บไซต์
« ตอบ #3 เมื่อ: 21 พฤศจิกายน 2009, 02:42:48 »

จี้ งงว่า ธีมมันจะเขียน

<?php the_title2('', '...', true, '23') ?>

ขึ้นมาเพื่อ ??
บันทึกการเข้า

pizad_sura
เจ้าพ่อบอร์ดเสียว
*

พลังน้ำใจ: 108
ออฟไลน์ ออฟไลน์

กระทู้: 5,611



ดูรายละเอียด
« ตอบ #4 เมื่อ: 21 พฤศจิกายน 2009, 02:47:22 »

จี้ งงว่า ธีมมันจะเขียน

<?php the_title2('', '...', true, '23') ?>

ขึ้นมาเพื่อ ??

พี่จี้ครับ ผมเจอปัญหาอีกแล้ว

ถ้าจะเปลี่ยนสี font เปลี่ยนตรงนี้รึเปล่าครับ

body {
margin-top: 0px;
padding: 0;
color: #FF0000;
background-color: #19110A;
font-family: Verdana, Georgia, Sans-Serif;
font-size: 11px;
line-height: 18px;
}

ผมลองเปลี่ยนแล้วอัพ style.css ขึ้นไปดู แต่มันก็ไม่ยอมเปลี่ยนเลย  Tongue
บันทึกการเข้า
g-ji
เจ้าพ่อบอร์ดเสียว
*

พลังน้ำใจ: 231
ออฟไลน์ ออฟไลน์

กระทู้: 3,244



ดูรายละเอียด เว็บไซต์
« ตอบ #5 เมื่อ: 21 พฤศจิกายน 2009, 03:07:12 »

อันนั้นมัน ฟอนต์ ใน body

ถ้าไม่ได้กำหนด สี มันจะออกมาเป็นสีตามที่ตั้งของ body ...

ถ้าจะเปลี่ยนจริงๆ ต้องหา

CSS ของ จุดที่ต้องการเปลี่ยนจริงๆ

ใช้ หมาไฟ ก็โหลด developer toolbar มาใช้สิ สะดวกดี

แต่ Class มาตรฐานจะใช้ .post นะ
บันทึกการเข้า

pizad_sura
เจ้าพ่อบอร์ดเสียว
*

พลังน้ำใจ: 108
ออฟไลน์ ออฟไลน์

กระทู้: 5,611



ดูรายละเอียด
« ตอบ #6 เมื่อ: 21 พฤศจิกายน 2009, 03:50:24 »

อันนั้นมัน ฟอนต์ ใน body

ถ้าไม่ได้กำหนด สี มันจะออกมาเป็นสีตามที่ตั้งของ body ...

ถ้าจะเปลี่ยนจริงๆ ต้องหา

CSS ของ จุดที่ต้องการเปลี่ยนจริงๆ

ใช้ หมาไฟ ก็โหลด developer toolbar มาใช้สิ สะดวกดี

แต่ Class มาตรฐานจะใช้ .post นะ
ได้เรียบร้อยแล้วครับ ตอนนี้ปรับสีที่ต้องการได้แล้ว

ปัญหาต่อมา..

bbpress โหลดภาษาไทยมาแล้ว

สร้าง โฟลเดอร์ "my-languages"

เอาสองไฟล์ที่โหลดใส่เข้าไป

ไม่เห็นเป็นภาษาไทยเลยครับ  Tongue
บันทึกการเข้า
g-ji
เจ้าพ่อบอร์ดเสียว
*

พลังน้ำใจ: 231
ออฟไลน์ ออฟไลน์

กระทู้: 3,244



ดูรายละเอียด เว็บไซต์
« ตอบ #7 เมื่อ: 21 พฤศจิกายน 2009, 05:08:23 »

อันนั้นมัน ฟอนต์ ใน body

ถ้าไม่ได้กำหนด สี มันจะออกมาเป็นสีตามที่ตั้งของ body ...

ถ้าจะเปลี่ยนจริงๆ ต้องหา

CSS ของ จุดที่ต้องการเปลี่ยนจริงๆ

ใช้ หมาไฟ ก็โหลด developer toolbar มาใช้สิ สะดวกดี

แต่ Class มาตรฐานจะใช้ .post นะ
ได้เรียบร้อยแล้วครับ ตอนนี้ปรับสีที่ต้องการได้แล้ว

ปัญหาต่อมา..

bbpress โหลดภาษาไทยมาแล้ว

สร้าง โฟลเดอร์ "my-languages"

เอาสองไฟล์ที่โหลดใส่เข้าไป

ไม่เห็นเป็นภาษาไทยเลยครับ  Tongue

bb-config.php

ล่างๆ เลย

define( 'BB_LANG', '' ); ใส่ไป TH (มั้ง)
บันทึกการเข้า

pizad_sura
เจ้าพ่อบอร์ดเสียว
*

พลังน้ำใจ: 108
ออฟไลน์ ออฟไลน์

กระทู้: 5,611



ดูรายละเอียด
« ตอบ #8 เมื่อ: 21 พฤศจิกายน 2009, 16:20:41 »

ขอบคุณมากครับ ภาษาไทย bbspress ยังไม่ลองทำเลย แต่ว่าตอนนี้ปัญหาใหม่อ่ะ

<div id="recentcomments2">
<span class="toptitle">Recent Comments</span>
<ul class="list2">
<?php if(function_exists("get_recent_comments")) : ?>
<?php get_recent_comments(); ?>
<?php else : ?>
<?php mw_recent_comments(8, false, 50, 15, 50, 'all', '<li><a href="%permalink%" title="%title%"><strong>%author_name%</strong></a> in %title%</li>','d.m.y, H:i'); ?>
<?php endif; ?>
</ul>
</div>

มันแสดงแค่นี้เองน่ะครับ อยากให้มันแสดงเต็ม ๆ
บันทึกการเข้า
pizad_sura
เจ้าพ่อบอร์ดเสียว
*

พลังน้ำใจ: 108
ออฟไลน์ ออฟไลน์

กระทู้: 5,611



ดูรายละเอียด
« ตอบ #9 เมื่อ: 21 พฤศจิกายน 2009, 17:20:55 »

^
^
ดันหน่อย  Tongue
บันทึกการเข้า
หน้า: [1]   ขึ้นบน
พิมพ์