Description
Horoscope – Astrology Widget puts a clean, fast daily horoscope on your site. Visitors pick a zodiac sign and read today’s teaser; every sign has love, career, money and luck scores and a short profile.
- Two ready-made designs (Signature and Aurora), light or dark, responsive from a narrow sidebar to a full page.
- Configurator with live preview: colors, typography, cards, number of columns, which parts to show, desktop / tablet / sidebar / mobile preview.
- Shortcode and block:
[zodiacsign_horoscope config="cfg_xxxxxxxx"]or the “Horoscope – Astrology Widget” block. - English and Romanian texts; the language can be set per insertion.
- Fast: the widget is drawn in a Shadow DOM so your theme cannot break it, loads when it scrolls into view, remembers the last answer and needs one small request.
- Accessible: keyboard operation, screen reader labels, visible focus, reduced-motion friendly, colors checked for contrast.
- Free: every feature of this plugin is included. There is no license key, no trial and nothing is locked.
The horoscope texts are written and published daily by ZodiacSign.ro. The plugin shows them through the ZodiacSign.ro service (see “External services” below). A link “Horoscope provided by ZodiacSign.ro” is available but off by default; you choose whether to show it.
Nothing happens until you agree
After activation the plugin does not contact any server and shows nothing on your public pages. In the plugin dashboard you read what is sent and press “I agree, connect”. You can disconnect at any time from the Help tab.
External services
This plugin connects to the ZodiacSign.ro service (www.zodiacsign.ro), operated by the plugin author, to obtain the daily horoscope texts and to register your site so that the service can answer the widget. The connection starts only after the site owner clicks “I agree, connect” in the plugin dashboard.
1. Registration of your site (server to server, from your WordPress site)
* When: when you save a widget design (and once an hour, only to repeat a registration that failed).
* Data sent: your site’s domain name (for example example.com), the widget design settings (colors, layout, language), the plugin edition identifier and the version numbers of this plugin, of the optional Midnight Pro add-on (if installed) and of WordPress. No personal data of your users or of you is sent.
* Returned: an installation code that ties the design to your domain.
2. Horoscope texts (from your visitors’ browsers)
* When: when a visitor opens a page that contains the widget.
* Data sent: the browser requests the horoscope of the chosen sign from ZodiacSign.ro, together with the installation code and the address of the page. As with any web request, the ZodiacSign.ro server receives the visitor’s IP address and browser details in its normal access logs. The widget sets no cookies and does not track visitors; it keeps the last answer in the visitor’s own browser storage (localStorage) to load faster.
3. Design preview in the plugin dashboard (only in the dashboard, only after you agreed)
* When: when you open the designs gallery in the plugin dashboard and the optional Midnight Pro add-on is not installed.
* What: the dashboard shows a live preview of the “Midnight” design in a frame (iframe) loaded from zodiacsign.ro. Nothing from your site or about you is sent besides the normal web request (your IP address and browser details reach the ZodiacSign.ro server like for any page). The frame is not shown on your public pages. The design itself is not part of this plugin.
Service provider: ZodiacSign.ro. Privacy policy. Terms of use.
Development
The complete, human-readable source for the JavaScript assets is included in this plugin under assets/src/. The distributable files assets/zs-widget.js and assets/zs-configurator.js are built from it with the short script below (Python 3). assets/admin.js and assets/block.js are maintained directly and their readable copies are also in assets/src/.
To rebuild, save the script as build-assets.py in the plugin’s root folder (next to readme.txt) and run python build-assets.py:
#!/usr/bin/env python3
"""Build distributable JavaScript from the readable sources bundled with the plugin."""
from pathlib import Path
import re
ROOT = Path(__file__).resolve().parent
ASSETS = ROOT / "assets"
SOURCE = ASSETS / "src"
def ascii_safe(source):
def replace(match):
codepoint = ord(match.group(0))
if codepoint <= 0xFFFF:
return f"\\u{codepoint:04x}"
codepoint -= 0x10000
return f"\\u{0xD800 + (codepoint >> 10):04x}\\u{0xDC00 + (codepoint & 0x3FF):04x}"
return re.sub(r"[^\x00-\x7f]", replace, source)
def build(target, sources):
readable = "".join((SOURCE / filename).read_text(encoding="utf-8") for filename in sources)
(ASSETS / target).write_text(ascii_safe(readable), encoding="ascii", newline="\n")
print(f"built {target}")
build("zs-widget.js", ["zs-widget.part1.js", "zs-widget.part2.js", "zs-widget.part3.js"])
build("zs-configurator.js", ["zs-configurator.js"])
The script writes ASCII-safe versions of the two files (non-ASCII characters become \uXXXX escapes).
Screenshots




