| Server IP : 10.200.247.200 / Your IP : 216.73.217.19 Web Server : Apache System : Linux synergy-usa-sites 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 User : jeremy ( 1001) PHP Version : 8.4.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/usa_sites/governmentgrants.us/wp-content/themes/governmentgrants/ |
Upload File : |
<?php
/**
* The template for displaying all pages
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other 'pages' on your WordPress site may use a
* different template.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @subpackage Naren_Designs
* @since 1.0
* @version 1.0
*/
get_header(); ?>
<?php if ( get_field( 'featured_image_big') ): ?>
<section class="featured-header bg-image bg-overlay-black align-center full-width" data-url="<?php the_field( 'featured_image_big' ); ?>">
<div class="amp-container v-center">
<?php if( get_field('custom_page_title') ): ?>
<h1 class="page-title color-white font-1-semibold"><?php the_field('custom_page_title'); ?></h1>
<?php else: ?>
<h1 class="page-title color-white font-1-semibold"><?php the_title(); ?></h1>
<?php endif ?>
</div>
</section>
<?php else: ?>
<section class="breadcrumbs bg-dark py50 mb-py30 align-center full-width">
<div class="amp-container">
<?php if( get_field('custom_page_title') ): ?>
<h1 class="page-title m0 color-white font-1-semibold"><?php the_field('custom_page_title'); ?></h1>
<?php else: ?>
<h1 class="page-title m0 color-white font-1-semibold"><?php the_title(); ?></h1>
<?php endif ?>
</div>
</section>
<?php endif ?>
<!--Page sections-->
<?php if( have_rows('add_section') ):
// loop through the rows of data
while ( have_rows('add_section') ) : the_row();?>
<section class="full-width <?php echo get_sub_field('section_class');?>" id="<?php echo get_sub_field('section_id');?>">
<div class="container">
<?php if( get_sub_field('section_header') ): ?>
<header class="section-header align-center">
<!--section header content-->
<?php the_sub_field( 'section_header' ); ?>
</header>
<?php endif ?>
<?php if( have_rows('grid_row') ):
while( have_rows('grid_row') ): the_row();?>
<div class="grid-row <?php echo get_sub_field('row_class');?>">
<?php if( have_rows('column') ):
while( have_rows('column') ): the_row();?>
<div class="<?php echo get_sub_field('column_class');?>">
<?php echo get_sub_field('column_content');?>
</div>
<?php endwhile; endif;?>
<!--end column-->
</div>
<?php endwhile; endif;?>
<!--end grid row-->
</div>
</section>
<?php endwhile; endif;?>
<?php get_footer();