New WP_query in template not working with CPT+category on some pages

For those looking for an answer:

My meta fields id’s in functions.php had a variable @prefix applied before the name. I added that prefix on the template and, voile!

Still unsure why my homepage template was working correctly with the wrong meta id’s, but an answer nonetheless.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)