Get the Value to Twig
-
Hello,
I’m using your plugin to add a category image to a template that uses Twig files. Is there a get value that I can use? Here’s what I have so far and it’s not functioning:
global $wp_query; echo View::render('archive.twig', array( 'wp_query' => $wp_query, 'posts' => $wp_query->posts, 'cat-image' => wp_get_terms($post->ID, 'z_taxonomy_image_url'), ));
Any help would be appreciated.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Get the Value to Twig’ is closed to new replies.