Skip to content
WordPress.org
  • Showcase
  • Plugins
  • Themes
  • Hosting
  • News
    • Learn WordPress
    • Documentation
    • Education
    • Forums
    • Developers
    • Blocks
    • Patterns
    • Photos
    • Openverse ↗︎
    • WordPress.tv ↗︎
    • About WordPress
    • Make WordPress
    • Events
    • Five for the Future
    • Enterprise
    • Gutenberg ↗︎
    • Job Board ↗︎
  • Swag ↗︎
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

IşıltılıLogo Yeni Yıl Süslemesi

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

IşıltılıLogo Yeni Yıl Süslemesi

By ahmtgurel
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

IşıltılıLogo Yeni Yıl Süslemesi (“Logo New Year Decoration”) hangs a string of blinking lights on your site logo for the New Year and Christmas season.

It works with CSS only. There is no JavaScript, no external request and no tracking. The logo image itself is not changed.

Styles

  • Hanging over the top: the string runs along the top edge of the logo. The longer the logo, the more pieces are shown. The string starts and ends with a lamp and extends one lamp beyond each end of the logo.
  • Arc below: a single string hangs under the logo from its two ends. It always has 7 pieces. On wider logos the pieces are spaced further apart.

Decorations

  • Pine garland: the lamps hang from a pine branch. When it is off, a thin wire is drawn instead.
  • Ornaments: a candy cane, a bell and a gift box are placed between the lamps. When it is off, only lamps are shown.

The lamps are red, green, blue and orange and blink in two alternating groups.

Settings screen language

The settings screen is in Turkish. You can find it under Ayarlar (Settings) > IşıltılıLogo Yeni Yıl Süslemesi. The options are:

  • Görünüm (Style): Üstten sarkan (Hanging over the top) or Altta yay (Arc below)
  • Süslemeler (Decorations): Çam dalı (Pine garland), Süsler (Ornaments)
  • CSS seçici (CSS selector): optional, see the FAQ

Türkçe Özet

IşıltılıLogo Yeni Yıl Süslemesi, site logonuza yanıp sönen yılbaşı ışıkları ekler. Yeni yıl süslemesi ya da yılbaşı süslemesi arayan siteler için hazırlanmıştır. Sadece CSS kullanır, JavaScript yoktur, dışarıya istek göndermez. Logonun kendisine dokunmaz.

  • İki görünüm: Üstten sarkan ve Altta yay.
  • Süslemeler: çam dalı, baston şeker, çan ve hediye paketi. Ayardan açılıp kapanır.
  • Ayarlar: Ayarlar > IşıltılıLogo Yeni Yıl Süslemesi.

Işıklar görünmüyorsa logo otomatik bulunamamıştır. Logoya sağ tıklayıp İncele deyin, logo görselini saran <a> etiketinin sınıfını bulun ve başına nokta koyarak (örnek: .site-logo) ayarlardaki CSS seçici alanına yazın. <a> etiketinde sınıf yoksa bir üstteki kapsayıcının sınıfını kullanın (örnek: .site-branding a).

Screenshots

Installation

  1. In your WordPress admin go to Plugins > Add New and search for “IşıltılıLogo Yeni Yıl Süslemesi”, or upload the zip file with Upload Plugin.
  2. Activate the plugin.
  3. If you use a caching plugin, clear the cache.
  4. Open Settings > IşıltılıLogo Yeni Yıl Süslemesi to choose the style and decorations.

FAQ

How does the plugin find my logo?

It finds the logo in two ways:

  1. The standard WordPress logo. A logo uploaded under Appearance > Customize > Site Identity is printed by the theme with the custom-logo-link class. The plugin recognises this class.
  2. A general rule. A link inside the <header> element of the page that points to the home page and contains an image is treated as the logo.

If the lights are visible, leave the CSS selector field empty.

The lights do not appear. What should I do?

The logo cannot be found automatically when:

  • the theme does not print the top section with a <header> element,
  • the logo does not link to the home page or is not inside a link at all,
  • the logo links to a different address, for example one with a language suffix.

In that case you show the plugin where the logo is. What you need is not the logo image itself but the link (the <a> element) that wraps the image. The lights are attached to that link.

  1. Open your site in Chrome, Edge or Firefox.
  2. Right click the logo and choose Inspect. A panel opens with the <img ...> line of the logo selected.
  3. Find the <a ...> line right above the selected <img> line. This is the logo link.
  4. Check whether this <a> line has a class="..." attribute.
    • If it does, put a dot in front of the class name. For <a class="site-logo" href="..."> the selector is .site-logo
    • If there is no class but there is an id="...", put a # in front of the id. For <a id="logo" href="..."> the selector is #logo
    • If it has neither, take the class of the container one line above and add a space and the letter a. For <div class="site-branding"> the selector is .site-branding a
  5. Enter the selector in Settings > IşıltılıLogo Yeni Yıl Süslemesi > CSS seçici and save.
  6. Clear the cache and reload the site.

If a line has more than one class, such as class="logo-link header-item", one of them is enough. Pick the one that is most specific to the logo: .logo-link

How can I check that my selector is correct?

  1. In the Inspect panel switch to the Console tab.
  2. Type the following and press Enter, with your own selector inside the quotes: document.querySelectorAll('.site-logo').length
  3. If the result is 1, the selector finds only the logo. If it is 0, it finds nothing, so check the spelling. If it is greater than 1, lights are added in more than one place, so choose a more specific selector.

My header is built with Elementor. How do I set the selector?

If the logo is added with the Elementor Image or Site Logo widget, the easiest way is to give the widget your own class:

  1. Open the header template in Elementor and click the logo widget.
  2. In the Advanced tab type this in the CSS Classes field: yeni-yil-logo
  3. Update the template.
  4. In the plugin settings type this in the CSS selector field: .yeni-yil-logo a

For this to work the widget must have a link set on the logo (Link: Custom URL, your home page address).

Are there known limitations?

  • A text logo without an image is not found automatically. You can point to it with the CSS selector.
  • The lights extend a little beyond the logo. If the theme clips overflowing content in the header, the pieces at the ends may be cut off.
  • If the logo touches the right edge of the screen, the hanging style may cause slight horizontal scrolling on mobile.
  • Automatic detection uses the CSS :has() feature and the length adjustment uses the CSS round() function. Both work in current versions of Chrome, Edge, Firefox and Safari. In old browsers the lights may not appear, or a partial piece may remain at the end of the string.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“IşıltılıLogo Yeni Yıl Süslemesi” is open source software. The following people have contributed to this plugin.

Contributors
  • ahmtgurel

Translate “IşıltılıLogo Yeni Yıl Süslemesi” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.3.3

  • First release on WordPress.org.

Meta

  • Version 1.3.3
  • Last updated 19 hours ago
  • Active installations Fewer than 10
  • WordPress version 6.0 or higher
  • Tested up to 7.1.5
  • PHP version 7.4 or higher
  • Tags
    christmasdecorationlightslogoNew Year
  • Advanced View

Ratings

No reviews have been submitted yet.

Your review

See all reviews

Contributors

  • ahmtgurel

Support

Got something to say? Need help?

View support forum

Donate

Would you like to support the advancement of this plugin?

Donate to this plugin

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Documentation
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org

The WordPress® trademark is the intellectual property of the WordPress Foundation.

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Code is Poetry