- This topic has 19 replies, 3 voices, and was last updated 3 years, 2 months ago by Derek.
July 31, 2018 at 5:45 pm #637404Derek
So just when we fixed one issue by migrating to Elements, another issue popped up that wasn’t present in legacy, but is in the new elements plugin haha. Sorry…
For some reason my social sharing buttons are appearing in my header 🙂 I’m using the “After Header” Hook location, as I am for the other pages such as /blog or the categories (which is now working).
Thank you!GeneratePress 2.1.3GP Premium 1.6.2July 31, 2018 at 7:26 pm #637439TomLead DeveloperLead DeveloperJuly 31, 2018 at 7:56 pm #637459Derek
It’s this plugin: https://wordpress.org/plugins/simple-share-buttons-adder/August 1, 2018 at 4:24 am #637637DavidStaffCustomer SupportAugust 1, 2018 at 5:39 am #637677Derek
Nope I didn’t change the site, I just migrated all my old hooks to elements: then that bug happened 🙂August 1, 2018 at 5:45 am #637683DavidStaffCustomer SupportAugust 1, 2018 at 5:16 pm #638217Derek
Hi David. Yes, indeed that is the bug. The social icons were not below the header before I migrated from gp hooks to elements. When I migrated from GP hooks to elements, my social icons moved below the header haha I have no idea how that could of happened which is why I’m reporting this bug. Something in the new elements hook plugin changed how that header worked and somehow moved the social icons. Ofcourse I do not want them under the header 😛 It’s funny because migrating my hooks has actually fixed 2 other issues I had, but this is the only bug that happened as a result of the migration from gp hooks to gp elements. Any idea how I can fix this?August 1, 2018 at 5:23 pm #638220DavidStaffCustomer SupportAugust 1, 2018 at 5:25 pm #638223TomLead DeveloperLead DeveloperAugust 1, 2018 at 6:37 pm #638248Derek
The icons are supposed to be below the post content, which they are, but somehow an extra set of icons was placed under the header when I migrated it from gp hooks to gp elements.August 1, 2018 at 7:58 pm #638288TomLead DeveloperLead Developer
Just looked through the code for that plugin. When it’s set to automatically add the icons, it filters them into
What’s strange is that the Page Hero isn’t ran through that filter, so the plugin has no reason to add icons.
I’ll do some testing and will get back to you.
Thanks!August 2, 2018 at 10:18 am #638825TomLead DeveloperLead Developer
So you’re adding a BB element inside a hook after the header, correct?
What happens if you remove the BB element, and add some custom text? Do the icons disappear?
Maybe the BB element is calling
the_content, which is causing the icons to display.August 3, 2018 at 5:41 am #639396Derek
Thank you for looking into this. Yes you are correct.
If I remove the BB shortcode and add custom text the icons do indeed disappear. The thing is though…I’ve been using that header for some time now, well before I upgraded and migrated to elements, and those sharing icons didn’t show up there until after I migrated from the legacy hooks. I thought maybe there was something in the way the new plugin handled these types of shortcodes from bb that caused the issue since it has also fixed some of my problems.
If this can’t be fixed, do you have a recommendation for another lightweight plugin to display sharing buttons below the content? I know you developed a social sharing plugin of some type, because I used to use it on my old website, but I’ve lost it and couldn’t find it via Google.
Thanks!August 3, 2018 at 5:54 am #639406DavidStaffCustomer Support
ill pass this onto Tom.
Regarding Social icons – Tom’s Lightweight Social Icons provides icon links to social networks not Social Shares.
This is a super lightweight social sharing specifically built for GP:August 3, 2018 at 11:09 am #639731TomLead DeveloperLead Developer
It’s possible that the BB module wasn’t loading correctly in the legacy hooks (same issue we had with the styles not loading). Now that it’s in Elements, it’s actually loading correctly.
I really like this plugin for social sharing: https://wordpress.org/plugins/shared-counts/
- You must be logged in to reply to this topic.