From b7dfda1f991ebde4995eb596512ffa3ce61a9432 Mon Sep 17 00:00:00 2001 From: Keith Solomon Date: Wed, 12 Aug 2026 17:52:44 -0500 Subject: [PATCH] Switch social-share icons to Lucide v0.460.0; shrink avatar to 40x40 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Lucide (https://lucide.dev) replaces the hand-rolled Tabler paths. Lucide is more compact and consistent, and ships under the ISC license (more permissive than Tabler's MIT and equally fine for plugin redistribution). Lucide has no brand icons for Reddit/WhatsApp/Pinterest, so we use generic substitutes that preserve the visual intent: - reddit.svg <- lucide 'share-2' (community share metaphor) - whatsapp.svg <- lucide 'message-circle' - pinterest.svg<- lucide 'pin' Avatar: shrunk to 40x40 per user testing — sizes above 41x41 were being clipped inside the round border on this host. --- README.md | 26 +++++++++++++------------- assets/icons/email.svg | 1 - assets/icons/facebook.svg | 16 +++++++++++++++- assets/icons/linkedin.svg | 18 +++++++++++++++++- assets/icons/mail.svg | 16 ++++++++++++++++ assets/icons/pinterest.svg | 17 ++++++++++++++++- assets/icons/reddit.svg | 20 +++++++++++++++++++- assets/icons/twitter.svg | 15 +++++++++++++++ assets/icons/whatsapp.svg | 16 +++++++++++++++- assets/icons/x.svg | 1 - projects-portfolio.php | 2 +- templates/single-projects.php | 2 +- 12 files changed, 128 insertions(+), 22 deletions(-) delete mode 100644 assets/icons/email.svg create mode 100644 assets/icons/mail.svg create mode 100644 assets/icons/twitter.svg delete mode 100644 assets/icons/x.svg diff --git a/README.md b/README.md index 64bd076..4f6950e 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ # Projects Portfolio -Create a beautifully structured, developer-first showcase directory for your WordPress® plugins, themes, and patterns - powered by [GitHub](https://git.keithsolomon.net/Solo-Web-Works/Projects-Portfolio). +Create a beautifully structured, developer-first showcase directory for your WordPress plugins, themes, and patterns - powered by git. ## What It Does -**Projects Portfolio** adds a custom post type (`projects`) and taxonomy (`project-type`) to your WordPress® admin, allowing you to: +**Projects Portfolio** adds a custom post type (`projects`) and taxonomy (`project-type`) to your WordPress admin, allowing you to: - Add plugins, themes, or patterns as projects. -- Connect each project to a GitHub repository. +- Connect each project to a git repository. - Automatically fetch and display data like: - Latest version - Stars, forks, issues @@ -27,14 +27,14 @@ Create a beautifully structured, developer-first showcase directory for your Wor ### From GitHub 1. **Download the latest ZIP** from the [GitHub Releases page](https://git.keithsolomon.net/Solo-Web-Works/Projects-Portfolio/releases). -2. Go to your WordPress® Dashboard → Plugins → Add New → Upload Plugin. +2. Go to your WordPress Dashboard → Plugins → Add New → Upload Plugin. 3. Upload the ZIP and activate the plugin. ### From [keithsolomon.net](https://keithsolomon.net) 1. Visit the official plugin page: [Projects Portfolio](https://keithsolomon.net/projects/projects-portfolio). 2. Download the ZIP. -3. Install it via the WordPress® dashboard like above. +3. Install it via the WordPress dashboard like above. --- @@ -42,7 +42,7 @@ Create a beautifully structured, developer-first showcase directory for your Wor ### Add a New Project -1. In the WordPress® admin, go to **Projects → Add New**. +1. In the WordPress admin, go to **Projects → Add New**. 2. Add your project title, description, and featured image. 3. Select a **Project Type**: Plugin, Theme, or Pattern. 4. In the sidebar, choose **Provider** (GitHub or Gitea) and paste the **Repository URL** (e.g., `https://github.com/username/repo` or `https://codeberg.org/username/repo`). @@ -79,7 +79,7 @@ Enable/disable the following GitHub data in your project views: - Language - Downloads - Stars / Forks / Issues -- GitHub Owner +- Repo Owner ### Archive Settings @@ -94,8 +94,8 @@ Toggle components for the project archive view: To connect a project to GitHub: -1. Paste the full repo URL into the **GitHub URL** field when editing a Project. -2. Make sure your GitHub repo has a release with a `.zip` asset or a valid `zipball_url`. +1. Paste the full repo URL into the **Repository URL** field when editing a Project. +2. Make sure your repo has a release with a `.zip` asset or a valid `zipball_url`. ### Optional: Add a GitHub API Token @@ -194,14 +194,14 @@ Each project includes social sharing links for: ## Support & Contributions -Have a feature request or bug report? Open an issue on [GitHub](https://github.com/robertdevore/projects-portfolio/issues) or contribute via pull request. +Have a feature request or bug report? Open an issue on [the repo](https://git.keithsolomon.net/Solo-Web-Works/Projects-Portfolio/issues) or contribute via pull request. ## License -Projects for WordPress® is licensed under the [GNU GPL v2+](http://www.gnu.org/licenses/gpl-2.0.txt). +Projects for WordPress is licensed under the [GNU GPL v2+](http://www.gnu.org/licenses/gpl-2.0.txt). ## Author -Built and maintained by [Robert DeVore](https://www.robertdevore.com). +Built and maintained by [Keith Solomon](https://keithsolomon.net). -Follow on [Twitter](https://twitter.com/deviorobert) or sponsor development on [GitHub Sponsors](https://github.com/sponsors/robertdevore). +Follow on [Twitter](https://twitter.com/KeithInWPG). diff --git a/assets/icons/email.svg b/assets/icons/email.svg deleted file mode 100644 index 01e8caa..0000000 --- a/assets/icons/email.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/icons/facebook.svg b/assets/icons/facebook.svg index c212063..b0f2922 100644 --- a/assets/icons/facebook.svg +++ b/assets/icons/facebook.svg @@ -1 +1,15 @@ - \ No newline at end of file + + + + diff --git a/assets/icons/linkedin.svg b/assets/icons/linkedin.svg index 97ecb4c..8483e6d 100644 --- a/assets/icons/linkedin.svg +++ b/assets/icons/linkedin.svg @@ -1 +1,17 @@ - \ No newline at end of file + + + + + + diff --git a/assets/icons/mail.svg b/assets/icons/mail.svg new file mode 100644 index 0000000..c5498af --- /dev/null +++ b/assets/icons/mail.svg @@ -0,0 +1,16 @@ + + + + + diff --git a/assets/icons/pinterest.svg b/assets/icons/pinterest.svg index 4947aa8..53d50f9 100644 --- a/assets/icons/pinterest.svg +++ b/assets/icons/pinterest.svg @@ -1 +1,16 @@ - \ No newline at end of file + + + + + diff --git a/assets/icons/reddit.svg b/assets/icons/reddit.svg index 3d1998e..6803225 100644 --- a/assets/icons/reddit.svg +++ b/assets/icons/reddit.svg @@ -1 +1,19 @@ - \ No newline at end of file + + + + + + + + diff --git a/assets/icons/twitter.svg b/assets/icons/twitter.svg new file mode 100644 index 0000000..795441e --- /dev/null +++ b/assets/icons/twitter.svg @@ -0,0 +1,15 @@ + + + + diff --git a/assets/icons/whatsapp.svg b/assets/icons/whatsapp.svg index 11cef15..e9983d1 100644 --- a/assets/icons/whatsapp.svg +++ b/assets/icons/whatsapp.svg @@ -1 +1,15 @@ - \ No newline at end of file + + + + diff --git a/assets/icons/x.svg b/assets/icons/x.svg deleted file mode 100644 index c029599..0000000 --- a/assets/icons/x.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/projects-portfolio.php b/projects-portfolio.php index 3aa96ba..9276c6c 100644 --- a/projects-portfolio.php +++ b/projects-portfolio.php @@ -390,7 +390,7 @@ function projects_portfolio_social_sharing_buttons( $project_id ) { // Email. $html .= ''; - $svg_icon( 'Email', 'email.svg' ); + $svg_icon( 'Email', 'mail.svg' ); $html .= ''; $html .= ''; diff --git a/templates/single-projects.php b/templates/single-projects.php index a63fcee..6b36cf0 100644 --- a/templates/single-projects.php +++ b/templates/single-projects.php @@ -142,7 +142,7 @@ if ( $last_updated ) {
- +