Plugin Directory

Changeset 620633


Ignore:
Timestamp:
11/03/2012 09:00:12 AM (13 years ago)
Author:
iluminatus
Message:

Adding blog ID to element classes for styling purposes

Location:
network-latest-posts/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • network-latest-posts/trunk/network-latest-posts.php

    r620259 r620633  
    44Plugin URI: http://en.8elite.com/network-latest-posts
    55Description: Display the latest posts from the blogs in your network using it as a function, shortcode or widget.
    6 Version: 3.4
     6Version: 3.4.1
    77Author: L'Elite
    88Author URI: http://laelite.info/
     
    112112 * -- James
    113113 * --- Proposed ignore posts
     114 *
     115 * -- Anton Channing
     116 * --- Spotted blog IDs were missing from element classes
    114117 *
    115118 * That's it, let the fun begin!
     
    565568            foreach( $pages[$pag-1] as $field ) {
    566569                // Open item box
    567                 echo $html_tags['item_o'];
     570                $item_o = $html_tags['item_o'];
     571                $item_o = str_replace("'>"," nlposts-siteid-".$all_blogkeys[$field->guid]."'>", $item_o);
     572                echo $item_o;
    568573                // Thumbnails
    569574                if( $thumbnail === 'true' ) {
     
    764769            foreach( $all_posts as $field ) {
    765770                // Open item box
    766                 echo $html_tags['item_o'];
     771                $item_o = $html_tags['item_o'];
     772                $item_o = str_replace("'>"," nlposts-siteid-".$all_blogkeys[$field->guid]."'>", $item_o);
     773                echo $item_o;
    767774                // Thumbnails
    768775                if( $thumbnail === 'true' ) {
  • network-latest-posts/trunk/readme.txt

    r620259 r620633  
    55Requires at least: 3.0
    66Tested up to: 3.4.1
    7 Stable tag: 3.4
     7Stable tag: 3.4.1
    88
    99This plugin allows you to pull all the recent posts from the blogs in your WordPress network and display them in your main site (or internal sites)
     
    140140== Changelog ==
    141141
     142= 3.4.1 =
     143* Added CSS class 'nlposts-siteid-x' to each element so they can be styled depending on which blog they were pulled from
     144
    142145= 3.4 =
    143146* NEW Feature: Ignore posts by ID. Now you can ignore certain posts by their IDs ex: post_ignore=1 ignores all "Hello World" posts
Note: See TracChangeset for help on using the changeset viewer.