<?php /** * Start the Loop */ while (have_posts()) { the_post(); /** * Run the loop for the search to output the results. * If you want to overload this in a child theme then include a file * called content-page.php and that will be used instead. */ get_template_part('content', 'page'); } ?> </main><!-- #main --> <div class="bdp-sidebar" <?php wr_ferado_schema_metadata(array('context' => 'sidebar')); ?> > <?php dynamic_sidebar('buddypress'); ?> </div><!-- bdp-sidebar --> </section><!-- .container --> <?php get_footer();
?> "> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="profile" href="http://gmpg.org/xfn/11"> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?> "> <?php wp_head(); ?> </head> <body <?php body_class(); wr_ferado_schema_metadata(array('context' => 'body')); ?> > <?php if (wr_ferado_theme_option('wr_loading')) { ?> <div id="pageloader"> <div id="loader"></div> <div class="loader-section left"></div> <div class="loader-section right"></div> </div> <?php } ?> <div id="page" class="hfeed site">
* @version 1.5 * @package Ferado * @author WooRockets Team <*****@*****.**> * @copyright Copyright (C) 2014 WooRockets.com. All Rights Reserved. * @license GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html * * Websites: http://www.woorockets.com */ ?> <article id="post-<?php the_ID(); ?> " <?php post_class(); wr_ferado_schema_metadata(array('context' => 'entry')); ?> > <div class="entry-content" <?php wr_ferado_schema_metadata(array('context' => 'entry_content')); ?> > <?php the_content(); ?> <?php wp_link_pages(array('before' => '<div class="page-links">' . __('Pages:', 'ferado'), 'after' => '</div>')); ?> </div><!-- .entry-content --> </article><!-- #post -->
function wr_ferado_comments($comment, $args, $depth) { // Globalize comment object $GLOBALS['comment'] = $comment; switch ($comment->comment_type) { case 'pingback': case 'trackback': ?> <li <?php comment_class(); ?> id="comment-<?php comment_ID(); ?> "> <p> <?php _e('Pingback:', 'ferado'); comment_author_link(); edit_comment_link(__('Edit', 'ferado'), '<span class="edit-link">', '</span>'); ?> </p> <?php break; default: global $post; ?> <li <?php comment_class(); ?> id="li-comment-<?php comment_ID(); ?> "> <article id="comment-<?php comment_ID(); ?> " class="comment-body" <?php wr_ferado_schema_metadata(array('context' => 'comment')); ?> > <div class="comment-avatar"> <?php echo get_avatar($comment, 72); ?> <div class="action-link"> <?php edit_comment_link(__('<span>Edit</span>', 'ferado')); comment_reply_link(array_merge($args, array('reply_text' => __('<span>Reply</span>', 'ferado'), 'depth' => $depth, 'max_depth' => $args['max_depth']))); ?> </div><!-- .action-link --> </div> <?php if ('0' == $comment->comment_approved) { ?> <p class="comment-awaiting-moderation"><?php _e('Your comment is awaiting moderation.', 'ferado'); ?> </p> <?php } ?> <header class="comment-meta"> <?php printf('<cite class="comment-author" ' . wr_ferado_schema_metadata(array('context' => 'comment_author', 'echo' => false)) . '>%1$s</cite>', '<span ' . wr_ferado_schema_metadata(array('context' => 'author_name', 'echo' => false)) . '>' . get_comment_author_link() . '</span>', $comment->user_id == $post->post_author ? '<span class="author-post">' . __('Post author', 'ferado') . '</span>' : ''); printf('<a href="%1$s"><time ' . wr_ferado_schema_metadata(array('context' => 'comment_time', 'echo' => false)) . '><span> - </span> %3$s</time></a>', esc_url(get_comment_link($comment->comment_ID)), get_comment_time('c'), sprintf(__('%1$s at %2$s', 'ferado'), get_comment_date(), get_comment_time())); ?> </header> <section class="comment-content comment" <?php wr_ferado_schema_metadata(array('context' => 'comment_text')); ?> > <?php comment_text(); ?> </section><!-- .comment-content --> </article><!-- #comment- --> <?php break; } }
function wr_ferado_get_sidebar_woo() { ?> <div class="shop-sidebar" <?php wr_ferado_schema_metadata(array('context' => 'sidebar')); ?> > <?php if (is_active_sidebar('wcm')) { dynamic_sidebar('wcm'); } ?> </div> <?php }
/** * @version 1.5 * @package Ferado * @author WooRockets Team <*****@*****.**> * @copyright Copyright (C) 2014 WooRockets.com. All Rights Reserved. * @license GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html * * Websites: http://www.woorockets.com */ ?> </div><!-- #content --> <footer id="colophon" class="site-footer" <?php wr_ferado_schema_metadata(array('context' => 'footer')); ?> > <div class="top"> <div class="container"> <?php echo wr_ferado_social_channel(); ?> </div><!-- .container --> </div><!-- .top --> <?php get_sidebar('bottom'); ?>
/** * Output the secondary sidebar if layout allows for it. * * @since 1.0 */ function wr_ferado_get_sidebar_secondary() { ?> <div id="secondary-sidebar" class="secondary-sidebar" <?php wr_ferado_schema_metadata(array('context' => 'sidebar')); ?> > <?php if (is_active_sidebar('secondary-sidebar')) { dynamic_sidebar('secondary-sidebar'); } else { ?> <aside class="widget widget_text"> <h3 class="widget-title"><?php _e('Secondary Sidebar', 'ferado'); ?> </h3> <div class="textwidget"> <?php printf(__('This is the Left Sidebar Area. You can add content to this area by visiting your %1$s and adding new widgets to this area.', 'ferado'), '<a href="' . esc_url(admin_url('widgets.php', 'http')) . '"><b>' . __('Widgets Panel', 'ferado') . '</b></a>'); ?> </div> </aside> <?php } ?> </div> <?php }