WordPress no longer holding post formatting

TinyMCE – at least, as-configured for WordPress – isn’t explicitly designed for copying/pasting of text richly formatted in other word processors. That said: how are you pasting? Are you simply copy/pasting (i.e. via CTRL-C, CTRL-V; or else via right-clicking and using contextual menu commands), or are you using the “Paste From Word” button on the … Read more

What does the Global Variable $s represent?

It’s not a global variable; in fact it’s not a variable at all. It’s just placeholder within the sprintf() function. Take a look at the sprintf PHP function documentation. In the example you cite, the author is using the ‘argument swapping’ placeholder syntax: %n$t where %n is the placeholder number that corresponds to the argument … Read more

How do you edit the html of teaser excerpts

wordPress does this by default. you can either use a plugin such as: http://wordpress.org/extend/plugins/advanced-excerpt/ http://wordpress.org/extend/plugins/the-excerpt-re-reloaded/ or write your own functions to remove the default filters from the_excerpt() such as: http://bacsoftwareconsulting.com/blog/index.php/wordpress-cat/how-to-preserve-html-tags-in-wordpress-excerpt-without-a-plugin/

How do I format the date in Event Organizer?

%start{date-format}{time-format}% (using php date format) for example: %start{M jS, Y}{ g:i:a}%* This will output as June 17, 2012 11:00am Shortcode: [eo_events]<a href=”https://wordpress.stackexchange.com/questions/53851/%event_url%”>%event_title%</a> on %start{M jS, Y}{ g:i:a}%, at %event_venue%[/eo_events] Referance: Event Organiser

Multiple Rows in a using wp_query

Get all of your posts in one query, then count the iterations of your loop. Pseudo-code follows. if ( $query->have_posts() ) { $i = 0; while ( $query->have_posts() ) { // If $i is 5 (5th post), end one row and start the next if (++$i == 5) { echo ‘</tr><tr>’; } // the rest … Read more

WordPress get_the_content losing formatting when emailed

The default email content type is text/plain which does not allow using HTML. Add this to your functions.php file: // use HTML instead of plain text add_filter( ‘wp_mail_content_type’, ‘my_awesome_mail_content_type’ ); function my_awesome_mail_content_type() { return ‘text/html’; } But be warned, different email clients has very different support for CSS rules.. Read more from here. Alternative: If … Read more