My Login Logo

kuba mazur WP howto Tagi:
3 224
my login logo

Własne logo na ekranie logowania WordPressa

Jak zmienić stronę logowania do panelu administracyjnego WordPress aby wyglądała na „bardziej” naszą? A dokładniej, żeby było tam nasze logo i nasze linki? Jak najbardziej można to zrobić. Są tysiące pluginów, które nam to umożliwią… ale jest też inny sposób. Wystarczy edytować plik functions.php (/wp-content/themes/nasz_motyw/functions.php).

Kilka prostych kroków:

  1. przygotuj Swoje logo (powinno mieć maxymalnie 80 x 80 px – takie wymiary sprawią, że nie będzie trzeba grzebać w css) i zapisz je w formacie .png (na przykład my_login_logo.png)
  2. umieść je na serwerze w katalogu swojego aktywnego motywu na przykład w folderze images (wp-content/themes/nasz_motyw/images/my_login_logo.png)
  3. edytuj functions.php – dodaj funkcję:
function my_login_logo() { ?>
    <style type="text/css">
        #login h1 a, .login h1 a {
            background-image: url(<?php echo get_stylesheet_directory_uri(); ?>/images/my_login_logo.png);
		height:65px;
		width:320px;
		background-size: 320px 65px;
		background-repeat: no-repeat;
        	padding-bottom: 30px;
        }
    </style>
<?php }
add_action( 'login_enqueue_scripts', 'my_login_logo' );

To wszystko:)

Co zrobić by logo linkowało do Twojej strony? Znów functions.php

Tym razem trzeba dodać dwie funkcje:

function my_login_logo_url() {
    return home_url();
}
add_filter( 'login_headerurl', 'my_login_logo_url' );

function my_login_logo_url_title() {
    return 'Tytuł i opis Twojej strony';
}
add_filter( 'login_headertitle', 'my_login_logo_url_title' );

Pamiętaj aby w miejscu „Tytuł i opis Twojej strony” umieścić odpowiednie treści.

