<?php /* Copyright 2011-2017 Bobbing Wide (email : herb@bobbingwide.com ) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2, as published by the Free Software Foundation. You may NOT assume that you can use any other version of the GPL. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. The license for this software can likely be found here: http://www.gnu.org/licenses/gpl-2.0.html */ oik_require( "includes/bw_images.inc" ); // bw_global_post_id moved to bobbfunc.inc 2013/07/05 if ( !function_exists( "bw_global_post_type" ) ) { /* function bw_global_post_type() – Return the global post’s post_type */ } /* function bw_global_excerpt() – Return the value of the GLOBAL post’s excerpt field setting it to the new value */ /* function bw_process_this_post() – Determine whether or not to process this post */ /* function bw_clear_processed_posts() – Clear the array of processed posts */ /* function bw_report_recursion_error */ /* function bw_get_the_content() – Expand shortcodes in the content */ /* function bw_get_the_excerpt() – Expands shortcodes in the excerpt */ /* function bw_more_text() – Set and retrieve the custom "read more" text */ /* function bw_excerpt() – Return the excerpt from the $post */ /* function bw_format_post() – Format the "post" – basic first version */ /* function bw_format_read_more() – Produce a read_more link as required ( block ) */ /* function bw_format_more() – Produce a more link as required ( inline ) */ /* function bw_format_thumbnail() – Format the thumbnail when displayed in a block */ /* function bw_format_list() – Format the "post" – in a simple list item list */ /* function bw_get_categories() – Get the list of categories for this "post" as a string of slugs separated by commas */ /* function bw_get_posts() – Wrapper to get_posts() */ /* function _bw_get_posts() – Wrapper to WP_query::query() */ /* function bw_get_post() – Get the post / custom post type identified by the ID and post type */ /* function bw_get_by_metakey_array() – Load posts by meta_key array */View on GitHub View on Trac