[Resolved] add widget area under primary menu

Home Forums Support [Resolved] add widget area under primary menu

Home Forums Support add widget area under primary menu

  • This topic has 5 replies, 2 voices, and was last updated 4 years ago by Leo.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1239875
    Nadine

    Hi, I am brand new to GeneratePress, but really liking it so far. I want to put my social icons under the primary navigation bar. I have the Lightweight Social Icons installed. How do I add a widget area under the menu in the header?

    Working on site locally, so no url to send.

    Thanks!

    #1240371
    Leo
    Staff
    Customer Support

    Hi there,

    The easiest way would be to use a plugin like Widget shortcode:
    https://en-ca.wordpress.org/plugins/widget-shortcode/

    Then insert the shortcode using a hook with hooks element:
    https://docs.generatepress.com/article/hooks-element-overview/
    https://docs.generatepress.com/article/hooks-visual-guide/

    Let me know if this helps 🙂

    #1240379
    Nadine

    Thanks Leo. I really hate to add a plugin just for this. Can I add any of the theme templates to my child theme and add anything that way? Any other options?

    #1240392
    Leo
    Staff
    Customer Support

    Should be a very small plugin with minimal impact on your site.

    You can try to find another social icon plugin that comes with a shortcode already or just use SVG icons.

    #1240395
    Nadine

    So there’s no way to edit the header template to add in a widget area and not use a shortcode?

    #1240470
    Leo
    Staff
    Customer Support

    Editing the header template and registering a new widget area would be a lot more complicated than the solutions provided above.

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