WordPress.org

Latviešu valodā

  • Tēmas
  • Spraudņi
  • Jaunumi
  • Par
  • Iegūstiet WordPress
Iegūstiet WordPress
WordPress.org

Plugin Directory

Daily logo

  • Iesniegt spraudni
  • Mani favorīti
  • Pieslēgties
  • Iesniegt spraudni
  • Mani favorīti
  • Pieslēgties

Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

Daily logo

Autors Andrea Landonio
Lejupielādēt
  • Sīkāka informācija
  • Atsauksmes
  • Uzstādīšana
  • Attīstība
Atbalsts

Apraksts

Daily logo is a simple and flexible plugin which allow users to display a different header/logo in their site every day. If you need to have a different logo every day or during a particular event with this plugin you can completely customize your site header/logo management.

When you install and activate the plugin, an admin section is added. The section is composed by 2 pages, in the first one are automatically listed all your configured daily logos, in the second one, you can see a small legend and you can setup default look & feel templates.
You can provide a starting time and an ending time for every logo. By default the start time is 00:00 and the end time is 23:59.

You can provide 2 different templates for the header/logo HTML snippet. Imagine having different layout for desktop or mobile. The algorithm for choosing the templates is demanded to you.

There is 2 different actions that you can use:

  • daily_logo_show_today / daily_logo_show_today_alternative (display daily logo)
  • daily_logo_show_date / daily_logo_show_date_alternative (display a custom date logo)

Here you can find and example of template detection in a PHP template file (e.g. header.php):

$is_mobile = false;
if ($is_mobile) do_action( 'daily_logo_show_today_alternative' );
else do_action( 'daily_logo_show_today' );


$is_mobile = false;
if ($is_mobile) do_action( 'daily_logo_show_date_alternative', 2015, 5, 12 );
else do_action( 'daily_logo_show_date', 2015, 5, 12 );

The action with the “alternative” suffix is used for the second template layout.

You can use the shortcode [daily_logo_history_table] in your code for displaying a table with all the data history.

izmantot

  1. Go to WP-Admin -> Daily Logo.
  2. Add, modify, clone or delete a daily logo or configure the default templates.
  3. Replace in your the logo HTML snippet with the following code do_action( 'daily_logo_show_today' ).

Links: Author’s Site

Ekrānuzņēmumi

  • Daily logo items management
  • Settings admin page

Uzstādīšana

  1. Unzip the downloaded daily-logo zip file
  2. Upload the daily-logo folder and its contents into the wp-content/plugins/ directory of your WordPress installation
  3. Activate daily-logo from Plugins page

BUJ

Works on multisite?

No

Can I use my custom image sizes on widget?

No, it’s better to upload for every daily logo an image with the right (or your desired) size.

How works with different layout?

The plugin provides 2 different fields to upload 2 different image, with different size. In this way you can use one layout for you first template (for example the desktop site) and the other layout for an alternative template (for example the mobile version of your site)

How works with logos scheduled in the same day?

With logos on the same day, the plugin uses the older and valid one and then first to expire (note that with overlapped dates the plugin may fail, it is advised not to use overlapped dates)

Atsauksmes

Par šo spraudni nav atsauksmju.

Autori un izstrādātāji

“Daily logo” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki
  • Andrea Landonio
  • Alcione Ferreira

Tulkot “Daily logo&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

2.1.5 – 2022-07-26

  • Added table history shortcode

2.1.4 – 2021-03-14

  • Tested up with WordPress 5.7 release

2.1.3 – 2020-12-09

  • Tested up to latest WordPress releases

2.1.1 – 2019-05-22

  • Updated WordPress requirements

2.1.0 – 2017-01-02

  • Added “HAS_IMAGE_ALTERNATIVE” and “IMAGE_ALTERNATIVE” tags management

2.0.1 – 2016-07-15

  • Fixed JS date picker errors

2.0.0 – 2016-07-15

  • Added start/end time management

1.2.0 – 2016-06-29

  • Added “load more” in logos list

1.1.0 – 2015-10-25

  • Added clone logo row option

1.0.0 – 2015-06-01

  • First release

Meta

  • Versija 2.1.5
  • Pēdējo reizi atjaunots: pirms 3 gadiem
  • Aktīvās instalācijas: 10+
  • WordPress versija 4.0 vai jaunāka
  • Pārbaudīts līdz: 5.9.10
  • Valoda
    English (US)
  • Birkas:
    dailydoodlelogoorganizeswitch
  • Papildu skats

Vērtējumi

5 no 5 zvaigznēm.
  • 2 5 zvaigžņu atsauksmes 5 zvaigznes 2
  • 0 4 zvaigžņu atsauksmes 4 zvaigznes 0
  • 0 3 zvaigžņu atsauksmes 3 zvaigznes 0
  • 0 2 zvaigžņu atsauksmes 2 zvaigznes 0
  • 0 1 zvaigžņu atsauksmes 1 zvaigzne 0

Pievienot manu atsauksmi

Skatīt visas atsauksmes

Līdzdalībnieki

  • Andrea Landonio
  • Alcione Ferreira

Atbalsts

Jums ir kaut kas ko teikt? Vajadzīga palīdzība?

Skatīt atbalsta forumu

  • Par
  • Jaunumi
  • Uzturētājs
  • Privātums
  • Vitrīna
  • Tēmas
  • Spraudņi
  • Modeļi
  • Uzziniet
  • Atbalsts
  • Izstrādātāji
  • WordPress.TV
  • Iesaistieties
  • Pasākumi
  • Ziedot
  • Pieci nākotnei
  • WordPress.com
  • Matt
  • bbPress
  • BuddyPress
WordPress.org
WordPress.org

Latviešu valodā

  • Apmeklējiet mūsu X (agrāk Twitter) kontu
  • Apmeklējiet mūsu Bluesky kontu
  • Apmeklējiet mūsu Mastodon kontu
  • Apmeklējiet mūsu Threads kontu
  • Apmeklējiet mūsu Facebook lapu
  • Apmeklējiet mūsu Instagram kontu
  • Apmeklējiet mūsu LinkedIn kontu
  • Apmeklējiet mūsu TikTok kontu
  • Apmeklējiet mūsu YouTube kanālu
  • Apmeklējiet mūsu Tumblr kontu
Kods ir dzeja.