get tags for a page using page id
-
Hi,
I’m using a plugin that adds tags to pages as well as posts (TagPages), and am wanting to retrieve those tags on a page prior to clicking though to the individual tagged pages.I am including content from another database ,which is going through a while loop and spitting out a list of items, each of which has an associated WP page id (so I know the page IDs already)
The only thing I can find that seems related is this:
$postid = $post->ID; get_the_tags($postid);
As I said, I already know the WP page id’s at this stage so am unsure how to use it; I managed to make it say ‘array’ at one point, (but can’t seem to do it again…)
Any help gratefully received!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘get tags for a page using page id’ is closed to new replies.