Floating Social Media Links
[resolved] Possible to add more Custom URLs? (3 posts)

  1. Dementei
    Posted 3 years ago #

    I am using the bar as a partner/affiliate widget for the side of my website and I was wondering if I could add more custom URLs because I ran out. Let me know, thank you.


  2. Nick Halsey
    Plugin Author

    Posted 3 years ago #

    I'm actually working on a long-term change that will make infinite links possible, but that's a few months out. In the meantime, I think the only good way of doing it would be manually adding them with HTML, and they will still display consistently with the other links.

    To add more links with html, use the following code:
    <a href="[LINK URL]" target="_blank" class="fsml_fflink"><img src="[IMAGE URL]" class="fsml_fflogo" alt="More" title="[LINK TITLE]"/></a>

    You can upload the image through the wordpress media uploader and copy over the url. Paste the code into the main file of floating social media links, using the plugin editor. In that file, scroll all the way to the bottom, and insert the code as indicated here:

    [...]				//buttons if all at the end
    				if (fsml_897_getOption('likelocs') == 'afterall') { echo $fblikecode; echo $twfollowcode; echo $ytsubcode; }
    		</div> [...]

    Please keep in mind that you will need to re-implement these changes after each plugin update, although there should only be one or two updates before support for more links is added, so just keep an eye on the changelog (which will make it very clear when this happens, because there will be a completely new link-adding interface).

    Please let me know if you have any questions!

  3. Dementei
    Posted 3 years ago #

    Hello, thank you very much it works flawlessly. I will be sure to keep tabs on the updates and to save my custom links beforehand, cheers.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Floating Social Media Links
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic