How to using "pll_get_post" show the internal page correct language
-
<?php $args = array('parent' => 6 ); $pages = get_pages( $args ); $stt = 1; foreach ($pages as $page_item) : ?> <li rel=<?php echo "tab".$stt; ?> > <a>'> <span class="di-table-cell thumb"> <?php echo get_the_post_thumbnail( $page_item, array(44,46) ); ?> </span> <span class="di-table-cell content"> <?php echo get_the_title( $page_item ); ?> </span> </a> <?php $stt++; endforeach; wp_reset_postdata(); ?>
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘How to using "pll_get_post" show the internal page correct language’ is closed to new replies.