Page formatting lost when I attempt a revision
Page formatting lost when I attempt a revision
Page formatting lost when I attempt a revision
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
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
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
I’m using something like this: date(‘F, Y’, strtotime($data[0]->post_date));
applying the ‘the_content’ filter could work: <?php echo apply_filters(‘the_content’, $comment->comment_content); ?>
Use number_format_i18n( $number ). It will format the number with respect to the current blog’s language setting. It is a wrapper for PHP’s native number_format().
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.
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
In your functions.php: remove_filter( ‘the_content’, ‘wptexturize’ ); And the same for the_excerpt or the_title (if required).