Title: DataGnostics's Replies | WordPress.org

---

# DataGnostics

  [  ](https://wordpress.org/support/users/datagnostics/)

 *   [Profile](https://wordpress.org/support/users/datagnostics/)
 *   [Topics Started](https://wordpress.org/support/users/datagnostics/topics/)
 *   [Replies Created](https://wordpress.org/support/users/datagnostics/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/datagnostics/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/datagnostics/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/datagnostics/engagements/)
 *   [Favorites](https://wordpress.org/support/users/datagnostics/favorites/)

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Boilerplate] Is there an equivalent of do_shortcode() for boilerplates?](https://wordpress.org/support/topic/plugin-boilerplate-is-there-an-equivalent-of-do_shortcode-for-boilerplates/)
 *  Thread Starter [DataGnostics](https://wordpress.org/support/users/datagnostics/)
 * (@datagnostics)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-boilerplate-is-there-an-equivalent-of-do_shortcode-for-boilerplates/#post-2631187)
 * YES! That worked! Thank you very much.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Boilerplate] Is there an equivalent of do_shortcode() for boilerplates?](https://wordpress.org/support/topic/plugin-boilerplate-is-there-an-equivalent-of-do_shortcode-for-boilerplates/)
 *  Thread Starter [DataGnostics](https://wordpress.org/support/users/datagnostics/)
 * (@datagnostics)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-boilerplate-is-there-an-equivalent-of-do_shortcode-for-boilerplates/#post-2631171)
 * No, that doesn’t do it.
 * I’ve got a function, called by a shortcode, that takes the content of all pages
   with the tag “soon” and puts them on the News page. Part of the function runs
   like this:
 *     ```
       $soon_text .= $soonlink . get_the_title().'</a></h3>';
       $thiscontent = get_the_content();
       $coded_content = do_shortcode( $thiscontent );
       $soon_text .= $coded_content;
       ```
   
 * If there is a shortcode inside that page’s content, “do_shortcode” processes 
   it so it displays properly on the News page.
 * However, if I have a boilerplate on that page, it is *not* processed, and `[boilerplate
   plate = "foo"]` is right there for all to see.
 * I need a way to nest the boilerplate within a *shortcode*, not just within another
   boilerplate.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Organize Series] Hierarchical or overlapping series](https://wordpress.org/support/topic/plugin-organize-series-hierarchical-or-overlapping-series/)
 *  Thread Starter [DataGnostics](https://wordpress.org/support/users/datagnostics/)
 * (@datagnostics)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-organize-series-hierarchical-or-overlapping-series/#post-1729231)
 * For right now, I duplicated Organize Series (2.2) and changed the names of variables
   and functions to make it “Organize Chapters”, with its own Admin section to “
   Organize Multichapter Works”.
 * I’m having one problem. I’ve got a development version on my local machine (Windows
   IIS7), and am testing the move up to the production version (Linux). Both use
   PHP Version 5.2.14.
 * Everything looks fine in development, but on the production server the number%
   total_posts_in_series% is one higher than it should be. Here’s what happens when
   I put in tracking code:
 *     ```
       function wp_postlist_count($ser_id = false) {
       	echo 'inside wp_postlist_count ';
       	if (!$ser_id) {
       		echo 'Point A ';
       		$series = get_the_series();
       		if (!empty($series)) {
       			echo 'Point B ';
       			$postlist_count = $series[0]->count;
       		} else {
       			echo 'Point C ';
       			$postlist_count = 0;
       		}
       	} else {
       		echo 'Point D ';
       		$series = get_orgserial($ser_id);
       		if (!empty($series)) {
       			echo 'Point E ';
       			$postlist_count = $series->count;
       		} else {
       			echo 'Point F ';
       			$postlist_count = 0;
       		}
       	}	
   
       	return $postlist_count;
       }
       ```
   
 * Results on development system, for a “series” with a single post in it:
 *     ```
       inside wp_postlist_count Point A Point B inside wp_postlist_count Point A Point B inside wp_postlist_count Point A Point B
       This entry is part 1 of 1 in the series
       ```
   
 * On production system:
 *     ```
       inside wp_postlist_count Point A Point B inside wp_postlist_count Point A Point B inside wp_postlist_count Point A Point B inside wp_postlist_count Point A Point B
       This entry is part 1 of 2 in the series
       ```
   
 * Clearly, on the production system the function is going through an extra loop—
   but I don’t know why, or how to make it stop.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Organize Series] Hierarchical or overlapping series](https://wordpress.org/support/topic/plugin-organize-series-hierarchical-or-overlapping-series/)
 *  Thread Starter [DataGnostics](https://wordpress.org/support/users/datagnostics/)
 * (@datagnostics)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-organize-series-hierarchical-or-overlapping-series/#post-1729201)
 * I’ve got the add-on, but I don’t understand how to use it. Can I use the “groupings”
   to make an ordered sub-list?

Viewing 4 replies - 1 through 4 (of 4 total)