What hook should I use for some content below Welcome

Homepage Community Forums Adapt Theme Support What hook should I use for some content below Welcome

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6423
    dev77
    Customer

      See http://brandylanepublishers.com/wp/

      Just under the Welcome area and above (or before) the inner area where the 4 books are, I need to add a widget area that will have one one line of large text which will say “NEW BOOKS WE HAVE PUBLISHED.”

      What hook do I want to use for this? I know how to register a widget area, but I don’t know how to position it via an “add action/hook” code. But I can figure it out if someone will give me a hint as to what ‘hook’ I should use. (And maybe some code?)

      I suppose I could use a text widget under the featured page widget in the Welcome widget area, but using a hook might let me position it better? Most of the code is here: http://www.briangardner.com/welcome-text-widget/ but I’m not sure what hook to use.

      Thanks.

      #6437
      kronos
      Customer

        Just copy/rename the welcome code that you see on the home.php file. Whatever you rename it to, do the same for the register part in your functions file. Create or duplicate/rename the css from the Welcome, and thats it. This a shortcut and it’s much easier than trying to type all of the necessary code here.

        #6445
        dev77
        Customer

          That is really a good idea. I had not thought of that. I should have because I did something similar on the Legacy theme when I had to add three more home-bottom widget areas for this work-in-progress http://66.39.125.194/wp/

          What I tried and which worked OK is putting text widget below the featured page widget in the welcome sidebar area. The text widget had some html <div> code so I could style the text.http://brandylanepublishers.com/wp/ But your solution will give me a bit more control.

          Thanks.

          #6489
          kronos
          Customer

            One of the developers mentioned this in a thread from a while ago and I’ve been doing it every since. Much faster.

            Glad I could help 馃檪

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