Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I would suggest you to make use of WPMU, which now is <code>Network</code> in the latest wordpress release. What this does is to allow you to use a single install of wordpress as one or more wordpress blogs. You can then just use a theme and tell wordpress to display what is on main wordpress blog on this blog.</p> <p>Using the above strategy, will make you utilize a single database for all your wordpress blogs (called as network blogs) and also help in making them talk to each other (e.g. here you want the chrome.domain.com blog to display posts from domain.com blog)</p> <p>A more detailed information can be found at: <a href="http://codex.wordpress.org/Create_A_Network" rel="nofollow">Create a Network</a></p> <p>To display posts from main blog (which is generally id= 1), use a function like:<br> (the below function is just an example) in your chrom.domain.com theme's template file</p> <pre><code>function get_recent_blogposts_wpmu($blog_id,$show){ wp_reset_query(); switch_to_blog($blog_id); global $post;?&gt; &lt;?php $my_query = new WP_Query('showposts='.$show.'&amp;order=DSC'); while ($my_query-&gt;have_posts()) : $my_query-&gt;the_post(); $do_not_duplicate = $post-&gt;ID; ?&gt; &lt;li class="post_link"&gt;&lt;a href="&lt;?php the_permalink() ?&gt;" rel="bookmark"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt; &lt;/li&gt; &lt;div style="float:left;margin:5px 0 0 10px;"&gt; &lt;?php the_content(); ?&gt; &lt;/div&gt; &lt;?php endwhile; ?&gt; &lt;?php restore_current_blog(); } </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload