| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Automagically adds responsive, customizable mobile UI to (almost) any WordPress theme.
Version: 0.2
Requires WordPress Version: 3.5 or higher, PHP 5+
Compatible up to: 4.3
Alpha Version Disclaimer
This plugin is still being tested is incomplete! Do not use it in production unless you can live without the things it is missing and are willing to accept the possibility that it could screw up your website. Things left on To-Do list:
I got tired of making the same responsive layout modifications to different WordPress themes over and over again and I wanted an easy way to create and modify a custom interface for mobile devices. So I rolled all the stuff I was doing manually into a single plugin! ZappBar adds highly configurable mobile app style button bars to the top and bottom of any WordPress theme. You can decide at what screen/browser widths they activate (so you can show them only for phones or tablets without altering your site for desktop users). This plugin can also try to convert non-responsive themes to responsive layouts that auto-adjust for mobile devices and it can try to fix some mobile layout issues that bugged me about the WordPress admin backend too.
Theme Layout:
The latter two options will try to adjust a non-responsive theme so that it behaves like a responsive layout (auto-adjusting to different screen sizes). This works best when the theme is using standard class names and IDs for the theme parts, though you can try using “Custom Settings” (see below) to tell ZappBar how to find those elements.
Theme Sidebars: Themes often have sidebars in them. On narrow screen devices these can be a problem if the theme isn’t responsive. If you told ZappBar to “Make theme responsive” now tell it what it should do with any sidebar containers it finds:
Admin Mobile Layout: In my opinion the default, back-end Admin area layout on mobile devices like tablets and phones looks awful. ZappBar can also try to tweak the back-end layout so it looks and works better (WordPress 3.8.1 or later only).
WP Admin Bar: check this box to disable the Admin Toolbar on the FRONT end of the website (this would be the bar across the top of a website when you are logged into it).
ZappBars On Screen Size: This is where you decide what size of screens will use the ZappBar user interface and which sizes won’t
Apply ZappBars On: This is where you decide what DEVICES of the screen size(s) you set above will have ZappBars applied to them:
“Mobile Only” uses device detection, which can be spoofed. “Force” ignores screen size selection.
When ZappBars are Included: additional, optional, modifications to the theme layout:
App Icon Image: An optional icon or logo image that would be used as the favicon and/or the icon when bookmarked to the home screen of a mobile device (on devices that support it).
Splash Image: If you want your site to look even more like an app on mobile devices you can add an image to use as the “Splash” when visitors come to your site on phones or tablets. Whatever image you select is shown, centered and scaled, against whatever background color you’ve set for panel backgrounds. This only displays ONCE at the start of a new user session (or it would be pretty annoying).
Splash Image Fit: If you included a splash image this adjusts how the image is scaled on that splash screen:
Splash Timer: select the amount of time to display the Splash screen (users can always clear it sooner by clicking on it).
Splash Link: If you are using the Splash screen to show an advertisement you can enter a URL target for the ad here.
CUSTOM SETTINGS
If you are using a theme that doesn’t use the typical class names or IDs for the parts of the layout you’ll need to tell ZappBar what they are:
ZappBar has it’s own Social Media functions to make is easy for people to share your site on their social media feeds. However, if you are already using another plugin on your site that adds social/sharing meta tags (such as Yoast SEO) that meta may be injected before ZappBar’s in which case it will be read first by the social media site(s).
Default Facebook Image: If a post has no “Featured Image” this is the image that will be displayed as the thumbnail when somebody shares the link on Facebook (if left blank ZappBar will not inject any Facebook <meta> tags).
Twitter ID: Enter the @ Twitter ID associated with your blog (if any). If you leave this blank then no Twitter <meta> tags will be injected.
Phone Number: If you intend to link a ZappBar button to the “Phone” action this is the phone number that will be inserted into the on-screen notice box.
E-Mail Address: If you link a ZappBar button to “E-Mail Contact” this is the e-mail address to which the message will be sent. If you want people to e-mail the site administrator set your button action to “E-mail Admin” and it will use the address on your blog’s Settings > General page.
Social Media Panel: Enable/Disable buttons for various social media websites:
Social Shortcode: you can invoke this same list of social media links anywhere on your site, even when ZappBars are not being shown, by using the shortcode [zb-share] which accepts the following parameters:
You can use either an external stylesheet (and then give the FULL URL to it) or you can set individual item colors from within the plugin.
(the color options in the plugin are pretty self-explanatory, so they won’t be covered in this README)
If you set a Custom Stylesheet on the ZappBar Colors tab everything on this tab will be ignored. Otherwise you can define how the ZappBar styles will look and work here.
Menu Panel: The “Menu” Panel is the replacement mobile-style navigation menu for your site when ZappBars are being displayed. These settings determine how the menu items in that panel will be shown:
Sidebar Panels: If you do not plan to link buttons to open/close the sidebar panels users will need some way to open/close them. If this setting is enabled it will overlay your site, left and right, with two tabs which can be used to open/close the left/right panels.
Use Bar Styles for Panels: Automatically uses the ZappBar Colors settings for the Panels too (which saves you having to repeat it all if you want them to look the same). If checked all the visual settings below this in the tab section are ignored.
(the color and style options for the panels are also fairly self-explanatory so they won’t be covered in this README)
This tab section shows you editable previews of what the ZappBars will look like on the front-end of your website.
Button Layout: Determines the position of the five buttons on the ZappBars:
ZappBar Search Box: Normally the ZappBar “Search” field has a “Submit” button after it. If you want a cleaner look you can hide the “Submit” button and have it automatically submit on hitting Enter/Return.
Logo Icon: (optional) Select an image to be your logo icon and then set one of the buttons to “logo” to display it (the image will be scaled to fit on the button).
Default Top/Bottom ZappBar: Shows a preview of the default top bar. Click on a button to change the icon and text. Click on the “Show Button Actions” below it to “wire” a button to an action in the drop-down lists.
Top/Bottom Archive ZappBar: Determines whether the Default top/bottom bar is used on Archive pages or the custom “Archive Top/Bottom ZappBar” will be used instead.
Archive Top/Bottom ZappBar: these bars will ONLY appear on an Archive page on your blog, and only if you enabled them under Top Archive ZappBar and/or Bottom Archive ZappBar
If you are using the ComicPress theme, Comic Easel plugin, or Webcomic plugin more bar options are displayed for the custom comic post pages:
Top/Bottom Comic ZappBar: Choose whether to use the custom “comic” bars on comics pages or the Default ones.
Comic Top/Bottom ZappBar: optional bars you can have displayed only on comic post pages (if you are using one of the aforementioned comic themes/plugins).
If you are using the WooCommerce plugin you will also see options for custom e-commerce ZappBars:
Top/Bottom WooCommerce ZappBar: set whether to use custom or default bars on WooCommerce store-related pages.
WooCommerce Top/Bottom Bar: optional bars and buttons you can link to WooCommerce functions.
WooCommerce Site: tell ZappBar to further alter you e-commerce pages:
Version 0.2
Version 0.1
Initial public release.
This uses my Icon Picker (which is based on Dashicons Picker by Brad Vincent) to get/set the icons on the ZappBars.
| Back | FazBrowse Home | New Git URL |