Docs

Install

  • Download zip file
  • In your WordPress dashboard, go to Plugins and Add New
  • Upload zip file
  • Activate

Configure

Open the Customizer Panel (accessible from the Admin Dashboard under Appearance -> Customize OR from the Customizer link in the admin bar at the top of the site), then click on Book+Main.

  • Profile Settings
    • Add your Book+Main username
  • Style Options
    • Set your design preferences. These apply to both the shortcode and to the floating icon. (Typography preferences only apply to the shortcode)
  • Display Options
    • Choose whether you’d like the floating icon to display everywhere, on home only, or disable the floating icon entirely.
    • Choose the position the icon will have on desktop browser windows
    • Choose the position the icon will have on smaller screens

Shortcode Use

To display the Book+Main Bites link in a page, post, or (if your theme allows) a widget, use the shortcode [bites_link].

Shortcode Parameters:

  • username : by default, the username you specified in the customizer will be used, but if you’d like to link to another profile, you can add it to the shortcode parameters.
  • text : default text is “follow me on book+main bites”. To change this, add a “text” parameter to your shortcode.
  • align : by default, the shortcode link will be centered. Just like WordPress images, though, you may also set this parameter to “left”, “right”, or “none”.
  • class : should you need to add an additional css class to the shortcode, you can add a class (or space-separated classes) to this parameter.

Using the Shortcode in Template Files:

if( shortcode_exists('bites_link' ) ) {
   echo do_shortcode('[bites_link'] );
   }

Shortcode Examples

[bites_link username="janefonda"]
[bites_link text="come hang out with me at book+main!"]
[bites_link class="class1 class2"]
[bites_link align="left"]

Updates

Periodically, you may see update notifications. It is always a best practice to make sure you keep your plugins up to date.

Support & Questions

Questions? Contact Me Here - I’ll do my best to help, if I can. In your message, please include a link to your website, and try to be as specific as possible about the issue you are experiencing.

License: GPL-2.0+

Bites4WP © 2018 Memphis McKay

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

GNU General Public License is available online, here

Important Notes

Please note that while I hope this plugin will be useful to you, I cannot guarantee this plugin will always be error free, will work with all themes, will work on all devices, or that it will never burn your toast or curse in front of your children, though I've tried to teach it better manners than that.