X7ROOT File Manager
Current Path:
/home/oakwood/public_html/wp-content/themes/rife-free
home
/
oakwood
/
public_html
/
wp-content
/
themes
/
rife-free
/
ðŸ“
..
📄
404.php
(1.35 KB)
ðŸ“
advance
📄
albums-list.php
(3.45 KB)
📄
albums-template.php
(225 B)
📄
archives-template.php
(4.04 KB)
📄
attachment.php
(4.41 KB)
📄
changelog.txt
(53.62 KB)
📄
comments.php
(1.43 KB)
📄
content-chat.php
(706 B)
📄
content-link.php
(1.1 KB)
📄
content-status.php
(628 B)
📄
content.php
(1.47 KB)
ðŸ“
css
ðŸ“
default-settings
ðŸ“
fonts
📄
footer.php
(829 B)
📄
front-page.php
(1.48 KB)
📄
functions.php
(893 B)
ðŸ“
header-variants
📄
header.php
(1.42 KB)
ðŸ“
images
📄
index.php
(3.87 KB)
ðŸ“
js
ðŸ“
languages
📄
no-content.php
(2.12 KB)
📄
page.php
(2.44 KB)
ðŸ“
parts
📄
password-template.php
(1.28 KB)
📄
readme.txt
(6.96 KB)
📄
rife-free.theme
(968 B)
📄
screenshot.png
(333.35 KB)
ðŸ“
searchwp-live-ajax-search
📄
sidebar.php
(1.65 KB)
📄
single-album.php
(5.08 KB)
📄
single-work-ajax.php
(2.45 KB)
📄
single-work.php
(5.18 KB)
📄
single.php
(2.33 KB)
📄
style-rtl.css
(208.46 KB)
📄
style.css
(212.34 KB)
📄
taxonomy-genre.php
(351 B)
📄
taxonomy-work_genre.php
(347 B)
ðŸ“
woocommerce
📄
works-list.php
(3.43 KB)
📄
works-template.php
(221 B)
📄
wpml-config.xml
(7.31 KB)
Editing: index.php
<?php /** * The main template file. * * This is the most generic template file in a WordPress theme * and one of the two required files for a theme (the other being style.css). * It is used to display a page when nothing more specific matches a query. * E.g., it puts together the home page when no home.php file exists. * Learn more: http://codex.wordpress.org/Template_Hierarchy * * In this theme we use it as home.php, archive.php and search.php to reduce number of templates */ if ( ! defined( 'ABSPATH' ) ) { exit; } // Exit if accessed directly global $apollo13framework_a13; $ajax_call = false; if(isset( $_REQUEST['a13-ajax-get']) ){ $ajax_call = true; } if($ajax_call) { apollo13framework_display_items_from_query_post_list(); //send also current pagination when ajax call the_posts_pagination(); apollo13framework_result_count(); } else{ $_title = ''; //Lets decide what is the title if ( is_search() ) { /* Search Count */ $all_search = new WP_Query( "s=$s&showposts=-1" ); $count = $all_search->post_count; /* translators: %1$d number of results, %2$s search query */ $_title = sprintf( esc_html( _n( '%1$d search result for "%2$s"', '%1$d search results for "%2$s"', $count, 'rife-free' ) ), $count, get_search_query() ); } elseif ( is_archive() ) { if ( is_author() ) { /* translators: %s - author name */ $_title = sprintf( esc_html__( 'Author Archives: %s', 'rife-free' ), "<span class='vcard'>" . get_the_author() . "</span>" ); } elseif ( is_category() ) { /* translators: %s - category name */ $_title = sprintf( esc_html__( 'Category Archives: %s', 'rife-free' ), '<span>' . single_cat_title( '', false ) . '</span>' ); } elseif ( is_tag() ) { /* translators: %s - tag name */ $_title = sprintf( esc_html__( 'Tag Archives: %s', 'rife-free' ), '<span>' . single_tag_title( '', false ) . '</span>' ); } elseif ( is_day() ) { /* translators: %s - day */ $_title = sprintf( esc_html__( 'Daily Archives: %s', 'rife-free' ), '<span>' . get_the_date() . '</span>' ); } elseif ( is_month() ) { /* translators: %s - month */ $_title = sprintf( esc_html__( 'Monthly Archives: %s', 'rife-free' ), '<span>' . get_the_date( 'F Y' ) . '</span>' ); } elseif ( is_year() ) { /* translators: %s - year */ $_title = sprintf( esc_html__( 'Yearly Archives: %s', 'rife-free' ), '<span>' . get_the_date( 'Y' ) . '</span>' ); } else { $_title = esc_html__( 'Blog Archives', 'rife-free' ); } } $lazy_load = $apollo13framework_a13->get_option('blog_lazy_load') === 'on'; $pagination_class = $lazy_load? ' lazy-load-on' : ''; get_header(); // Elementor `archive` location if ( ! function_exists( 'elementor_theme_do_location' ) || ! elementor_theme_do_location( 'archive' ) ){ apollo13framework_title_bar( 'outside', $_title ); ?> <article id="content" class="clearfix"> <div class="content-limiter"> <div id="col-mask"> <div class="content-box<?php echo esc_attr( $pagination_class ); ?>"> <?php /* Need text content in blog page? See answer https://support.apollo13.eu/discussion/comment/19558/#Comment_19558 */ /*global $post; $page_for_posts_id = get_option('page_for_posts'); if ( $page_for_posts_id ) : $post = get_post($page_for_posts_id); setup_postdata($post); the_content(); rewind_posts(); endif;*/ //filter if( $apollo13framework_a13->get_option( 'blog_filter' ) === 'on' ){ get_template_part( 'parts/category-filter' ); } apollo13framework_display_items_from_query_post_list(); ?> <div class="clear"></div> <?php the_posts_pagination(); apollo13framework_result_count(); ?> </div> <?php get_sidebar(); ?> </div> </div> </article> <?php } get_footer(); }
Upload File
Create Folder