Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 955e443274 | |||
| 1fb4085d64 |
Binary file not shown.
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 23 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 23 KiB |
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Plugin Name: Beep
|
||||
* Description: A Twitter-style microblog for WordPress, with likes, replies, and Gravatars. Use the [beep_feed] shortcode on any page.
|
||||
* Version: 1.7.2
|
||||
* Version: 1.7.4
|
||||
* Requires at least: 6.0
|
||||
* Requires PHP: 7.4
|
||||
* Author: Sami Ahmed
|
||||
@@ -14,7 +14,7 @@ if (!defined('ABSPATH')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
define('BEEP_VERSION', '1.7.2');
|
||||
define('BEEP_VERSION', '1.7.4');
|
||||
define('BEEP_FILE', __FILE__);
|
||||
define('BEEP_DIR', plugin_dir_path(__FILE__));
|
||||
define('BEEP_URL', plugin_dir_url(__FILE__));
|
||||
|
||||
@@ -99,7 +99,7 @@ class Beep_Shortcode {
|
||||
<div class="beep-feed" data-beep-feed>
|
||||
<div class="beep-embed">
|
||||
<div class="beep-feed-header">
|
||||
<div style="display:flex;align-items:center;justify-content:center;gap:8px;"><strong style="color:#FFFFFF;">Messages from </strong><img src="https://sami-ahmed.net/wp-content/plugins/beep/assets/beep-wordmark.png" alt="Beep!" style="height:22px;width:auto;vertical-align:middle;"></div>
|
||||
<div style="display:flex;align-items:center;justify-content:center;gap:8px;"><strong style="color:#FFFFFF;">Messages from </strong><img src="<?php echo esc_url( BEEP_URL . 'assets/beep-wordmark.png?v=' . BEEP_VERSION ); ?>" alt="Beep!" style="height:30px;width:auto;vertical-align:middle;"></div>
|
||||
</div>
|
||||
|
||||
<?php if ($has_posts) : ?>
|
||||
|
||||
@@ -59,9 +59,9 @@ function beep_logo_svg() {
|
||||
*
|
||||
* Rendered as a crisp inline SVG recreation of the 3D extruded brand logo —
|
||||
* a blue-violet face with a darker-blue depth and navy outline. Stays sharp at
|
||||
* any size and ships as ~1KB of markup (no image request). The bundled
|
||||
* beep-wordmark.png assets are corrupted, which is why we draw it as vector.
|
||||
* To swap in a real image once you have a clean asset, hook the filter:
|
||||
* any size and ships as ~1KB of markup (no image request). The matching raster
|
||||
* version lives at assets/beep-wordmark.png (used in the feed header).
|
||||
* To swap in the PNG here instead, hook the filter:
|
||||
* add_filter('beep_post_wordmark', fn() => '<img class="beep-post-wordmark" src="...">');
|
||||
*/
|
||||
function beep_post_wordmark() {
|
||||
@@ -74,7 +74,7 @@ function beep_post_wordmark() {
|
||||
$extrude .= '<text x="' . $x . '" y="' . $y . '" fill="#2A2AAE">Beep!</text>';
|
||||
}
|
||||
|
||||
$svg = '<svg class="beep-post-wordmark" viewBox="0 0 168 68"'
|
||||
$svg = '<svg class="beep-post-wordmark" viewBox="0 0 168 72"'
|
||||
. ' role="img" aria-label="Beep!" xmlns="http://www.w3.org/2000/svg">'
|
||||
. '<g font-family=""Arial Black","Arial Bold",Arial,Helvetica,sans-serif"'
|
||||
. ' font-weight="900" font-size="52" letter-spacing="-1">'
|
||||
|
||||
+9
-1
@@ -4,7 +4,7 @@ Tags: microblog, twitter, tweets, social, comments, polls, elementor
|
||||
Requires at least: 6.0
|
||||
Tested up to: 6.9
|
||||
Requires PHP: 7.4
|
||||
Stable tag: 1.7.2
|
||||
Stable tag: 1.7.4
|
||||
License: GPLv2 or later
|
||||
|
||||
A Twitter-style microblog for WordPress. Posts, likes, replies, polls, quotes, GIFs, and Gravatars. Use [beep_feed] shortcode or Elementor widget.
|
||||
@@ -40,6 +40,14 @@ Features:
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 1.7.4 =
|
||||
* Feed-header wordmark now loads from the plugin's own URL (was hardcoded to sami-ahmed.net) with a version-based cache-buster, so the clean logo shows immediately instead of a stale/corrupted cached image.
|
||||
* Made the header wordmark a bit larger (30px).
|
||||
|
||||
= 1.7.3 =
|
||||
* Replaced the corrupted beep-wordmark.png assets with a clean, transparent render of the 3D "Beep!" logo (fixes the feed-header wordmark image).
|
||||
* Gave the inline-SVG wordmark extra descender room so the "p" never clips.
|
||||
|
||||
= 1.7.2 =
|
||||
* Beep wordmark on every beep + reply is now the 3D extruded brand logo (blue-violet face, navy outline, blue depth) instead of flat text, drawn as a sharp ~1KB inline SVG.
|
||||
* Bumped the wordmark size and opacity so the logo reads clearly on the dark theme.
|
||||
|
||||
Reference in New Issue
Block a user