• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » WordPress Link Icons For Specific Domain, Content

By Abhishek Ghosh May 18, 2016 1:12 am Updated on May 18, 2016

WordPress Link Icons For Specific Domain, Content

Advertisement

Saw those Pad Lock Icon, External Icon, PDF Icon on WikiPedia? Now, you can add on a specific link in “go as you like way”. We hugely love inline CSS and jQuery inside a post. This avoids the problem with Demo in new design. All data remaining within a post. CSS Pseudo Class, Data URI Can add PDF, Pad Lock, External Link Icons. Here is a Guide on WordPress Link Icons For Specific Domain, Content. Question of any WordPress Plugin is not arising at all.

 

WordPress Link Icons For Specific Domain, Content : Revision of Old Guides

 

The drop caps effect in this post is also a CSS Pseudo Class we described before. Read the linked guide, that is very important. Another part is Base64 Data URI Encoding in CSS. Look at our Tools link menu in navigation, you will get an online tool hosted on our server for conversion of any image to Base64 Data URI. We developed a dangerously effective method combining everyone’s ways. This is just great way.

WordPress Link Icons For Specific Domain, Content

 

WordPress Link Icons For Specific Domain, Content : Steps

 

Javascript in any form is basically risky. Peoples can block it. Anyway, just a quick example plus tutorial. I want to add an external link icon only for the domain jima.in after the hyperlink ends, in this post only. For that reason, I will embed this CSS in this post in Text mode, save and not switch back to Visual mode :

Advertisement

---

Vim
1
2
3
4
5
<style>
a[href ^= "http://jima.in"]:after {
     content: " " url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=);    
}
</style>

You need to see now whether I can really give you the demo of external link icon. Here is the link to that particular domain.

Do not think that I can not do it for a link within this website. This is a guide on how to add academic article like numbered references and a bibliography, which peoples often wrongly refer as footnote.

How it happened that the other links on this website, even this post not getting that icon? Because I used the full URL in another inline CSS :

Vim
1
2
3
4
5
<style>
a[href ^= "https://thecustomizewindows.com/2016/05/wordpress-footnote-and-bibliography-in-html5/"]:after {
     content: " " url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=);    
}
</style>

Now, if I want to add the link icon before the link, I need a basic tweak, I will change the :after to :before :

Vim
1
2
3
4
5
<style>
a[href ^= "https://thecustomizewindows.com/2016/05/mini-bulb-mini-bulb-holder-buying-guide-for-diy-electronics/"]:before {
     content: " " url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=);    
}
</style>

That example can be given with our guide on buying E 10 mini bulb holder.

If I changed the image to a padlock, it will look sane. For indicating a secured HTTPS website, you can add a padlock icon after or before the link. You can add a PDF icon on PDF download link. External link looks dirty to me.

Now, the you most likely saw :after which uses one colon instead of two – ::after. Old CSS2 syntax was that one colon. New CSS3 has both – single colon for the pseudo-classes and the double colon notation (::) was is for the pseudo-elements. Only Internet Explorer 8 has no backward compatibility. We use single colon like :after for wider browser support.

Now about SEO. It is bad to add an image beside a link without the alt tag. But this icon is added using pseudo-elements, it is not inserted into the DOM. It is only visually displayed. Modern Search Engine bots can read the CSS and understand that it is done but crude alt tag is not arising. Adobe’s PDF Icon is officially distributed by Adobe :

Vim
1
http://wwwimages.adobe.com/content/dam/acom/en/legal/images/badges/Adobe_PDF_file_icon_24x24.png

16×16 image is right for the purpose. This media specific icon is known as MimeTypes Link Icons. We can do that icon insertion with inline image too, but that is too crude. Padlock Icon can be shown easily :

For example, this is Cockpit Graphing and Sysadmin tool’s guide. This is what I used :

Vim
1
2
3
4
5
<style>
a[href ^= "https://thecustomizewindows.com/2016/05/cockpit-gnulinux-server-management-graphing-tool/"]:after {
     content: " " url("data:image/gif;base64,R0lGODlhEAANAPcAAEVFRZmXO62qOLCtOLm2N765NsbCNcnFNNHOM93YI9/bL9TQM9rWMdvYMeDbMODcMODcMs3KW+TgR+TgSubiWufkXejkZ5KSkqKioq6urtjWnO3ri+/tofDup/Hup/HwsNHR0dLS0vX0zfj32+np6fn55Pv76/Dw8Pv78P399P/+/f////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAACwALAAAAAAQAA0AAAhzAFkIFJihYMGBCAdmGKECxQgNABIqHLECgEUOESJKzFBRIQWNCTOYAJlBAUiEC0kmOCkQRICXMGFiCLkiRQkRHzZYmPCAZYYBBQ4saPDgQQUPPmvezGlBQs+QAggYQMDAgdEOSW3i1DkBAssQFsOKvTAwIAA7");    
}
</style>

I used my own web based tool to convert Image to Base64 Data URI. Only you’ll use our free tools, I can not use?

This Article Has Been Shared 142 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to WordPress Link Icons For Specific Domain, Content

  • How to change the smilies / emotions in WordPress

    WordPress offers a variety of native smilies automatically generated when you enter the shortcut to which they refer.You can however, change to your own custom simile or emoticons.

  • Customize the logo of your WordPress login page : second method

    Want to customize the logo of WordPress admin login page? This is possible by inserting a few lines of code in the functions.php file of your theme. Finally, a website that is more professional and close to your brand.

  • WordPress Header optimization

    Optimization of Wordpress header is another important point of SEO. Most often optimizing the header of Wordpress is ignored by the beginners.

  • Link Post Thumbnails to the Post Permalink in WordPress

    Link Post Thumbnails to the Post Permalink in WordPress by adding few codes in the functions php file of your active theme.

  • KML Google Maps and HTML Google Maps

    KML Google Maps and HTML Google Maps are two format ways to add Google Maps in WordPress Posts. Let us see the advantages and disadvantages of these formats.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (22.1K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • The Cost of Doing Business as a Handyman July 1, 2022
  • Samsung Galaxy S22 Ultra: Long Term Review June 30, 2022
  • How to Make the Most of Your S Pen (S22 Ultra) June 29, 2022
  • Safe Chargers for Samsung Galaxy S22 Ultra June 27, 2022
  • How Telecoms Can Use The Cloud To Power Their 5G Network June 24, 2022

About This Article

Cite this article as: Abhishek Ghosh, "WordPress Link Icons For Specific Domain, Content," in The Customize Windows, May 18, 2016, July 2, 2022, https://thecustomizewindows.com/2016/05/wordpress-link-icons-for-specific-domain-content/.

Source:The Customize Windows, JiMA.in

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Privacy Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2022 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy