Changeset 704213
- Timestamp:
- 04/26/2013 01:53:58 PM (13 years ago)
- Location:
- cross-network-posts/tags/1.0
- Files:
-
- 2 edited
-
cnp.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cross-network-posts/tags/1.0/cnp.php
r704171 r704213 8 8 License: GPLv2 or later 9 9 */ 10 function GetPostFromBlog($atts, $content=null) { 10 function GetPostFromBlog($atts, $content) { 11 11 12 ob_start(); 12 13 … … 48 49 $query = new WP_Query($args); 49 50 while ($query->have_posts()) : $query->the_post(); 50 51 51 if($header != 0):?> 52 52 <h<?php echo $header;?>> -
cross-network-posts/tags/1.0/readme.txt
r704176 r704213 1 === Cross- network posts ===1 === Cross-Network posts === 2 2 Contributors: DanielTulp 3 3 Donate link: … … 10 10 11 11 == Description == 12 Gets a post or posts that are within another blog on the same **Wordpress network**. 13 14 Useful if you have a wordpress network (WP-MU) and you want to display a post or categorie of posts of one site on another. For instance when you only want to manage a plugin on one network site. 12 15 13 Gets a post or posts that are within another blog on the same network. 14 15 Useful if you have a wordpress network (WP-MU) install and you want to display contents of one site on another. For instance when you only want to manage a plugin from one network site. 16 ==Notes== 16 17 Use as shortcode: 17 18 … … 27 28 **titlelink=false** -> if you don't want the title to have a permalink (default is true) 28 29 30 If you want to display a plugin through a shortcode that is in one of the posts that you are displaying, make sure that the plugin is also active on the network site where you use CNP. 31 29 32 == Installation == 30 33
Note: See TracChangeset
for help on using the changeset viewer.