Daily logo

plugin banner

Daily logo is a simple and flexible plugin which allow users to display a different header/logo in their site every day.

Author:Andrea Landonio (profile at wordpress.org)
WordPress version required:4.0
WordPress version tested:5.9.3
Plugin version:2.1.5
Added to WordPress repository:03-06-2015
Last updated:26-07-2022
Rating, %:100
Rated by:2
Plugin URI:
Total downloads:3 615
Active installs:10+
plugin download
Click to start download

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.

Usage

  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


Screenshots
FAQ
ChangeLog