Social button

Posted in: ionMag
Post count: 8

How to add a custom code to the share section under the post?

Simion C.
Post count: 153

Hi,

You could edit the post template file. Either loop-single or loop-single-1, depending on the post template you are using. There you can see the post structure and insert the custom code below the post bottom sharing. Like in this example
https://www.screencast.com/t/xpM3iHDLgQ6
https://www.screencast.com/t/EFySFK9z4

Thanks

Post count: 8

Thank you. But I want to replace the twitter button with my own.

Simion C.
Post count: 153

Hi,

The theme post sharing is found in this file
http://prntscr.com/g3vwm9
There is a top sharing section and a bottom sharing in the same file. Make the modifications you want there.

Thanks

Post count: 8

Thank you, that’s what I was looking for, but my custom button doesn’t appear anyway (even if I just copy-paste existing row of code (facebook for example)) 🙁

Simion C.
Post count: 153

Hi,

That depends on the implementation required for the social button you are trying to insert. If you want to add a different social please check for solutions online. Like this for example for Twitter
http://www.wpbeginner.com/wp-tutorials/how-to-add-the-official-twitter-follow-button-in-wordpress/
It could be easier to maybe install a plugin that has the option to display more social icons, if you need this.

Thanks

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