Best way to translate Post Loop (Title, Excerpt, URL)
-
What’s the best way to translate a WordPress Loop using title, permalink, featured image and excerpt?
query_posts( $args ); if ( have_posts() ) { while ( have_posts() ) { the_post(); the_permalink(); get_the_post_thumbnail(get_the_ID(), 'thumbnail'); get_the_title(); the_excerpt(); } }
I’m particularly struggling here:
https://danihao.org/en/frontpage/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Best way to translate Post Loop (Title, Excerpt, URL)’ is closed to new replies.