Accessing $post global on a custom post type archive page

Put in the following line at the top of archive page :

global $post;

Thing is you need to access the global $post object before trying to use it.

Leave a Comment

techhipbettruvabetnorabahisbahis forumutaraftarium24eduseduseduseduseduedueduseduedusedu