Hopp til innhold
WordPress.org

Norsk (Bokmål)

  • Tema
  • Utvidelser
  • Nyheter
  • Om
  • Mønstre
  • Delta
  • Meetups
  • Slack
  • Kontakt
  • Få WordPress
Få WordPress
WordPress.org

Plugin Directory

Custom Site Logo

  • Send inn en utvidelse
  • Mine favoritter
  • Logg inn
  • Send inn en utvidelse
  • Mine favoritter
  • Logg inn

Custom Site Logo

Av Awais Altaf
Last ned
  • Detaljer
  • Omtaler
  • Utvikling
Brukerstøtte

Beskrivelse

Custom Site Logo helps you manage your WordPress website’s logo without editing any code.
Upload a new logo, or choose an existing image from your media library, then display it anywhere using a simple shortcode or template function.

Benefits, Features and Options:

  • Set a custom width and height for your logo.
  • Apply a hover effect to your logo.
  • Make your logo fully responsive.
  • Center your logo, and optionally link it to a custom URL.
  • Display the logo via a shortcode in any post or page, or via a function call in your theme template.

How to use it

  1. Open the header.php file of your current theme.
  2. Paste <?php echo csl_CustomSiteLogo_show_logo(); ?> where you want the logo to appear.

Shortcode

The shortcode [csl_display_logo] can be used anywhere posts, pages, or widgets support shortcodes.

If you run into any issues setting up the plugin, please reach out via the support forum.

Skjermbilder

The plugin's settings page. Customize your logo and its behaviour from here.
The plugin’s settings page. Customize your logo and its behaviour from here.

Ofte stilte spørsmål

How do I insert the logo?

Open the header.php file of your current theme and paste <?php echo csl_CustomSiteLogo_show_logo(); ?> where you want the logo to appear.

Can I insert the logo from the post/page editor?

Yes, just use the shortcode [csl_display_logo] in any post, page, or custom post type editor to display the logo.

Why does my logo look too big?

Uncheck the «Make Logo Responsive» option on the settings page, or set a custom width and/or height for your logo.

Where is the settings page?

Go to Dashboard => Appearance => Custom Site Logo.

Vurderinger

Does not have alt text

primorudy10 13. oktober, 2023
Fine plugin for logo management

Does not display the image ALT text

Mimi 16. januar, 2021
This works as described and is very easy, but I was not able to use it because it doesn’t display the image ALT text, either the ALT text as specified in the media library, nor does it allow you to insert other ALT text. Not ADA or WCAG compliant nor compliant with other accessibility guidelines throughout the world. Sorry! I ended up just hand-coding the logo into the header.

Get your logo from a CDN

photoworkout 11. januar, 2020
This plugin does work well to server your logo from a CDN (external source). Useful if your theme does not have the option to insert the logo by just pasting the image URL (but requires the WP media uploader, e.g. via the customizer).

And…….a logo!

Curtis 22. desember, 2019
It works. Thank you.

GREAT Plugin and AWESOME Support

ewdaadmin 3. august, 2018
This is a great plug-in and any questions I had were answered quickly. Awais was a HUGE help.

Simple plugin

galvinxpertex 11. april, 2018
Simple plugin to use.
Les alle 9 vurderinger

Bidragsytere og utviklere

«Custom Site Logo» er programvare med åpen kildekode. Følgende personer har bidratt til denne utvidelsen:

Bidragsytere
  • Awais Altaf

Oversett «Custom Site Logo» til ditt språk.

Interessert i utvikling?

Bla gjennom koden, sjekk ut SVN-repositoriet, eller abonner på utviklingsloggen med RSS.

Endringslogg

1.0.3

Release Date: August 14th, 2026

Updates:

  • Resolved all PHPCS (WordPress Coding Standards) reported issues across the codebase.
  • Escaped all admin and front-end output, and added a nonce-safe check around the settings-saved notice.
  • Fixed the [csl_display_logo] shortcode to correctly return its markup instead of echoing it directly.
  • Added an alt attribute to the rendered logo image for better accessibility.
  • Clarified and improved the wording of settings page labels, descriptions, and messages.
  • Corrected a translation domain mismatch on the plugin’s «Settings» action link.
  • Updated «Tested up to» to the latest WordPress version.

1.0.2

Release Date: May 09th, 2023

Bugfixes:

  • Fixes PHP Function.

1.0.1

Release Date: May 25th, 2023

Bugfixes:

  • Fixes PHP warnings.

Updates:

Update the code standards.

Meta

  • Versjon 1.0.3
  • Sist oppdatert 19 timer siden
  • Aktive installasjoner 1 000+
  • WordPress-versjon 3.0 eller nyere
  • Testet opp til 7.0.4
  • Språk
    English (US)
  • Stikkord
    center logocustom logoeffectslogologo management
  • Avansert visning

Vurderinger

4.7 av 5 stjerner.
  • 8 5-star reviews 5 stjerner 8
  • 0 4-star reviews 4 stjerner 0
  • 0 3-star reviews 3 stjerner 0
  • 1 2-star review 2 stjerner 1
  • 0 1-star reviews 1 stjerne 0

Din omtale

Se alle omtalene

Bidragsytere

  • Awais Altaf

Brukerstøtte

Har du noe å si? Trenger du hjelp?

Vis brukerstøtteforumet

  • Om
  • Nyheter
  • Hosting
  • Personvern
  • Fremvisning
  • Temaer
  • Utvidelser
  • Mønstre
  • Lær
  • Brukerstøtte
  • Utviklere
  • WordPress.tv ↗
  • Bli involvert
  • Arrangementer
  • Doner ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Norsk (Bokmål)

  • Besøk vår konto på X
  • Visit our Bluesky account
  • Besøk vår Mastodon-konto
  • Visit our Threads account
  • Besøk vår Facebook-side
  • Besøk vår Instagram-konto
  • Besøk vår LinkedIn-konto
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Kode er poesi.
The WordPress® trademark is the intellectual property of the WordPress Foundation.