PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
themes
/
wpnull24
/
framework
/
templates
/
elements
<?php defined( 'ABSPATH' ) OR die( 'This script cannot be accessed directly.' ); /** * Output Post Prev/Next navigation */ $prevnext = us_get_post_prevnext( $invert, $in_same_term, $taxonomy ); if ( empty( $prevnext ) ) { return; } $classes = ' layout_' . $layout; $classes .= ( $invert ) ? ' inv_true' : ' inv_false'; if ( ! empty( $css ) AND function_exists( 'vc_shortcode_custom_css_class' ) ) { $classes .= ' ' . vc_shortcode_custom_css_class( $css ); } $classes .= ( ! empty( $el_class ) ) ? ( ' ' . $el_class ) : ''; $el_id = ( ! empty( $el_id ) AND $us_elm_context == 'shortcode' ) ? ( ' id="' . esc_attr( $el_id ) . '"' ) : ''; // Output the element $output = '<div class="w-post-elm post_navigation' . $classes . '"' . $el_id . '>'; $item_order = 'first'; foreach ( $prevnext as $key => $item ) { if ( ! empty( $prevnext[ $key ] ) ) { $tnail_id = get_post_thumbnail_id( $item['id'] ); if ( $tnail_id ) { $image = wp_get_attachment_image( $tnail_id, 'thumbnail' ); } if ( ! $tnail_id OR empty( $image ) ) { $image = '<div class="g-placeholder"></div>'; } $output .= '<a class="post_navigation-item order_' . $item_order . ' to_' . $key . '" href="' . $item['link'] . '">'; if ( $layout == 'sided' ) { $output .= '<div class="post_navigation-item-img">' . $image . '</div>'; } $output .= '<div class="post_navigation-item-arrow"></div>'; if ( $layout == 'simple' ) { $output .= '<div class="post_navigation-item-meta">' . $item['meta'] . '</div>'; } $output .= '<div class="post_navigation-item-title"><span>' . $item['title'] . '</span></div>'; $output .= '</a>'; } else { $output .= '<div class="post_navigation-item order_' . $item_order . ' to_' . $key . '"></div>'; } $item_order = 'second'; } $output .= '</div>'; echo $output;
[+]
..
[-] person.php
[edit]
[-] separator.php
[edit]
[-] post_custom_field.php
[edit]
[-] post_image.php
[edit]
[-] page_block.php
[edit]
[-] image_slider.php
[edit]
[-] cform.php
[edit]
[-] progbar.php
[edit]
[-] btn.php
[edit]
[-] product_field.php
[edit]
[-] socials.php
[edit]
[-] cta.php
[edit]
[-] message.php
[edit]
[-] vc_wp_custommenu.php
[edit]
[-] contacts.php
[edit]
[-] post_taxonomy.php
[edit]
[-] flipbox.php
[edit]
[-] grid.php
[edit]
[-] post_comments.php
[edit]
[-] gallery.php
[edit]
[-] sharing.php
[edit]
[-] post_date.php
[edit]
[-] product_ordering.php
[edit]
[-] post_navigation.php
[edit]
[-] add_to_cart.php
[edit]
[-] product_gallery.php
[edit]
[-] gmaps.php
[edit]
[-] vc_tta_tabs.php
[edit]
[-] breadcrumbs.php
[edit]
[-] page_title.php
[edit]
[-] counter.php
[edit]
[-] vc_video.php
[edit]
[-] cart.php
[edit]
[-] post_content.php
[edit]
[-] image.php
[edit]
[-] vc_row_inner.php
[edit]
[-] dropdown.php
[edit]
[-] iconbox.php
[edit]
[-] vc_column.php
[edit]
[-] post_title.php
[edit]
[-] hwrapper.php
[edit]
[-] .elements.php
[edit]
[-] vc_column_text.php
[edit]
[-] additional_menu.php
[edit]
[-] vc_tta_section.php
[edit]
[-] popup.php
[edit]
[-] scroller.php
[edit]
[-] menu.php
[edit]
[-] pricing.php
[edit]
[-] search.php
[edit]
[-] text.php
[edit]
[-] post_author.php
[edit]
[-] vc_row.php
[edit]
[-] itext.php
[edit]
[-] html.php
[edit]