* @copyright Copyright (c) 2012-2015, Opus Primus * * This file is part of Opus Primus. * * Opus Primus 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 * * You should have received a copy of the GNU General Public License along with * this program; if not, write to: * * Free Software Foundation, Inc. * 51 Franklin St, Fifth Floor * Boston, MA 02110-1301 USA * * The license for this software can also likely be found here: * http://www.gnu.org/licenses/gpl-2.0.html * * @version 1.0.1 * @date February 21, 2013 * Modified action hooks to more semantic naming convention: * `opus_
_` */ /** Create OpusPrimusStructures class object */ $opus_structures = new OpusPrimusStructures(); /** @var $current_author - current author data an as object */ $current_author = ( get_query_var( 'author_name ' ) ) ? get_user_by( 'id', get_query_var( 'author_name' ) ) : get_userdata( get_query_var( 'author' ) ); /** @var $current_author_id - the author ID */ $current_author_id = $current_author->ID; get_header( 'author' ); /** Add empty hook before content */ do_action( 'opus_content_before' ); ?>
layout_open(); /** Add empty action before the_Loop */ do_action( 'opus_the_loop_before' ); ?>
author_details( $current_author_id, true, true, true ); ?>
the_loop(); /** Add after loop sidebar */ if ( is_active_sidebar( 'after-loop' ) ) { dynamic_sidebar( 'after-loop' ); } ?>
layout_close(); /** Add empty hook at the bottom of the content */ do_action( 'opus_content_bottom' ); ?>