0

I am looking to add content before the post title but not included in the markup of the title itself so adding to the_title doesn't seem to be the right hook for this.

Thanks

1 Answer 1

1

No, there is no reliable hook. The markup is provided by the theme, and there unlimited variants. You will have to change the theme’s markup directly.

3
  • hmmm, not the answer I was looking for :) I'm looking to have the plugin operate totally independently to the theme so it looks like it's back to the drawing board. Thanks, K
    – kerrin
    Commented Jul 4, 2012 at 2:58
  • Why can't you use the_title filter and just prefix your markup? Commented Jul 4, 2012 at 4:16
  • @KDM Because you cannot break out of a <h1> without creating some orphaned markup.
    – fuxia
    Commented Jul 4, 2012 at 4:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.