Tuhinga Tuhinga
Tuhinga o muamono WordPressKa taea e koe te mohio ki te mahi o te taunaki i nga tuhinga e pa ana me te whakaaro ki taau e pai ai.
- Ko te painga o nga taputapu WordPress he ngawari ki te whirihora, engari ka whai paanga pea ki te paetukutuku.
- Na reira, he maha nga tangata e pai ana ki te whakamahi i te waehere WordPress ki te whakatinana i nga tuhinga e pa ana me te whakaaro ki nga mahi e pai ana koe.
- Engari i roto i te ahua ano, ko te waehere ki te whakatinana i nga tuhinga e pa ana me te whakaaro he aha taau e pai ana he tautohetohe ano. Ko te kino o te waehere he uaua ake te whirihoranga.

Ko nga tuhinga e pa ana ki te WordPress e taunaki ana, whakaarohia he pai ki a koe nga tauira waehere
E whai ake nei te whakaaro e pai ana koe ki te waehere ki te tiki tuhinga e pa ana mai i nga tohu me nga waahanga:
<h3>猜你喜欢</h3>
<ul class="related_posts">
<?php
$post_num = 10; //文章数量
$exclude_id = $post->ID;
$posttags = get_the_tags(); $i = 0;
if ( $posttags ) {
$tags = ''; foreach ( $posttags as $tag ) $tags .= $tag->term_id . ',';
$args = array(
'post_status' => 'publish',
'tag__in' => explode(',', $tags),
'post__not_in' => explode(',', $exclude_id),
'caller_get_posts' => 1,
'orderby' => 'comment_date',
'posts_per_page' => $post_num,
);
query_posts($args);
while( have_posts() ) { the_post(); ?>
<li><a rel="bookmark" href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" target="_blank"><?php the_title(); ?></a></li>
<?php
$exclude_id .= ',' . $post->ID; $i ++;
} wp_reset_query();
}
if ( $i < $post_num ) {
$cats = ''; foreach ( get_the_category() as $cat ) $cats .= $cat->cat_ID . ',';
$args = array(
'category__in' => explode(',', $cats),
'post__not_in' => explode(',', $exclude_id),
'caller_get_posts' => 1,
'orderby' => 'comment_date',
'posts_per_page' => $post_num - $i
);
query_posts($args);
while( have_posts() ) { the_post(); ?>
<li><a rel="bookmark" href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" target="_blank"><?php the_title(); ?></a></li>
<?php $i++;
} wp_reset_query();
}
if ( $i == 0 ) echo '<li>暂无相关推荐</li>';
?>
</ul>- i roto
$post_num = 10;ko te whakaatu i te maha o nga tuhinga e pa ana ki te 10. - Mena karekau he tohu me nga waahanga kei runga i te wharangi WordPress, ka whakaatuhia "Kaore he taunakitanga e pa ana".
He pehea te mahi a WordPress i nga hononga tuhinga rite?
Ma te whakauru i te mono-inserter ad-inserter, whakaritea nga taunakitanga tuhinga e tika ana ki tenei tuhinga kia whakauruhia i muri i te ihirangi tuhinga (whakauru: I muri i te Ihirangi).
Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) i tiri "WordPress Waehere ki te whakatutuki i te mahi o te whiwhi me te whakaatu i nga tuhinga e pa ana me te kii i te whakaaro e pai ana koe", he pai ki a koe.
Nau mai ki te tohatoha i te hono o tenei tuhinga:https://www.chenweiliang.com/cwl-1987.html
Hei whakatuwhera i etahi atu tinihanga huna🔑, nau mai ki te uru mai ki ta maatau hongere Telegram!
Tohaina me te pai ki te pai koe! Ko o tohatoha me o hiahia ko to matou hihiri tonu!