Keep formatting for tables copied from MS Word?

There is a “paste from Word” button. When you’re using the WYSIWYG editor (Visual tab), there’s a button that has a bunch of colored dots on it. When you hover over it, a little box tells you it’s called “kitchen sink”. Click it to expand, and you’ll see a button with the Word icon. Use … Read more

How to define a custom font family for a wordpress blog that will not affect the entire site

You can use this function: http://codex.wordpress.org/Function_Reference/body_class Use this in your header.php <body <?php body_class(); ?>> This gives each page a different class and so you can use CSS to set the font-family for a specific page like so: body.blog span.yourClassName{ font-family:; } Then of course the is also the jQuery solution using the .children() function

Formatting with

The pages you are linking use two different characters, one is the &mdash and the other I don’t know the name, it does not translates into an Html entity… Original: 2——-2——-7——-7——-| <– Mixed characters Using the character that works: 2—2—7—7—| <– This one is not &mdash. You may consider using a shortcode to encapsulate the … Read more

Line breaks not showing up properly

Presentation layer is best handled by CSS. In this case that would probably be margin-bottom rule for your heading. Markup with <br /> is usually unreliable. WP mostly relies on <p></p> tags for paragraphs and not line breaks.

Add dollar sign and commas to a number?

To format number, you can use the function number_format_i18n (it’s not documented now, but you can see its source here). Its work is format the number based on the language. You might want to look at number_format (PHP built_in function, and is used by number_format_i18n) to have more control to decimal point and thousand separator. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)