[Support request] image map in page header

Home Forums Support [Support request] image map in page header

Home Forums Support image map in page header

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #238190
    John

    My client wants a full page width image in the page header (that is also used in a single footer widget area) to be mapped so by clicking two different areas of the image the user will go to two different locations. I do this all the time in old school html but I don’t see how to do it here. I got a plugin to make the image map responsive when it is resized but not sure how to add the usemap tag to the image or where to put the image map information.

    #238199
    Tom
    Lead Developer
    Lead Developer

    You would have to put the HTML into GP Hooks – most likely the Before Header Content hook.

    Let me know if that works 🙂

    #238200
    John

    Will that put it on every page? Is there a way to have it only on the home page?

    #238201
    John

    Maybe use the is_home() command?

    #238214
    Tom
    Lead Developer
    Lead Developer

    is_home() is specific to the blog (posts page).

    is_front_page() is the front page of the site (regardless of what it is).

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.