• Charlie

    (@cdarling)


    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)
  • Thread Starter Charlie

    (@cdarling)

    Sorry … the second example should say “Can it see the Categories of the post/page?”

Viewing 1 replies (of 1 total)
  • The topic ‘Can Widgets "See" Page Content?’ is closed to new replies.