Plugin Directory

Changeset 398882


Ignore:
Timestamp:
06/19/2011 01:18:03 PM (15 years ago)
Author:
timhodson
Message:

Fixed: issues with single post shortcodes. and tagged 1.0.7

Location:
blog-in-blog
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • blog-in-blog/tags/1.0.7/blog-in-blog.php

    r398738 r398882  
    55  Plugin URI: http://informationtakesover.co.uk/blog-in-blog-wordpress-plugin/
    66  Description: Create a blog within a blog using a category, post_type or tag. This plugin basically shows selected posts on a page using shortcodes.
    7   Version: 1.0.6
     7  Version: 1.0.7
    88  Author: Tim Hodson
    99  Author URI: http://timhodson.com
     
    3333
    3434if (!defined('BIB_VERSION'))
    35     define('BIB_VERSION', '1.0.6');
     35    define('BIB_VERSION', '1.0.7');
    3636
    3737// Pre-2.6 compatibility
     
    274274        $params['offset'] = $blog_in_blog_opts['offset'];
    275275        $params['numberposts'] = $blog_in_blog_opts['num'];
     276
     277        // get the posts.
     278        $postslist = get_posts($params);
     279
    276280    }else{ // for single posts
    277281        $postslist[0] = wp_get_single_post($blog_in_blog_opts['post_id']);
    278282        $blog_in_blog_opts['pagination'] = 'off';
    279283    }
    280 
    281     // get the posts.
    282     $postslist = get_posts($params);
    283284
    284285    if ($blog_in_blog_opts['bib_debug']) {
  • blog-in-blog/tags/1.0.7/readme.txt

    r398738 r398882  
    55Requires at least: 3.0
    66Tested up to: 3.1
    7 Stable tag: 1.0.6
     7Stable tag: 1.0.7
    88
    99Create multiple blogs within a blog using a category. This plugin shows posts from a category on any page you like using shortcodes.
     
    191191== Changelog ==
    192192
     193= 1.0.7 =
     194
     195* Fixed: issues with single post shortcodes.
     196
    193197= 1.0.6 =
    194198
  • blog-in-blog/trunk/blog-in-blog.php

    r398738 r398882  
    55  Plugin URI: http://informationtakesover.co.uk/blog-in-blog-wordpress-plugin/
    66  Description: Create a blog within a blog using a category, post_type or tag. This plugin basically shows selected posts on a page using shortcodes.
    7   Version: 1.0.6
     7  Version: 1.0.7
    88  Author: Tim Hodson
    99  Author URI: http://timhodson.com
     
    3333
    3434if (!defined('BIB_VERSION'))
    35     define('BIB_VERSION', '1.0.6');
     35    define('BIB_VERSION', '1.0.7');
    3636
    3737// Pre-2.6 compatibility
     
    274274        $params['offset'] = $blog_in_blog_opts['offset'];
    275275        $params['numberposts'] = $blog_in_blog_opts['num'];
     276
     277        // get the posts.
     278        $postslist = get_posts($params);
     279
    276280    }else{ // for single posts
    277281        $postslist[0] = wp_get_single_post($blog_in_blog_opts['post_id']);
    278282        $blog_in_blog_opts['pagination'] = 'off';
    279283    }
    280 
    281     // get the posts.
    282     $postslist = get_posts($params);
    283284
    284285    if ($blog_in_blog_opts['bib_debug']) {
  • blog-in-blog/trunk/readme.txt

    r398738 r398882  
    55Requires at least: 3.0
    66Tested up to: 3.1
    7 Stable tag: 1.0.6
     7Stable tag: 1.0.7
    88
    99Create multiple blogs within a blog using a category. This plugin shows posts from a category on any page you like using shortcodes.
     
    191191== Changelog ==
    192192
     193= 1.0.7 =
     194
     195* Fixed: issues with single post shortcodes.
     196
    193197= 1.0.6 =
    194198
Note: See TracChangeset for help on using the changeset viewer.