ThemeShaper Forums » Thematic


Insert new html somewhere in Thematic header (using a hook?)

(2 posts)
  • Started 9 years ago by TyeNewton
  • Latest reply from helgatheviking
  • This topic is not resolved
  1. TyeNewton

    Okay, I'm trying to understand hooks, but I just don't know PHP at all yet.
    I really want to try to ask as few questions as possible as I learn this stuff, but maybe that's silly... Also, someone else might just find what I'm trying to do interesting... maybe. ; )

    Anyway, I have a specific goal, and I only have a vague notion of how it's done:

    I'm pretty sure I want to use an action hook (or perhaps I need a filter hook) to place a couple div tags within the thematic header. My specific goal is to create an alternating masthead graphic, utilizing Chris Coyier's CSS trick for webkit image wipes (I realize I will have to come up with an alternative for non-webkit browsers... One step at a time.)

    Ideally, the two alternating mastheads would still be clickable links, and ultra-ideally, they'd each link to separate URLs! (Again, one step at a time.)

    I guess I'm just looking for a straight answer about how exactly I use PHP to insert code into the header (probably the blog-title area?). I just recently used an action hook, for the first time, to move #access from one place to another; now I'm thinking I need to do something similar here, but I'm creating new html this time.

    Thanks so much for any and all tips!

    Posted 9 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.