Blocks
This plugin provides 1 block.
- Horoscope – Astrology Widget
Installation
- Upload the plugin to
/wp-content/plugins/, or install it from the Plugins screen, and activate it. - Open Horoscope – Astrology Widget in the admin menu, read the notice and press I agree, connect.
- Pick a design, adjust it in the editor and press Save configuration.
- Copy the shortcode from the Configurations tab into a page, a post or a sidebar widget (Shortcode or Text block), or use the Horoscope – Astrology Widget block.
FAQ
-
Is it free?
-
Yes. All features are free and there is no license key or limit built into the plugin.
-
Yes. The widget adapts to the width of the place it is in. Use the “Sidebar” preview in the editor to check a narrow column. In a classic widget area add a Text or Shortcode widget with the shortcode; in block themes add a Shortcode block to the sidebar template part.
-
Does it show a link to your website?
-
Only if you choose it. The credit link “Horoscope provided by ZodiacSign.ro” is off by default. After you save your first design the plugin asks you once, with a Yes / No choice, whether you want to show it; nothing changes until you answer, and you can change it at any time in the editor (Links & Branding).
-
What data leaves my site?
-
See “External services” above. Nothing is sent before you agree in the dashboard.
-
Can I use another language?
-
The widget texts are available in English and Romanian; choose the language in the editor or with
lang="en"/lang="ro"in the shortcode. -
The widget says the content is not available
-
The horoscope of the day is published by ZodiacSign.ro; if it is not published yet the widget shows a message instead of old content. If your site cannot reach www.zodiacsign.ro, ask your host to allow outgoing HTTPS requests.
-
Is there another design?
-
A dark design called Midnight is available as a separate, optional add-on (“Midnight Pro”) from zodiacsign.ro/plugin-wordpress. It is a different plugin, not part of this one, and it requires the “Horoscope provided by ZodiacSign.ro” link to stay on the page. Nothing in this plugin is locked or depends on it.
-
How do I remove everything?
-
Disconnect from the Help tab, deactivate and delete the plugin. Saved designs and options are removed on deletion.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Horoscope – Astrology Widget” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Horoscope – Astrology Widget” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
2.3.2
- The plugin is now called “Horoscope – Astrology Widget” (the plugin address and text domain do not change).
- The Midnight design is no longer part of this plugin; it is available as a separate optional add-on from zodiacsign.ro. Saved configurations that used it switch to Signature.
- Add-on support: filters for extra designs, a renderer and configurator replacement and the edition; a small “Go Pro” link in the menu and a card in the designs gallery that only point to the add-on page.
- The widget no longer keeps a stale “being prepared” answer in the browser cache, so all twelve signs load reliably.
- The registration now also sends version numbers (this plugin, the Midnight Pro add-on if installed, WordPress); this is described in the consent text and under “External services”.
- The Midnight card in the designs gallery now shows a live preview from zodiacsign.ro (a frame in the dashboard, listed under “External services”), with a static picture as fallback, says clearly that it is a separate add-on; only its button leads to the add-on page on zodiacsign.ro. Admin files are versioned by file time so an update is never served from the browser cache.
- New icon and banner for the plugin page.
2.3.1
- Security hardening: the editor’s configuration is now validated against the full configuration schema (allowed keys, types, ranges and values) before it is stored or sent to ZodiacSign.ro, and the posted data is sanitized on input.
- The build script is documented in this readme instead of being shipped as a file.
2.3.0
- Renamed to “myt007 Horoscope Widget” (new plugin name and slug). No functional changes.
2.2.2
- Removes the extra BUILD.md file from the plugin root (build instructions are in this readme).
- Comment fix: the credit link is optional.
2.2.1
- Adds the readable JavaScript source files and build instructions to the distributed plugin package.
- Removes bundled Romanian translation binaries; WordPress.org translations are used after publication.
- Corrects the WordPress.org contributor entry.
2.2.0
- Opt-in connection: nothing is sent and nothing is shown until the site owner agrees in the dashboard.
- The “Horoscope provided by ZodiacSign.ro” link is now optional and off by default; the widget is never paused for lacking it. A one-time question (Yes / No) invites you to show it; nothing is switched on before you answer.
- New “External services” and privacy information, Disconnect button.
- Faster first load (one request), instant return visits, shaped loading placeholder.
- Readable colors checked against WCAG AA; configurator isolated from theme styles; Sidebar preview.
- Date labels always in the language of the widget.
2.1.0
- Redesigned dashboard, open design gallery, speed improvements.
2.0.0
- Complete rewrite: three designs, configurator, block, signed installation codes.
