PATH:
home
/
letacommog
/
entrepro
/
wp-content
/
themes
/
rehub
/
inc
/
parts
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?> <?php global $post; if (isset($aff_link) && $aff_link == '1') { $link = rehub_create_affiliate_link (); $target = ' rel="nofollow" target="_blank"'; } else { $link = get_the_permalink(); $target = ''; } ?> <article class="small_post col_item<?php if(is_sticky()) {echo " sticky";} ?>"> <div class="top"> <div class="cats_def"> <?php if(rehub_option('exclude_cat_meta') != 1) { if ('post' == get_post_type($post->ID)) { $category = get_the_category(); if($category){ $first_cat = $category[0]->term_id; $cat_data = get_option("category_$first_cat"); $output=''; $output .= '<a href="'.get_category_link($first_cat ).'" class="cat-'.$first_cat.'"'; if (!empty($cat_data['cat_color'])) { $output .= ' style="color: '.$cat_data["cat_color"].' !important; "'; } $output .='>'.$category[0]->cat_name.'</a>'; echo ''.$output; } } elseif ('blog' == get_post_type($post->ID)) { $term_list = get_the_term_list( $post->ID, 'blog_category', '', ' ', '' ); if($term_list && !is_wp_error($term_list)){ echo ''.$term_list; } } } ?> </div> <?php if (rehub_option('exclude_comments_meta') == 0) : ?><?php comments_popup_link( 0, 1, '%', 'comment_two', ''); ?><?php endif ;?> </div> <h2><?php if(is_sticky()) {echo "<i class='far fa-thumb-tack'></i>";} ?><a href="<?php echo ''.$link;?>"<?php echo ''.$target;?>><?php the_title();?></a></h2> <div class="post-meta"> <?php meta_all( true, false, true ); ?> </div> <?php do_action( 'rehub_after_masonry_grid_meta' ); ?> <div class="mb10"><?php rehub_format_score('small') ?></div> <?php if(vp_metabox('rehub_post.rehub_framework_post_type') == 'music') : ?> <?php if(vp_metabox('rehub_post.music_post.0.music_post_source') == 'music_post_soundcloud') : ?> <div class="music_soundcloud mb15"> <?php echo vp_metabox('rehub_post.music_post.0.music_post_soundcloud_embed'); ?> </div> <?php elseif(vp_metabox('rehub_post.music_post.0.music_post_source') == 'music_post_spotify') : ?> <div class="music_spotify mb15"> <iframe src="https://embed.spotify.com/?uri=<?php echo vp_metabox('rehub_post.music_post.0.music_post_spotify_embed'); ?>" width="100%" height="80" frameborder="0" allowtransparency="true"></iframe> </div> <?php endif; ?> <?php else : ?> <figure> <?php if(rehub_option('repick_social_disable') !='1') :?> <?php echo rehub_social_inimage('minimal'); ?> <?php endif;?> <?php echo re_badge_create('ribbonleft'); ?> <div class="pattern"></div> <?php rehub_formats_icons('full'); ?> <a href="<?php echo ''.$link;?>"<?php echo ''.$target;?>><?php wpsm_thumb ('grid_news') ?></a> </figure> <?php endif; ?> <?php do_action( 'rehub_after_masonry_grid_figure' ); ?> <p><?php kama_excerpt('maxchar=200'); ?></p> <?php do_action( 'rehub_after_masonry_grid_text' ); ?> <?php if(rehub_option('disable_btn_offer_loop')!='1') : ?><?php rehub_create_btn('yes') ;?><?php endif; ?> </article>
[+]
..
[-] woocolumnpart.php
[edit]
[-] affeggurl.php
[edit]
[-] woogridcompact.php
[edit]
[-] compact_grid.php
[edit]
[-] simplepostlist.php
[edit]
[-] query_type3.php
[edit]
[-] column_grid.php
[edit]
[-] post_share.php
[edit]
[-] branded_banner.php
[edit]
[-] singleofferpart.php
[edit]
[-] featured.php
[edit]
[-] query_type2.php
[edit]
[-] affeggbutton.php
[edit]
[-] pricealertpopup.php
[edit]
[-] query_type1.php
[edit]
[-] woo_slider.php
[edit]
[-] blogrelated.php
[edit]
[-] top_image.php
[edit]
[-] woocompactcarousel.php
[edit]
[-] home_carousel.php
[edit]
[-] multiofferpart.php
[edit]
[-] gallery_slider.php
[edit]
[-] video_featured.php
[edit]
[-] news_ticker.php
[edit]
[-] review_slider.php
[edit]
[-] postlistpart.php
[edit]
[-] pricehistorypopup.php
[edit]
[-] woolistpart.php
[edit]
[-] prevnext.php
[edit]
[-] related_posts.php
[edit]
[-] woogridpart.php
[edit]
[-] woolistmain.php
[edit]