Viewing 1 replies (of 1 total)
  • Plugin Author Nick Quinlan

    (@nquinlan)

    I’m glad you’re liking the plugin!
    WordPress automatically adds classes to the body tag of a page, one of these is the page or post id.
    For pages the class and syntax are:
    .page-id-{{NUMBER}} (e.g. body.page-id-123 #element .element)
    For post the class and syntax are:
    .postid-{{NUMBER}} (e.g. body.postid-123 #element .element)

    In your example you would do:
    .page-id-257 #getdigital img

Viewing 1 replies (of 1 total)
  • The topic ‘using Page-ID to track items on specific pages – examples?’ is closed to new replies.