Archived topic
Adding Social Media Icons
3 replies · Started by Ritesh on October 13, 2020
Hi
I am looking for an option to add social Media Icon inline of Menu and Logo
Like = Logo + Menu Items + Social Icon
Let me know any option available
Ritesh
Hi there,
you can use either the Hook Element to add your own icon/code:
https://docs.generatepress.com/article/hooks-element-overview/
or the Block Elementor if you want to add it using the Gutenberg Editor:
https://docs.generatepress.com/article/block-element-overview/
For either option you can use the: generate_menu_bar_items
This will position it aside the the Menu on Desktop and Mobile.
I didn't get it. Can you please show me an example that how its possible to add social media in header without writing hook
Install the GenerateBlocks plugin.
https://wordpress.org/plugins/generateblocks/
Then create a new Block element.
Add a Buttons Block. You can add a row of buttons, and an icon to each.
Then select the generate_menu_bar_items hook
And set the Display Rules to Entire site.