Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Khang Minh

    (@oddoneout)

    Wow hi, are you really from the Nasa website team??? I’m kinda shocked…

    Wildcards, ahh… Okay I will look into it and such feature will be available in 1.1.0, soon :).

    Thread Starter Joe Banks

    (@empathik)

    Actually, yes, not with the overall NASA or NASA Glenn webteam, but this specific group here, who uses WordPress to build sites at NASA Glenn Research Center:

    https://wordpress.grc.nasa.gov

    One of our requirements for NASA sites is to mark external links for any non-NASA site. Using a plug-in to do so greatly saves time. We’re upgrading to WordPress Multisite for our group, which means the old external links plug-in we were using stopped working correctly. So I found your plugin today and set it up pronto. It’s working on our NASA GRC WordPress Users Guide site, now.

    Thanks for taking the request into consideration.

    Plugin Author Khang Minh

    (@oddoneout)

    Nice! I got the NASA + WP feeling from that site :).

    The ‘Forced Local Domains’ is actually meant to force other external domains to be local. How about making the ‘All subdomains’ option to act just like *.nasa.gov?

    Thread Starter Joe Banks

    (@empathik)

    Perfect!

    Plugin Author Khang Minh

    (@oddoneout)

    Hi, 1.1.0 should be available tomorrow, make sure you get it ;).

    Thread Starter Joe Banks

    (@empathik)

    I see it! Installed and it’s working right now. I’ll have to look at my settings later.

    In the meantime, I wanted to share how we style external links (seems to be a convention), adding a bonus hover effect. Edit as you see fit.

    ==========================================

    a.ext-link, a.ext-link:link
    {
    background: url(images/external.png) no-repeat 100% 0;
    padding-right: 13px;
    }

    a.ext-link:visited, a.ext-link:visited
    {
    /*color: purple;*/
    background: url(images/external.png) no-repeat 100% -100px;
    padding-right: 13px;
    }

    a.ext-link:hover, a.ext-link:active
    {
    /*color: red;*/
    background: url(images/external.png) no-repeat 100% -200px;
    padding-right: 13px;
    }

    Here’s the image referenced above.

    https://wordpress.grc.nasa.gov/wp-content/themes/nasa-genesis/images/external.png

    Plugin Author Khang Minh

    (@oddoneout)

    Thanks for the contribution, I think I will add it to 1.1.1, very nice effect indeed. And yes, I see the plugin working nicely there!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Better WordPress External Links] Making TLDs Subdomains Always Local’ is closed to new replies.