Loop from another WP site onto mine

If you want to grab info right off the page you should use one of these options if you don’t want a plugin, the content can be returned and parsed as xml, rss, json or just html/text. This is the proper way to do this. WordPress HTTP API: http://codex.wordpress.org/HTTP_API or fetch_feed() ( for rss only). … Read more

loop on page makes shortcode fail

You really shouldn’t use query_posts() for anything other than the main loop of that page and use either WP_Query() or get_posts(), try this: $my_query = new WP_Query( array( ‘category_name’ => ‘interesting_sites’, ‘posts_per_page’ => 3, ‘orderby’ => ‘rand’ ) ); while ($my_query->have_posts()){ $my_query->the_post(); ?> <div <?php post_class(); ?>> <h1><?php the_title(); ?></h1> <?php the_content(); ?> </div> <?php … Read more

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