Style wordpress image captions in RSS

As far as I know the only way to add styles to RSS feed items is by adding them inline (e.g. <p style=”color: #333; font-weight: bold;”>Hello World</p>). If you don’t specify any styling, then the reader app/website that the end-user is using applies its default styles. Certainly editing styles.css won’t make any difference, because that … Read more

Problem with -> in pre tags

If you’ve written it as it actually appears, you are missing the semi-colon ; directly following the &gt. Sometimes moving between the visual editor and the html editor will cause this problem. It can also happen when copying and pasting code from another source. Go into the HTML editor and check the code where the … Read more

why doesnt my formatting work in my wisiwig editor?

The Visual editor is behaving as-configured. You will either need to pass a custom configuration setting to tell TinyMCE not to ignore multiple line-breaks, or else you will need to use the HTML editor if you want to add line-breaks in the manner that you’re currently using.

Formatting a date/time returned from a custom $wpdb query

A much simpler method to bypass these issues is using WP_Query: $popularQuery = array(‘orderby’ => ‘comment_count’, ‘posts_per_page’ => ‘-1’, ‘author’ => 1); $popularPosts = new WP_Query($popularQuery); while($popularPosts->have_posts()) : $popularPosts->the_post(); ?> <tr> <td><a href=”https://wordpress.stackexchange.com/questions/23820/<?php the_permalink(); ?>”><?php the_title(); ?></a></td> <td><?php the_author(); ?></td> <td><?php the_time(‘j M Y h:i A’) ?></td> <td><?php comments_number(); ?></td> </tr> <?php endwhile; Also note … Read more

How to remove filter apostrophe and single quotation

If I understand correctly, you’re only wanting to change the behavior of wptexturize within the href attribute of links. Here’s how I would go about that problem: Don’t mess with the default behavior of wptexturize, that function is used in a lot of different filters and its behavior is pretty useful. And definitely don’t hack … Read more

Pasting formatted text from MS-Word

Maybe you can take a look at the XML-RPC function and using Microsoft Live Writer. I think this will keep all your formats in tact. Further is gives you a nice interface to work with in a desktop environment. All you have to do is enable this function in the backend, options -> write. Download … Read more

Using Microsift Word/Outlook for content publishing to WordPress

I wouldn’t recommend it but… If you are not going to use multisite, then WordPress has a Post via e-mail feature setup under Settings > Writing. See http://codex.wordpress.org/Post_to_your_blog_using_email An alternative might be to get them to use Windows Live Writer, which would give the users a familiar mircrosoft interface. See: http://explore.live.com/windows-live-essentials-help-center?T1=t7

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