743 posts
  • Elite Author
  • Weekly Top Seller
  • Featured Item
  • Most Wanted Winner
+5 more
Orbital_Themes
says

Where exactly do you use this code? On page.php? Why do you call global $wp_query;? Why do you reset query?

1096 posts
  • 5 Years of Membership
  • Affiliate Level 1
  • Beta Tester
  • Collector Level 2
+5 more
Gareth_Gillman
says

Thanks so much NuclearThemes, that works a treat.

PogoKing, I am using global Query as it was outside of the loop, I am using it on page.php.

I am still getting my head around custom fields and stuff like that so was following tutorials online which doesn’t seem to have helped.

Thanks everyone for the input

221 posts
  • 4 Years of Membership
  • United Kingdom
  • Author Level 3
  • Collector Level 2
+2 more
NuclearThemes
says
Gareth_Gillman said
Thanks so much NuclearThemes, that works a treat.

PogoKing, I am using global Query as it was outside of the loop, I am using it on page.php.

I am still getting my head around custom fields and stuff like that so was following tutorials online which doesn’t seem to have helped.

Thanks everyone for the input

No problem, good luck with the site.

by
by
by
by
by
by