ACF Query result in a new td (echo)

Okay, I fixed it. The final code is: <?php $args2 = array(‘post_type’ => ‘etlap’, ‘posts_per_page’ => 5, ‘post__in’ => $ids, ‘order’ => ‘post__in’); $query2 = new WP_Query($args2); ?> <tr> <td> <?php echo “Levesek” ?> </td> <?php if ($query2->have_posts()): ?> <?php while ($query2->have_posts()): ?> <?php $query2->the_post(); ?> <td> <?php $levesek = get_field(‘levesek’); $leves_adag = get_field(‘leves_adag’); ?> … Read more

Some permalinks on Apache/localhost development setup return 404’s when set to anything other than plain permalinks

The slug you use for the CPT looks very weird. You should inspect the rewrite rules being used in parsing a request with something like the query monitor plugin, but the gut feeling is that your CPT slug makes all URLs to match it and since there is no CPT for the URL of a … Read more