Hi,
I know this is outside of your scope of support.
But im hoping since im a good customer I would maybe get some insights.
Im trying to use the WPML and everything is going great except for custom archive pages.
I have a custom archive page inside pro-child folder called “archive-byggdir.php”
inside the file I have this:
<?php
// =============================================================================
// VIEWS/INTEGRITY/WP-INDEX.PHP
// -----------------------------------------------------------------------------
// Index page output for Integrity.
// =============================================================================
?>
<?php get_header(); ?>
<div class="x-container max width offset">
<div class="offset cf">
<div class="<?php x_main_content_class(); ?>" role="main">
<div class="entry-wrap">
<ul>
<?php
wp_list_pages( array(
'post_type'=>'byggdir',
'title_li' => '',
'show_date' => 'modified',
'date_format' => $date_format
) );
?>
</ul>
</div>
</div>
<?php get_sidebar(); ?>
</div>
</div>
<?php get_footer(); ?>
This lists all pages from the post_type “byggdir”
anyway…
the problem is I get no content inside entry-wrap when I go to https://domain.com/byggdir/?lang=en
But everything is fine if I go to https://domain.com/byggdir/
so the wp_list_pages is the problem I guess because If I write asdfasdfasdf into the file I can see that on the front end…
But the wp_list_pages is not showing anything.