Get Image tag from content of post

You can either make use of get_children or get_posts or even WP_Query to get the the attached image ID’s to the current post You can then use those ID’s to gt the attached image with wp_get_attachment_image() Here is a basic idea that you can use in a widget or sidebar. (CAVEAT: Untested) $args = array( … Read more

Massive photogallery import

How will you represent the galleries on the new site? Will each gallery be a post with a standard shortcode? If so, you’ll basically only need the url for each image on the old site (plus post heading/text and image descriptions if needed), and you can create a WXR import file to import everything into … Read more

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