function weaverx_meta_info_class($who) { // 'post_hide_date', 'post_hide_author', 'post_hide_categories', 'hide_singleton_category', 'post_hide_tags' $class = 'meta-info-wrap'; if (weaverx_getopt('post_hide_date')) { // check for hide various elements $class .= ' post-hide-date'; } if (weaverx_getopt('post_hide_author')) { // check for hide various elements $class .= ' post-hide-author'; } if (weaverx_getopt('post_hide_categories')) { // check for hide various elements $class .= ' post-hide-categories'; } if (weaverx_getopt('hide_singleton_category')) { // check for hide various elements $class .= ' post_hide_single_cat'; } if (weaverx_getopt('post_hide_tags')) { // check for hide various elements $class .= ' post-hide-tags'; } if (weaverx_getopt('hide_permalink')) { // check for hide various elements $class .= ' post-hide-permalink'; } if ($class != 'meta-info-wrap' || weaverx_getopt('post_icons') == 'fonticons' || weaverx_getopt('post_icons') == 'graphics') { if (weaverx_getopt('post_icons') != 'graphics') { $class .= ' entry-meta-gicons '; } else { $class .= ' entry-meta-icons'; } } $class .= weaverx_text_class($who, true); return 'class="' . trim($class) . '"'; }
<?php if (weaverx_show_only_title()) { return; } weaverx_post_div('content'); weaverx_the_post_full(); weaverx_link_pages(); ?> </div><!-- .entry-content --> <?php if (!weaverx_is_checked_post_opt('_pp_hide_top_post_meta') && !weaverx_is_checked_post_opt('_pp_hide_bottom_post_meta') && !weaverx_is_checked_page_opt('_pp_hide_infotop') && !weaverx_is_checked_page_opt('_pp_hide_infobottom')) { ?> <footer class="entry-utility-wrap"> <div class="entry-utility<?php echo weaverx_text_class('post_info_bottom'); ?> "> <?php printf(__('<a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s">%3$s</time></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%4$s" title="%5$s" rel="author">%6$s</a></span></span>', 'weaver-xtreme'), esc_url(get_permalink()), get_the_date('c'), get_the_date(), esc_url(get_author_posts_url(get_the_author_meta('ID'))), sprintf(esc_attr__('View all posts by %s', 'weaver-xtreme'), get_the_author()), get_the_author()); /* translators: used between list items, there is a space after the comma */ $categories_list = get_the_category_list(__(', ', 'weaver-xtreme')); if ($categories_list) { ?> <span class="cat-links"> <?php printf(__('<span class="%1$s">Posted in</span> %2$s', 'weaver-xtreme'), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list); ?> </span> <?php }
?> </span> </nav><!-- #nav-above --> <article id="post-<?php the_ID(); ?> " <?php post_class('page-image'); ?> > <?php weaverx_page_title(); ?> <div class="entry-meta <?php weaverx_text_class('post_info_top', true); ?> "> <?php $metadata = wp_get_attachment_metadata(); printf(__('<span class="meta-prep meta-prep-entry-date">Published </span> <span class="entry-date"><abbr class="published" title="%1$s">%2$s</abbr></span> at <a href="%3$s" title="Link to full-size image">%4$s × %5$s</a> in <a href="%6$s" title="Return to %7$s" rel="gallery">%8$s</a>', 'weaver-xtreme'), esc_attr(get_the_time()), get_the_date(), esc_url(wp_get_attachment_url()), $metadata['width'], $metadata['height'], esc_url(get_permalink($post->post_parent)), esc_attr(strip_tags(get_the_title($post->post_parent))), get_the_title($post->post_parent)); weaverx_link_pages(); ?> </div><!-- .entry-meta --> </header><!-- .entry-header --> <div class="entry-content clearfix"> <div class="entry-attachment"> <?php /**