解决方案 »

  1.   

    <div class="h_app">
    <h2><a href="?cat=9"><img src="<?php bloginfo('template_directory'); ?>/images/menu_2.png" alt="Applications" /></a></h2>
        <div class="h_app_list">
         <div class="h_app_lf">
             <dl>
                 <dt><img src="<?php echo catch_that_image(221) ?>" width="370" height="270" alt="Offices" /></dt>
                  <dd>
                        <p class="h_app_tit"><?php
        $post_id = 221; // 文章ID,可以在WP后台找到
        echo get_post( $post_id )->post_title; // 输出文章的内容
    ?></p>
                        <p>
    <?php if(!is_single()) {      the_excerpt();  } else {       the_content(__('(more...)'));  } ?>
                        </p>
                        <p class="h_app_more"><a href="en/applications/index.php?id=27">View Details</a></p>
                    </dd>
                </dl>
            </div>