Skip to content

Commit

Permalink
Updated socials and plugin checker
Browse files Browse the repository at this point in the history
  • Loading branch information
kmhcreative committed Dec 8, 2024
1 parent 221b422 commit a9f15da
Show file tree
Hide file tree
Showing 149 changed files with 7,519 additions and 325 deletions.
6 changes: 1 addition & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@

functions/error_log
functions/error_log
icon-picker/error_log
options/error_log
.DS_Store
25 changes: 17 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

Automagically adds responsive, customizable mobile UI to (almost) any WordPress theme.

**Version:** 0.2.9
**Version:** 0.3.0

**Requires WordPress Version:** 3.5 or higher, PHP 5+
**Requires WordPress Version:** 4.9 or higher, PHP 7.4+

**Compatible up to:** 6.1.1
**Compatible up to:** 6.7.1

**Beta Version Disclaimer**

Expand Down Expand Up @@ -127,8 +127,6 @@ ZappBar has it’s own Social Media functions to make is easy for people to shar

**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.

**Mastodon ID:** Enter the @username@instance ID associated with your Mastodon account and the Mastodon verification code will be added to your website.

**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.
Expand All @@ -145,7 +143,8 @@ ZappBar has it’s own Social Media functions to make is easy for people to shar
* Reddit
* RSS Feed
* Tumblr
* Twitter
* Threads
* Bluesky

**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:

Expand All @@ -154,7 +153,7 @@ ZappBar has it’s own Social Media functions to make is easy for people to shar
* type=“small” - 16x16 icons as button, spaced far enough apart to be clickable on mobile devices.
* type=“medium” - 24x25 icons as buttons
* type=“large” - 32x32 icons as buttons
* include=“twitter,linkedin…” - comma-separated list limiting which social media sites will be included.
* include=“threads,linkedin…” - comma-separated list limiting which social media sites will be included.
* exclude=“facebook,pinterest…” - comma-separated list of which social media sites to exclude.

### ZappBar Colors
Expand Down Expand Up @@ -216,7 +215,7 @@ This tab section shows you editable previews of what the ZappBars will look like

**Blog Top/Bottom ZappBar:** these bars will ONLY appear on a single blog post, and only if you enabled them under *Top Blog ZappBar* and/or *Bottom Blog 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:
If you are using the ComicPress theme, Comic Easel plugin, Webcomic, or ComicPost 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, the Default ones, or no top/bottom bar.

Expand Down Expand Up @@ -252,6 +251,16 @@ simply be an icon with no dynamic elements.

## Changelog

Version 0.3.0
* Added ComicPost plugin support.
* Removed social media code for X, Twitter, Google+, StumbleUpon, Digg, and Delicious
* Added social media code for sharing on Threads and Bluesky
* Updated/fixed OpenGraph meta
* Added toggle to explicitly include/exclude social meta
* Plugin Update Checker updated to v5.4
* Minimum WP version increased to 4.9
* Minimum PHP version increased to 7.4

Version 0.2.9
* Fixed bug with Mastodon self-verification code which asked for your ID but actually required URL. Now you can enter either.

Expand Down
18 changes: 14 additions & 4 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ Author URI: http://www.kmhcreative.com
Plugin URI: https://github.com/kmhcreative/zappbar
Contributors: OffWorld, Frumph
Tags: Responsive, Mobile, Theme, Modifications
Requires at least: 3.5
Requires PHP: 5.3
Tested up to: 6.1.1
Stable Tag: 0.2.9
Requires at least: 4.9
Requires PHP: 7.4
Tested up to: 6.7.1
Stable Tag: 0.3.0
License: GPLv3
Licence URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -61,6 +61,16 @@ Zappbar buttons are not functional when shown in Theme "Customize" interface bec

== Changelog ==

= Version 0.3.0 =
* Added ComicPost plugin support.
* Removed social media code for X, Twitter, Google+, StumbleUpon, Digg, and Delicious
* Added social media code for sharing on Threads and Bluesky
* Updated/fixed OpenGraph meta
* Added toggle to explicitly include/exclude social meta
* Plugin Update Checker updated to v5.4
* Minimum WP version increased to 4.9
* Minimum PHP version increased to 7.4