komentarze o “My Login Logo

  1. I really love your blog.. Very nice colors & theme.

    Did you create this amazing site yourself? Please reply
    back as I’m planning to create my very own site and would love to know where
    you got this from or just what the theme is
    named. Cheers!

  2. Thank you a bunch for sharing this with all
    people you really recognize what you are talking about!
    Bookmarked. Kindly also discuss with my website =). We could have a hyperlink alternate arrangement among us

  3. I’ve been browsing online greater than three hours today,
    yet I never found any attention-grabbing article like yours.

    It’s lovely worth sufficient for me. Personally, if all webmasters and bloggers made
    good content material as you probably did, the internet will likely be much more useful than ever before.

  4. Hello there, just became aware of your blog through Google, and found that it’s truly informative. I’m going to watch out for brussels. I’ll appreciate if you continue this in future. A lot of people will be benefited from your writing. Cheers! cheap viagra

  5. I like what you guys are up too. Such intelligent work and reporting! Keep up the superb works guys I have incorporated you guys to my blogroll. I think it will improve the value of my website ?? viagra.

  6. That is really fascinating, You are an overly skilled blogger. I have joined your feed and stay up for in quest of more of your wonderful post. Also, I’ve shared your web site in my social networks!

  7. I have been surfing online more than 4 hours today, yet I never found
    any interesting article like yours. It is pretty worth enough for me.

    Personally, if all web owners and bloggers made good content as you
    did, the internet will be a lot more useful than ever before.

  8. Hi! I’ve been reading your site for a while now and finally got the bravery to go ahead and
    give you a shout out from Houston Tx! Just wanted to say keep up the fantastic job!

  9. Its such as you read my mind! You seem to understand a
    lot about this, like you wrote the guide in it or something.
    I believe that you just could do with some p.c.

    to pressure the message home a little bit, but other than that,
    this is wonderful blog. An excellent read.
    I will certainly be back.

  10. Hello, i read your blog occasionally and i own a similar one and i was just curious if you
    get a lot of spam feedback? If so how do you stop it, any plugin or anything you can suggest?
    I get so much lately it’s driving me insane so any
    support is very much appreciated.

  11. I truly love your website.. Very nice colors & theme. Did you develop this website yourself?
    Please reply back as I’m planning to create my very own website and would love to
    know where you got this from or exactly what the theme is called.
    Thank you!

  12. The following ones are crucial to state: doxazosin, conivaptan, ketoconazole, seizure medications, dalfopristin, voriconazole, erythromycin, telithromycin, diclofenac, imatinib, clotrimazole, isoniazid, clarithromycin, rifampin, itraconazole, blood or heart stress medicines, HIV/AIDS medicines, and antidepressants. You should take tadalafil best price 20mg uk as suggested and stay clear of making use of any other medications without formerly discussing it with your healthcare service provider. Do not begin taking any sort of new medicines along regarding Tadalafil without formerly consulting your healthcare professional. Wouldn’t it be fantastic if you could just begin your therapy regarding Tadalafil without any kind of should bother with exactly how safe and reliable the drug store you are visiting look regarding is? Typically, there are means to fix the trouble without having to quit either of the drugs,. You should take Tadalafil every time you wish to have sex – as it is not going to cure impotence, in lieu of assist you gain command over your erection for a long time. Tadalafil is a phosphodiesterase prevention that increases blood circulation to the penis during sexual stimulation offering a secure and secure erection.

  13. It is perfect time to make some plans for the future and it’s
    time to be happy. I have read this post and if I could I desire to suggest
    you some interesting things or advice. Maybe you can write next articles referring to
    this article. I desire to read even more things about it!

  14. While various other ED treatments, such as Viagra and Levitra, offer simply around 4-5 hrs of effectiveness, regarding Tadalafil you could trust up to 36 hours – which is remarkable by any type of criteria. Any one of the problems mentioned might have an effect on the high quality of your therapy and your dose could have to be adjusted. This problem is famously located in men older compared to 50, yet the issue is getting „younger” as an increasing number of men in their forties as well as thirties get this medical diagnosis. Fortunately for mens who erections are not difficult sufficient, in addition to for those that fall short to obtain constructions of any sort of firmness is that Tadalafil helps them despite just how severe their condition is. If you would like to discover out additional about most helpful pharmacies to get your tadalafil soft tablets from, we will give you this info on our unique comparison page today, for you not to await anything.

  15. Greetings! I’ve been reading your web site for a long
    time now and finally got the courage to go ahead and give you a
    shout out from Kingwood Tx! Just wanted to tell you keep up the excellent job!

  16. Tadalafil is advised for clients regarding erection issues that should be using some remedy like that to start and complete sex-related sex. , if you have to take particular blood pressure medicines you might not be able to take Tadalafil as this can induce a drop in blood stress and lead to undesirable signs. Entertainment drugs, such as amyl nitrate or nitrite can also include nitrates and need to therefore be stayed away from. Tadalafil (Cialis) is an oral prescribed substance abuse to help with impotence. Where To Buy Tadalafil Uk (Cialis) is available by prescribed and recommended to guys figured out with impotence. Your dose of Tadalafil could need to be readjusted correctly for you to get the most from it and prevent such moderate negative effects as stale nose, headache, flushing, acid indigestion, runny nose, pain in the back and muscular tissue pains.

  17. I have been browsing online more than three hours today, yet I
    never found any interesting article like yours. It’s pretty worth enough for me.
    In my view, if all webmasters and bloggers made good content as you did, the internet will be a lot more useful than ever before.

  18. If you experience dizziness, chest discomfort and nausea during sex these could be dangerous negative side effects of tadalafil canada drug. It works by assisting the client keep the construction for as in length as needed to complete intercourse, helping also males regarding extremely intense instances of impotence.

  19. When to see just how simple it is, you just really need to try to them! If you are taking any sort of other medicines besides tadalafil united states, make sure you let your physician learn about them. The period of efficiency may be a little different and depend on a number of aspects that are individual for every patient. You could get added information from your physician or pharmacist. Consequently, if you are pregnant, breastfeeding and believe you have to be taking Tadalafil, discuss this with a certified healthcare expert ahead of time. When you buy Tadalafil online, make sure you go shopping regarding a trustworthy online pharmacy to obtain higher top quality medications that will certainly be efficient.

  20. This drug rarely triggers serious negative effects, however they all should be reported to your wellness care carrier right away. This is why it’s so essential to mention this sign to your wellness care provider as quickly as feasible. If you were told to avoid sex however you took Tadalafil anyhow, watch for the adhering to symptoms: fainting, breast discomfort and extreme lightheadedness. Grapefruit juice has been reported to have a communication regarding Tadalafil Online Purchase.

  21. Today you can conveniently discover a reputable drug store that offers top quality Tadalafil for sale and could offer you all the warranties its common medicines are made in specific accordance with the highest requirements. In other cases added tests will be called for to develop how reliable canada generic tadalafil is visiting be for you. Tadalafil (Cialis) is a great way to treat impotence, as it supplies for around 36 hrs of efficiency (numerous times longer than other erectile dysfunction treatment medicine) from the moment you take it.