Adding a widget under hero image (page other than home page)

Support Area Forums Kerygma Adding a widget under hero image (page other than home page)

Viewing 2 posts - 1 through 2 (of 2 total)
URL to the page in question: http://
  • Author
    Posts
  • #24695

    Hi Bill

    I’ve had a browse but can’t see this exact question.

    I’d love to add an opt-in widget to sit below the hero image for each page
    (see example of another website here http://www.marieforleo.com/ the green banner).

    You’ve already showed me how to add the opt in code to a widget, and I’m guessing I create a new widget with the image, but I’m just wondering how I add this new widget to each page, directly under the hero image?

    Thanks in advance

    #24709
    Bill Robbins
    Moderator

    Good Morning,

    I would probably skip the widget if you have say an embed code for the newsletter sign up. We can just add that directly to a theme file which will be less complicated. Here’s how to do that:

    1. Go to the Appearance section in your WordPress dashboard and choose Edit.
    2. From the list of files on your right, choose hero-options.php and scroll down to the bottom.
    3. Just above this spot:
      
      		</div><!-- #hero-section -->
      	
      <?php } ?>
      

      paste in your embed code and save your page.

    That should give you a sign up box just below the hero section on every page that has the hero included.

    Let me know if you have questions,
    Bill

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Adding a widget under hero image (page other than home page)’ is closed to new replies.