Portfolio some links not working

Hi

I’m having an issue with the portfolio posts.

The carousel works perfectly - the tiles slide and sort as they should when a tag is selected but if you click an item and navigate to it’s post (single post with menu on right) only some of the menu items work (the others return a ‘Nothing found’ page).

The categories seem to be set up correctly and I can’t see a difference between the ones that work and the ones that don’t.

Any ideas?

Thanks
Ian

Hello there,

Try adding the below function to your child theme’s functions.php file. Or you can use a functionality plugin like Code Snippets.

    function talon_pro_include_projects_archive($query) {
      if ( !is_admin() && $query->is_main_query() ) {
        if ( $query->is_archive() ) {
          $query->set('post_type', array( 'post', 'projects' ) );
        }
      }
    }
    add_action('pre_get_posts','talon_pro_include_projects_archive'); 

Regards,
Kharis

That fixed it - thanks Kharis