Distinguishing between internal and external links
-
I’d like to make it clear to readers of my blog which links are to external sites, and which lead to blog posts.
I’m already familiar with how this can be done using style sheets. I can crib the technique from Wikipedia. I may also have to upgrade to custom CSS sheets to have this capability. That’s not the issue.
What I’d like to know is how I can add knowledge of CSS link classes to the rich text editor, so I can select (for instance) an “external” class for any links I insert into my posts.
The blog I need help with is: (visible only to logged in users)
-
-
At wordpress.COM we cannot add to or modify the underlying wordpress files or theme files. You cannot add anything to the CSS link classes for the editor.
-
It seems that with CSS3 it is possible to tell the web browser to render links which match a regular expression (e.g. “^http:”) differently. So, I guess it isn’t necessary to go through all my links and recategorize them. Phew!
- The topic ‘Distinguishing between internal and external links’ is closed to new replies.