Deprecated: Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead. in /var/www/html/wp-includes/functions.php on line 5383

Reply To: Multiple Pages with different Portfolio page

New Front EN Support Forums Ikebana Theme Support Multiple Pages with different Portfolio page Reply To: Multiple Pages with different Portfolio page

#3360
oren
Participant

Hello Andrew,

This is exactly what I want to achieve!

But, I can’t find the way to exclude certain “tagportfolio” ID from the general portfolio… can you please give me a hint?

in the “page_portfolio” template I tried:

$stycky_query = new WP_Query( array( ‘post_type’ => ‘project’, ‘meta_key’ => ‘satori_post-sticky’, ‘tagportfolio__not_in’ => array( 34 )) );

…to exclude the projects tagged with tagportfolio’s ID: 34.

not working :(

Your help is much appreciated!

Oren