[Plugin: Posts 2 Posts] problem with get_sidebar
-
Hello Scribu,
In a template, I’m calling a sidebar template in which a declare the related WP_Query.
However this is not the right way to do (or I am missing something) because I’ve got notices like :
Notice: Undefined property: WP_Query::$IDNotice: Use of undefined constant xxxxxI’m building my queries like
<?php echo get_post_meta($freemailing->ID, 'wpcf-mailingliste-description', true)?>or
<?php $my_product_id = $freemailing->post->wpcf-mailingliste-id; ?> <input type=”hidden” name=”productId” value=”<?php $my_product_id ?>”>Any help would be appreciated 🙂
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘[Plugin: Posts 2 Posts] problem with get_sidebar’ is closed to new replies.