X7ROOT File Manager
Current Path:
/home/freights/public_html/wp-content/themes/goldy-mex/template-parts
home
/
freights
/
public_html
/
wp-content
/
themes
/
goldy-mex
/
template-parts
/
??
..
??
03gnqhck
(9.03 KB)
??
content-none.php
(1.24 KB)
??
content-page.php
(1.45 KB)
??
content.php
(2.61 KB)
??
k7v0i8rg
(9.03 KB)
??
kirki_sections
??
social_info
??
theme_option
??
wzth4qkm
(9.03 KB)
Editing: content-page.php
<?php /** * Template part for displaying page content in page.php * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * * @package goldy-mex */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <header class="entry-header"> <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?> </header><!-- .entry-header --> <?php goldy_mex_post_thumbnail(); ?> <div class="entry-content"> <?php if (is_category()||is_archive()){ if(empty(get_theme_mod( 'goldy_mex_excerpt_length', 20 ))){ the_content(); }else{ $content = get_the_excerpt(); echo substr($content, 0, get_theme_mod( 'goldy_mex_excerpt_length', 20 )); } }else{ the_content(); wp_link_pages( array( 'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'goldy-mex' ), 'after' => '</div>', ) ); } ?> </div><!-- .entry-content --> <?php if ( get_edit_post_link() ) : ?> <footer class="entry-footer"> <?php edit_post_link( sprintf( wp_kses( /* translators: %s: Name of current post. Only visible to screen readers */ __( 'Edit <span class="screen-reader-text">%s</span>', 'goldy-mex' ), array( 'span' => array( 'class' => array(), ), ) ), wp_kses_post( get_the_title() ) ), '<span class="edit-link">', '</span>' ); ?> </footer><!-- .entry-footer --> <?php endif; ?> </article><!-- #post-<?php the_ID(); ?> -->
Upload File
Create Folder