paul-straetmans
paul-straetmans
I have a page translated in 2 other languages. These pages are published. The rest api gives back: `"wpml_current_locale": "en_US", "wpml_translations": [],` The php page is giving the correct translation...
How can I read flexible content fields? When I use the repeater code from the Wiki it counts the amount of flexible content items. But I can't display these fields....
when I use the following code in my archive-post-type.php ``` $args = 'post_type=issue&orderby=latest'; $context['issue'] = Timber::get_posts($args); $templates = array('page-issue.twig'); Timber::render($templates, $context); ``` It only show the latest 5 posts. But...
for some reasons if I use a static front page I get no wp_title. All other pages are working normally. This is the code I use: ``` php {{ wp_title...
I have multiple post types and want the user to read through all posts by viewing prev/next posts. But when I use: ``` {{post.next.link}} ``` it will only check for...
When I have a custom post type called gallery and go to localhost/website/gallery it won't display the menu item as active. Normal pages are fine (current_page_item class is added). I...
Since I'm having problems with the TimberMenu ( see Issue #341 ) I would like to use the original Wordpress Menu (because that would fix my problems) instead of the...
At the moment I have a single post page displaying the post. In a sidebar I want to display all posts with a pagination (15 posts per page). The single...
How can I get the number of post found within a get_posts query? ``` $args = array( 'post_type' => 'news', 'tag_id' => $search_tag->ID, 'orderby' => 'rand' ); $context['posts'] = Timber::get_posts($args);...