Unknow shortcode read on display site

That’s not an HTML tag, it’s a shortcode. If your theme used the the_excerpt() function for displaying the ‘compact version’ of the post content then this wouldn’t appear. WordPress strips shortcodes out of post excerpts to prevent this happening. If your theme is using its own method for generating the excerpt then its developer needs … Read more

how automatically show the image title before the image caption/description in a wordpress gallery?

use this code in single.php $post->ID, ‘post_type’ => ‘attachment’, ‘numberposts’ => -1, ‘orderby’ => ‘title’, ‘order’ => ‘ASC’, ‘post_mime_type’ => ‘image’, ))) { foreach( $images as $image ) { $attachmenturl = wp_get_attachment_url($image->ID); $attachmentimage = wp_get_attachment_image_src( $image->ID, full ); $imageDescription = apply_filters( ‘the_description’ , $image->post_content ); $imageTitle = apply_filters( ‘the_title’ , $image->post_title ); $i++; if (!empty($imageTitle)) … Read more

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

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