1

Based on the code you've posted I assume cl_guest post meta contains an array of post IDs. Building upon this assumption, you could do something like this. 1) Add these helper functions to your theme's funtions.php file // custom template tag to render guests function render_guests( array $guests ) { if ( $guests ) { // you could use foreach loop ...


1

First, I believe that "Categories" is actually for the custom taxonomy resource and not the standard category taxonomy. But in the menu, it's labeled Categories because you didn't set a custom label for the resource taxonomy (because the label is commented out and defaults to Categories): register_taxonomy( 'resource', // the name of the taxonomy '...


1

You could output them as inline CSS custom properties instead of left/top, and then use those to set the position in either CSS or Javascript. PHP: <a class="project" href="<?php the_permalink(); ?>" style="—-x-position: <?php the_field('x'); ?>; —-y-position: <?php the_field('y'); ?>;'"> <p><?php the_field("title"); ?...


Only top voted, non community-wiki answers of a minimum length are eligible