Wordpress นี่มีปลั๊กอินอะไร ที่ใช้เรียงบทความ ตามตัวอักษร ก-ฮ บ้างไหมมครับ

เริ่มโดย littleprince, 03 ตุลาคม 2022, 21:44:34

หัวข้อก่อนหน้า - หัวข้อถัดไป

0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้

littleprince

อยากได้ปลั๊กอิน wordpress ที่เรียงภาษาไทย ตามชื่อบทความ ก - ฮ อะไรแบบนี้อ่ะครับ เหมือนเวบเนื้อเพลง พอจะมีบ้างไหมครับ  :wanwan031:


Nuttakarn0411


SEOonly

ลองดูอันนี้ครับ A-Z Listing ไม่รู้ว่าประยุกต์เป็น ก - ฮ ได้ไหม

:P
ทำงานวนไป

ktppro

[direct=https://phbone.com/norway ] phb -one [/direct]

[direct=https://phbone.com/carrot ] carrot -one [/direct]

[direct=https://phbone.com/nig-online] Event On The[/direct]

[direct=https://phbone.com/hanonn-com] hanonn post[/direct]

[direct=https://phbone.com/astro-place] astro place[/direct]



ivar

[direct=https://www.binance.com/th/register?ref=YA8W3LSJ]เทรด Bitcoin ที่ Binance พร้อมรับโบนัส 10%
[/direct]
[direct=https://www.hostneverdie.com/support/aff.php?aff=3918][/direct]

gapgag55

ปกติโค้ดจะต้อง custom query เอาครับ ซึ่งแต่ละธีม แต่ละ plugin ก็ทำไม่เหมือนกันด้วยนะ ต้องดูตาม use case ไปอีกที



$args = array(
    'post_type' => 'member',
    'posts_per_page' => '-1',
    'order' => 'ASC',
    'orderby' => 'title',
);

$my_query = new WP_Query( $args );

if ( $my_query->have_posts() ) {
    while ( $my_query->have_posts() ) {
        $my_query->the_post();

        get_template_part('content/'.get_post_type());
    }
}

wp_reset_postdata();


roof-pink

อ้างถึงจาก: gapgag55 ใน 07 พฤศจิกายน 2022, 20:46:49
ปกติโค้ดจะต้อง custom query เอาครับ ซึ่งแต่ละธีม แต่ละ plugin ก็ทำไม่เหมือนกันด้วยนะ ต้องดูตาม use case ไปอีกที



$args = array(
    'post_type' => 'member',
    'posts_per_page' => '-1',
    'order' => 'ASC',
    'orderby' => 'title',
);

$my_query = new WP_Query( $args );

if ( $my_query->have_posts() ) {
    while ( $my_query->have_posts() ) {
        $my_query->the_post();

        get_template_part('content/'.get_post_type());
    }
}

wp_reset_postdata();




:wanwan011:  เก็บ เก็บ ขอบคุณค่ะ

vii

โค้ดเรียงตามตัวอักษรมีคนแปะแล้ว
ของผมแปะบ้าง https://wordpress.org/plugins/rundiz-postorder/ แต่เป็นปลั๊กอินที่เรียงโพสต์แบบตามใจชอบ. คือไม่ได้เรียงแค่ตามตัวอักษร แต่ลากเรียงตามลำดับที่ต้องการได้เลย.
หวังว่าจะมีใครได้ใช้ประโยชน์บ้าง :wanwan008:

toekingsize


ndesigns


krapalm

ใช้พวก pagebuilder มันมีตัวเลือกให้ใช้เลย ว่าจะเรียงตามวันที่ ตัวอกษร