golden hour
/home/phakp/public_html/wp/wp-content/themes/zerif-lite
⬆️ Go Up
Upload
File/Folder
Size
Actions
404.php
855 B
Del
OK
CHANGELOG.md
20.78 KB
Del
OK
archive-download.php
1.83 KB
Del
OK
archive.php
1.87 KB
Del
OK
class-tgm-plugin-activation.php
120.27 KB
Del
OK
comments.php
2.65 KB
Del
OK
content-archive-download.php
790 B
Del
OK
content-frontpage.php
4.4 KB
Del
OK
content-large.php
3.98 KB
Del
OK
content-none.php
1.04 KB
Del
OK
content-page-no-title.php
800 B
Del
OK
content-page.php
1.15 KB
Del
OK
content-single-download.php
565 B
Del
OK
content-single.php
2.21 KB
Del
OK
content.php
3.16 KB
Del
OK
css
-
Del
OK
fonts
-
Del
OK
footer.php
10.26 KB
Del
OK
front-page.php
3.18 KB
Del
OK
functions.php
71.63 KB
Del
OK
header.php
2.96 KB
Del
OK
home.php
2.14 KB
Del
OK
images
-
Del
OK
inc
-
Del
OK
index.php
1.76 KB
Del
OK
js
-
Del
OK
languages
-
Del
OK
license.txt
33.79 KB
Del
OK
page.php
1.72 KB
Del
OK
readme.md
6.01 KB
Del
OK
rtl.css
30.16 KB
Del
OK
screenshot.png
180.12 KB
Del
OK
search.php
1.55 KB
Del
OK
sections
-
Del
OK
sidebar.php
1006 B
Del
OK
single-download.php
888 B
Del
OK
single.php
1.44 KB
Del
OK
style.css
138.25 KB
Del
OK
template-blog-large.php
2.51 KB
Del
OK
template-blog.php
2.5 KB
Del
OK
template-frontpage.php
4.56 KB
Del
OK
template-fullwidth-no-title.php
1.06 KB
Del
OK
template-fullwidth.php
1.04 KB
Del
OK
themeisle-hash.json
1.74 KB
Del
OK
ti-about-page
-
Del
OK
ti-customizer-notify
-
Del
OK
ti-prevdem
-
Del
OK
vendor
-
Del
OK
woocommerce.php
594 B
Del
OK
wpglobus-config.json
3.1 KB
Del
OK
wpml-config.xml
2.16 KB
Del
OK
Edit: content-frontpage.php
<?php /** * Frontpage content * * @package zerif-lite */ $zerif_bigtitle_show = get_theme_mod( 'zerif_bigtitle_show' ); if ( ( isset( $zerif_bigtitle_show ) && $zerif_bigtitle_show != 1 ) || is_customize_preview() ) { get_template_part( 'sections/big_title' ); } ?> </header> <!-- / END HOME SECTION --> <?php zerif_after_header_trigger(); ?> <div id="content" class="site-content"> <?php /* OUR FOCUS SECTION */ $zerif_ourfocus_show = get_theme_mod( 'zerif_ourfocus_show' ); if ( ( isset( $zerif_ourfocus_show ) && $zerif_ourfocus_show != 1 ) || is_customize_preview() ) { get_template_part( 'sections/our_focus' ); } /* RIBBON WITH BOTTOM BUTTON */ get_template_part( 'sections/ribbon_with_bottom_button' ); /* ABOUT US */ $zerif_aboutus_show = get_theme_mod( 'zerif_aboutus_show' ); if ( ( isset( $zerif_aboutus_show ) && $zerif_aboutus_show != 1 ) || is_customize_preview() ) { get_template_part( 'sections/about_us' ); } /* OUR TEAM */ $zerif_ourteam_show = get_theme_mod( 'zerif_ourteam_show' ); if ( ( isset( $zerif_ourteam_show ) && $zerif_ourteam_show != 1 ) || is_customize_preview() ) { get_template_part( 'sections/our_team' ); } /* TESTIMONIALS */ $zerif_testimonials_show = get_theme_mod( 'zerif_testimonials_show' ); if ( ( isset( $zerif_testimonials_show ) && $zerif_testimonials_show != 1 ) || is_customize_preview() ) { get_template_part( 'sections/testimonials' ); } /* RIBBON WITH RIGHT SIDE BUTTON */ get_template_part( 'sections/ribbon_with_right_button' ); /* LATEST NEWS */ $zerif_latestnews_show = get_theme_mod( 'zerif_latestnews_show' ); if ( ( isset( $zerif_latestnews_show ) && $zerif_latestnews_show != 1 ) || is_customize_preview() ) { get_template_part( 'sections/latest_news' ); } /* CONTACT US */ $zerif_contactus_show = get_theme_mod( 'zerif_contactus_show' ); $zerif_alternative_contact_form = get_theme_mod( 'zerif_contactus_shortcode' ); if ( ( isset( $zerif_contactus_show ) && $zerif_contactus_show != 1 ) || is_customize_preview() ) : echo '<section class="contact-us ' . ( ( is_customize_preview() && ( ! isset( $zerif_contactus_show ) || $zerif_contactus_show == 1 ) ) ? ' zerif_hidden_if_not_customizer ' : '' ) . '" id="contact">'; ?> <div class="container"> <!-- SECTION HEADER --> <div class="section-header"> <?php if ( current_user_can( 'edit_theme_options' ) ) { $zerif_contactus_title = get_theme_mod( 'zerif_contactus_title', sprintf( '<a href="%1$s" class="zerif-default-links">%2$s</a>', esc_url( admin_url( 'customize.php?autofocus[control]=zerif_contactus_title' ) ), __( 'Get in touch', 'zerif-lite' ) ) ); } else { $zerif_contactus_title = get_theme_mod( 'zerif_contactus_title' ); } if ( ! empty( $zerif_contactus_title ) ) : echo '<h2 class="white-text">' . wp_kses_post( $zerif_contactus_title ) . '</h2>'; elseif ( is_customize_preview() ) : echo '<h2 class="white-text zerif_hidden_if_not_customizer"></h2>'; endif; $contactus_subtitle_default = ''; if ( ! defined( 'WPFORMS_PLUGIN_DIR' ) ) { /* translators: Pirate Forms plugin install link */ $contactus_subtitle_default = sprintf( __( 'You need to install %s to create a contact form.', 'zerif-lite' ), sprintf( '<a href="%1$s" class="zerif-default-links">%2$s</a>', esc_url( wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=wpforms-lite' ), 'install-plugin_wpforms-lite' ) ), 'WPForms' ) ); } if ( current_user_can( 'edit_theme_options' ) ) { $zerif_contactus_subtitle = get_theme_mod( 'zerif_contactus_subtitle', $contactus_subtitle_default ); } else { $zerif_contactus_subtitle = get_theme_mod( 'zerif_contactus_subtitle' ); } if ( ! empty( $zerif_contactus_subtitle ) ) { echo '<div class="white-text section-legend">' . wp_kses_post( $zerif_contactus_subtitle ) . '</div>'; } elseif ( is_customize_preview() ) { echo '<h6 class="white-text section-legend zerif_hidden_if_not_customizer"></h6>'; } ?> </div> <!-- / END SECTION HEADER --> <?php if ( ! empty( $zerif_alternative_contact_form ) ) : echo '<div class="row">'; echo do_shortcode( $zerif_alternative_contact_form ); echo '</div>'; elseif ( defined( 'PIRATE_FORMS_VERSION' ) && shortcode_exists( 'pirate_forms' ) ) : echo '<div class="row">'; echo do_shortcode( '[pirate_forms]' ); echo '</div>'; endif; ?> </div> <!-- / END CONTAINER --> </section> <!-- / END CONTACT US SECTION--> <?php endif;
Save