= Version 0.2.9 =
* Fixed bug with Mastodon self-verification code which asked for your ID but actually required URL. Now you can enter either.

Expand Down
40 changes: 30 additions & 10 deletions css/social_buttons.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ a.zb-share {
display: block;
padding: 0 5px;
}
a.zb-share.twitter {
background-color:#9AE4E8;
a.zb-share.bluesky {
background-color:#0085ff;
}
a.zb-share.tumblr{
background-color:#001935;
Expand All @@ -27,6 +27,10 @@ a.zb-share {
a.zb-share.facebook {
background-color:#3B5998;
}
/* Threads */
a.zb-share.threads {
background-color:#000000;
}
/*LinkedIn*/
a.zb-share.linkedin {
background-color:#0e76a8;
Expand Down Expand Up @@ -59,8 +63,8 @@ a.zb-share {
}
.zb-sharethis.small a.zb-share span { display: none;}
/* Twitter */
.zb-sharethis.small a.zb-share.twitter {
background-image: url('../includes/images/social_icons/icons_small/twitter.png');
.zb-sharethis.small a.zb-share.bluesky {
background-image: url('../includes/images/social_icons/icons_small/bluesky.png');
}
/* Tumblr */
.zb-sharethis.small a.zb-share.tumblr {
Expand All @@ -74,6 +78,10 @@ a.zb-share {
.zb-sharethis.small a.zb-share.facebook {
background-image: url('../includes/images/social_icons/icons_small/facebook.png');
}
/*Threads*/
.zb-sharethis.small a.zb-share.threads {
background-image: url('../includes/images/social_icons/icons_small/threads.png');
}
/*LinkedIn*/
.zb-sharethis.small a.zb-share.linkedin {
background-image: url('../includes/images/social_icons/icons_small/linkedin.png');
Expand Down Expand Up @@ -105,8 +113,8 @@ a.zb-share {
}
.zb-sharethis.medium a.zb-share span { display: none;}
/* Twitter */
.zb-sharethis.medium a.zb-share.twitter {
background-image: url('../includes/images/social_icons/icons_medium/twitter.png');
.zb-sharethis.medium a.zb-share.bluesky {
background-image: url('../includes/images/social_icons/icons_medium/bluesky.png');
}
/* Tumblr */
.zb-sharethis.medium a.zb-share.tumblr {
Expand All @@ -120,6 +128,10 @@ a.zb-share {
.zb-sharethis.medium a.zb-share.facebook {
background-image: url('../includes/images/social_icons/icons_medium/facebook.png');
}
/*Threads*/
.zb-sharethis.medium a.zb-share.threads {
background-image: url('../includes/images/social_icons/icons_medium/threads.png');
}
/*LinkedIn*/
.zb-sharethis.medium a.zb-share.linkedin {
background-image: url('../includes/images/social_icons/icons_medium/linkedin.png');
Expand Down Expand Up @@ -150,8 +162,8 @@ a.zb-share {
}
.zb-sharethis.large a.zb-share span { display: none;}
/* Twitter */
.zb-sharethis.large a.zb-share.twitter {
background-image: url('../includes/images/social_icons/icons_large/twitter.png');
.zb-sharethis.large a.zb-share.bluesky {
background-image: url('../includes/images/social_icons/icons_large/bluesky.png');
}
/* Tumblr */
.zb-sharethis.large a.zb-share.tumblr {
Expand All @@ -165,6 +177,10 @@ a.zb-share {
.zb-sharethis.large a.zb-share.facebook {
background-image: url('../includes/images/social_icons/icons_large/facebook.png');
}
/*Threads*/
.zb-sharethis.large a.zb-share.threads {
background-image: url('../includes/images/social_icons/icons_large/threads.png');
}
/*LinkedIn*/
.zb-sharethis.large a.zb-share.linkedin {
background-image: url('../includes/images/social_icons/icons_large/linkedin.png');
Expand Down Expand Up @@ -194,8 +210,8 @@ a.zb-share {
line-height: 22px;
}
/* Twitter */
.zb-sharethis.label a.zb-share.twitter {
background-image: url('../includes/images/social_icons/icons_small/twitter.png');
.zb-sharethis.label a.zb-share.bluesky {
background-image: url('../includes/images/social_icons/icons_small/bluesky.png');
}
/* Tumblr */
.zb-sharethis.label a.zb-share.tumblr {
Expand All @@ -209,6 +225,10 @@ a.zb-share {
.zb-sharethis.label a.zb-share.facebook {
background-image: url('../includes/images/social_icons/icons_small/facebook.png');
}
/*Threads*/
.zb-sharethis.label a.zb-share.threads {
background-image: url('../includes/images/social_icons/icons_small/threads.png');
}
/*LinkedIn*/
.zb-sharethis.label a.zb-share.linkedin {
background-image: url('../includes/images/social_icons/icons_small/linkedin.png');
Expand Down
21 changes: 4 additions & 17 deletions css/zappbar_desktops.css
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,8 @@
-ms-border-radius:5px;
}
/*Twitter*/
#zappbar_share_this a.twitter{
background:#3cf url('../includes/images/social_icons/icons_large/twitter.png') 10px center no-repeat;
#zappbar_share_this a.bluesky{
background:#0085ff url('../includes/images/social_icons/icons_large/bluesky.png') 10px center no-repeat;
}
/* Tumblr */
#zappbar_share_this a.tumblr {
Expand All @@ -272,35 +272,22 @@
#zappbar_share_this a.facebook{
background:#3B5998 url('../includes/images/social_icons/icons_large/facebook.png') 10px center no-repeat;
}
/*Google Plus*/
#zappbar_share_this a.google-plus{
background:#D34836 url('../includes/images/social_icons/icons_large/googleplus.png') 10px center no-repeat;
#zappbar_share_this a.threads{
background:#000000 url('../includes/images/social_icons/icons_large/threads.png') 10px center no-repeat;
}
/*LinkedIn*/
#zappbar_share_this a.linkedin{
background:#0e76a8 url('../includes/images/social_icons/icons_large/linkedin.png') 10px center no-repeat;
}
/*StumbleUpon*/
#zappbar_share_this a.stumbleupon{
background:#EF4916 url('../includes/images/social_icons/icons_large/stumbleupon.png') 10px center no-repeat;
}
/*Reddit*/
#zappbar_share_this a.reddit{
color: #333 !important;
background:#CEE3F8 url('../includes/images/social_icons/icons_large/reddit.png') 10px center no-repeat;
}
/*Digg*/
#zappbar_share_this a.digg{
background:#1B5790 url('../includes/images/social_icons/icons_large/digg.png') 10px center no-repeat;
}
/*Pinterest*/
#zappbar_share_this a.pinterest{
background:#C92228 url('../includes/images/social_icons/icons_large/pinterest.png') 10px center no-repeat;
}
/*Delicious*/
#zappbar_share_this a.delicious{
background:#0b79e5 url('../includes/images/social_icons/icons_large/delicious.png') 10px center no-repeat;
}
/*RSS*/
#zappbar_share_this a.rss-feed{
background:#F64C0B url('../includes/images/social_icons/icons_large/rss.png') 10px center no-repeat;
Expand Down
21 changes: 4 additions & 17 deletions css/zappbar_desktops_hd.css
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@
-ms-border-radius:5px;
}
/*Twitter*/
#zappbar_share_this a.twitter{
background:#3cf url('../includes/images/social_icons/icons_large/twitter.png') 10px center no-repeat;
#zappbar_share_this a.bluesky{
background:#0085ff url('../includes/images/social_icons/icons_large/bluesky.png') 10px center no-repeat;
}
/* Tumblr */
#zappbar_share_this a.tumblr {
Expand All @@ -269,35 +269,22 @@
#zappbar_share_this a.facebook{
background:#3B5998 url('../includes/images/social_icons/icons_large/facebook.png') 10px center no-repeat;
}
/*Google Plus*/
#zappbar_share_this a.google-plus{
background:#D34836 url('../includes/images/social_icons/icons_large/googleplus.png') 10px center no-repeat;
#zappbar_share_this a.threads{
background:#000000 url('../includes/images/social_icons/icons_large/threads.png') 10px center no-repeat;
}
/*LinkedIn*/
#zappbar_share_this a.linkedin{
background:#0e76a8 url('../includes/images/social_icons/icons_large/linkedin.png') 10px center no-repeat;
}
/*StumbleUpon*/
#zappbar_share_this a.stumbleupon{
background:#EF4916 url('../includes/images/social_icons/icons_large/stumbleupon.png') 10px center no-repeat;
}
/*Reddit*/
#zappbar_share_this a.reddit{
color: #333 !important;
background:#CEE3F8 url('../includes/images/social_icons/icons_large/reddit.png') 10px center no-repeat;
}
/*Digg*/
#zappbar_share_this a.digg{
background:#1B5790 url('../includes/images/social_icons/icons_large/digg.png') 10px center no-repeat;
}
/*Pinterest*/
#zappbar_share_this a.pinterest{
background:#C92228 url('../includes/images/social_icons/icons_large/pinterest.png') 10px center no-repeat;
}
/*Delicious*/
#zappbar_share_this a.delicious{
background:#0b79e5 url('../includes/images/social_icons/icons_large/delicious.png') 10px center no-repeat;
}
/*RSS*/
#zappbar_share_this a.rss-feed{
background:#F64C0B url('../includes/images/social_icons/icons_large/rss.png') 10px center no-repeat;
Expand Down
21 changes: 4 additions & 17 deletions css/zappbar_idevices.css
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,8 @@
-ms-border-radius:5px;
}
/*Twitter*/
#zappbar_share_this a.twitter{
background:#3cf url('../includes/images/social_icons/icons_large/twitter.png') 10px center no-repeat;
#zappbar_share_this a.bluesky{
background:#0085ff url('../includes/images/social_icons/icons_large/bluesky.png') 10px center no-repeat;
}
/* Tumblr */
#zappbar_share_this a.tumblr {
Expand All @@ -287,35 +287,22 @@
#zappbar_share_this a.facebook{
background:#3B5998 url('../includes/images/social_icons/icons_large/facebook.png') 10px center no-repeat;
}
/*Google Plus*/
#zappbar_share_this a.google-plus{
background:#D34836 url('../includes/images/social_icons/icons_large/googleplus.png') 10px center no-repeat;
#zappbar_share_this a.threads{
background:#000000 url('../includes/images/social_icons/icons_large/threads.png') 10px center no-repeat;
}
/*LinkedIn*/
#zappbar_share_this a.linkedin{
background:#0e76a8 url('../includes/images/social_icons/icons_large/linkedin.png') 10px center no-repeat;
}
/*StumbleUpon*/
#zappbar_share_this a.stumbleupon{
background:#EF4916 url('../includes/images/social_icons/icons_large/stumbleupon.png') 10px center no-repeat;
}
/*Reddit*/
#zappbar_share_this a.reddit{
color: #333 !important;
background:#CEE3F8 url('../includes/images/social_icons/icons_large/reddit.png') 10px center no-repeat;
}
/*Digg*/
#zappbar_share_this a.digg{
background:#1B5790 url('../includes/images/social_icons/icons_large/digg.png') 10px center no-repeat;
}
/*Pinterest*/
#zappbar_share_this a.pinterest{
background:#C92228 url('../includes/images/social_icons/icons_large/pinterest.png') 10px center no-repeat;
}
/*Delicious*/
#zappbar_share_this a.delicious{
background:#0b79e5 url('../includes/images/social_icons/icons_large/delicious.png') 10px center no-repeat;
}
/*RSS*/
#zappbar_share_this a.rss-feed{
background:#F64C0B url('../includes/images/social_icons/icons_large/rss.png') 10px center no-repeat;
Expand Down
Loading

0 comments on commit a9f15da

Please sign in to comment.