• 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 715 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 (24.3K 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 Importance of Voice and Style in Essay Writing April 1, 2023
  • What Online Casinos Have No Deposit Bonus in Australia March 30, 2023
  • Four Foolproof Tips To Never Run Out Of Blog Ideas For Your Website March 28, 2023
  • The Interactive Entertainment Serving as a Tech Proving Ground March 28, 2023
  • Is it Good to Run Apache Web server and MySQL Database on Separate Cloud Servers? March 27, 2023

About This Article

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

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

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

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

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

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT