File Editor
Directories:
.. (Back)
Files:
_content-post-header.php
_template-blank-sidebar.php
content-audio.php
content-gallery.php
content-image.php
content-link.php
content-page.php
content-portfolio.php
content-quote.php
content-video.php
content.php
template-blank-1.php
template-blank-2.php
template-blank-3.php
template-blank-4.php
template-blank-5.php
template-blank-6.php
template-blank-7.php
template-blank-8.php
template-layout-content-sidebar.php
template-layout-full-width.php
template-layout-portfolio.php
template-layout-sidebar-content.php
woocommerce.php
wp-404.php
wp-bbpress.php
wp-buddypress.php
wp-comments.php
wp-index.php
wp-page.php
wp-sidebar.php
wp-single-x-portfolio.php
wp-single.php
Create New File
Create
Edit File: content-link.php
<?php // ============================================================================= // VIEWS/ICON/CONTENT-LINK.PHP // ----------------------------------------------------------------------------- // Link post output for Icon. // ============================================================================= $link = get_post_meta( get_the_ID(), '_x_link_url', true ); ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="entry-wrap"> <?php x_icon_comment_number(); ?> <div class="x-container max width"> <header class="entry-header"> <?php if ( is_single() ) : ?> <h1 class="entry-title"> <a href="<?php echo esc_url( $link ); ?>" title="<?php echo esc_attr( sprintf( __( 'Shared link from post: "%s"', '__x__' ), the_title_attribute( 'echo=0' ) ) ); ?>" <?php x_output_target_blank(); ?> class="entry-external-link"><i class="x-icon-paperclip" data-x-icon-s=""></i></a> <?php echo $link; ?> </h1> <?php else : ?> <h2 class="entry-title"> <a href="<?php echo esc_url( $link ); ?>" title="<?php echo esc_attr( sprintf( __( 'Shared link from post: "%s"', '__x__' ), the_title_attribute( 'echo=0' ) ) ); ?>" <?php x_output_target_blank(); ?> class="entry-external-link"><i class="x-icon-paperclip" data-x-icon-s=""></i></a> <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to: "%s"', '__x__' ), the_title_attribute( 'echo=0' ) ) ); ?>"><?php echo $link; ?></a> </h2> <?php endif; ?> <?php x_icon_entry_meta(); ?> </header> <?php if ( is_single() ) : ?> <?php if ( has_post_thumbnail() ) : ?> <div class="entry-featured"> <?php x_featured_image(); ?> </div> <?php endif; ?> <?php x_get_view( 'global', '_content', 'the-content' ); ?> <?php endif; ?> </div> </div> </article>
Save Changes
Rename File
Rename