WBR tag breaking hyperlinks

I just checked this on a test site. I added only this link to a post. <a href=”http://www.msrlm.org/mrlif/faqenglish.html” target=”_blank”>http://www.msrlm.org/mrlif/<wbr />faqenglish.html</a> The result from the page source is: <p><a href=”http://www.msrlm.org/mrlif/faqenglish.html” target=”_blank”>http://www.msrlm.org/mrlif/<wbr />faqenglish.html</a></p> Verify the site is using the latest WordPress version, Temporarily disable all plugins to rule out a plugin conflict, Switch themes to rule out … Read more

Garbled HTML pulled for page description “caption id=attachment…”

That’s shortcode with the brackets stripped. And since shortcode is either rendered or removed before output, it suggests that these descriptions are not merely being “scraped” from your site, but provided by a WordPress plugin or locally-hosted script. I would first check your theme is not “leaking” raw shortcode; do you see something like [caption…] … Read more

Add number in increment of one to DIV ID

the code should be instead add_shortcode( ‘faq’, ‘wpse105856_shortcode_callback’ ); function wpse105856_shortcode_callback( $atts ) { extract( shortcode_atts( array( ‘category’ => ” ), $atts ) ); $args = array( ‘numberposts’ => -1, ‘orderby’ => ‘menu_order’, ‘order’ => ‘ASC’, ‘post_type’ => ‘faq’ ); if ( ! empty( $category ) ) { $args[‘category_name’] = $category; }; $posts = get_posts( … Read more

WYSIWYG with HTML source?

Why not automate the move from Drupal to WP? I think WP will fix some of the P tag issue during the upload. http://codex.wordpress.org/Importing_Content#Drupal If that isn’t an option, I think WP is using br’s instead of full new p. From the visual editor, I’d delete the copied break altogether and “enter” a new one.

How to get all the terms of a post

Well to print each term you could loop through each object and echo the name and description foreach ($terms as $theterm) { echo $theterm->name . ” ” . $theterm->description; } Is this what you are looking for? [EDIT] Updated the answer

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