To be sure the posts can actually be found I tried doing the following, which shows the results I’m expecting
<?php
$the_query = new WP_Query( 'post_type=slider' );
// The Loop
if ( $the_query->have_posts() ) {
echo '<ul>';
while ( $the_query->have_posts() ) {
$the_query->the_post();
echo '<li>' . get_the_title() . '</li>';
}
echo '</ul>';
} else {
echo "no posts found";
}
?>
I print the links with wp_menu_nav. Do I have to do something to make the links “change” to /sv/?