Can Widgets "See" Page Content?
-
I’m struggling with a broad conceptual WP question that I can’t seem to find answered in the Codex:
Is it even conceptually possible to write a widget that modifies its behavior based on attributes of the specific post/page being displayed?
For example, can a widget “see” the Post Type of the post/page being displayed?
Another example: can it see the Categories or the post/page? A custom field on the post/page? Etc…
Are there parts of the Codex that specifically address this? Are there examples of widgets that modify their behavior based on attributes of the specific post/page being displayed that I could look at?
Thanks!!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Can Widgets "See" Page Content?’ is closed to new replies.