Open the functions.php in your theme directory. For example, if your theme is tigra, then open the functions.php in <wordpress-path>/wp-content/themes/tiga.[...] Read the rest of this entry »
In this guide, I will cover how to set up a Content Management Site powered by Joomla 1.5.x. This document is by no mean complete, but the section that shows one how to embed a flash MP3 player as a custom module should be very helpful to many.
I wanted to post some codes to several posts and set out to find ways to include longer code snippets on WordPress posts. Here are the steps I took to enable scrolling area for code snippets:
1. Go to your WordPress theme editor and either enable external style.css if not already enabled. I use tiga theme and had to enable the external style sheet.
2. Add the following code snippet to the style.css of your current theme
3. Then create a new post and paste the following in HTML mode
<div>
<p>This is a scrolling are created with the CSS property overflow.</p>
<p>
<span style="color: red;">This is red color</span>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh.</p>
<p>This is a normal paragraph.
<span style="font-weight: bold; font-size: 22px;">This is big bold text</span>
</p>
<p>This scrolling are can contain normal html like <a href="index.php">link</a></p>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh.</p>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh.</p>
</div>
�
This is a scrolling are created with the CSS property overflow.
This is red color
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh.
This is a normal paragraph. This is big bold text
This scrolling are can contain normal html like link
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh.