Title: &#8220;Source&#8221; Code
Last modified: August 19, 2016

---

# “Source” Code

 *  [sacrepub](https://wordpress.org/support/users/sacrepub/)
 * (@sacrepub)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/source-code/)
 * I used to have my blog with Movable Type and the person that wrote my template
   created a code or something that would allow me to enter:
 * **“<p class=”source”>[100.5 The Zone “Outlaw” Contest Rules](http://www.radiozone.com/The-Outlaw-Contest-Rules/1960003)
   </p>”**
 * By typing that I had a little image that would show up in my post and said “Source”
   and had a link shown “100.5 The Zone…” and would take them to the HTML link I
   put in.
 * Does WordPress have the ability to do this? If so, does anyone know how I would
   go about setting this up?
 * Thanks in advance!

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/source-code/#post-773449)
 * When you start using a new software the very fisrt thing that you should do: 
   forget EVERYTHING about the old software. Do NOT try ever replicating the “familiar”
   features… or you will be unhappy for a lifetime.
 * There is nothing like that in WP. We have no idea what that thing did – we never
   used MT.
 * Now explain in plain English the **end result** you want to achieve, and maybe
   somebody can help you.
 *  Thread Starter [sacrepub](https://wordpress.org/support/users/sacrepub/)
 * (@sacrepub)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/source-code/#post-773453)
 * Thanks for the reply. I have forgotten everything! 🙂
 * I would like to have, in the body of my post, an image that says “Source” with
   text next to it. The text needs to be a link.
 * The text and link will change by post.
 * Essentially this is a link that can take people to another site that I may have
   gotten my information from. Thus a “Source”.
 * I know this can be done via HTML but I was looking for a short cut!
 *  [haochi](https://wordpress.org/support/users/haochi/)
 * (@haochi)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/source-code/#post-773473)
 * Well, you will just need to copy & paste the CSS code for the `source` class 
   in your MT theme to your WP theme’s style sheet. (that’s what it is supposed 
   to be, if I understood you correctly that is.)
 *  Thread Starter [sacrepub](https://wordpress.org/support/users/sacrepub/)
 * (@sacrepub)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/source-code/#post-773481)
 * Thanks Haochi! That’s what I needed, well almost! It is working but something
   is not quite right.
 * See a test post here:
 * [http://www.sacramentorepublicrat.com/criminal/testing/](http://www.sacramentorepublicrat.com/criminal/testing/)
 * The text should be to the right of the “Source ->” image.
 * The code I put in my style sheet is:
 * source {
    margin: 0 10px; padding-left: 63px; font-size: 8pt; font-style: normal;
   font-family: Tahoma, Verdana, Helvetica, Arial, sans-serif; color: #333; background:
   url(/images/source_button.gif) no-repeat 0 0; }
 * And I enter the following in the post:
 * <p class=”source”>[100.5 The Zone “Outlaw” Contest Rules](http://www.radiozone.com/The-Outlaw-Contest-Rules/1960003)
   </p>
 * Thanks very much!
 *  Thread Starter [sacrepub](https://wordpress.org/support/users/sacrepub/)
 * (@sacrepub)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/source-code/#post-773675)
 * Anyone have any suggestions, please?
 * Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘“Source” Code’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [sacrepub](https://wordpress.org/support/users/sacrepub/)
 * Last activity: [17 years, 11 months ago](https://wordpress.org/support/topic/source-code/#post-773675)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
