This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php get_header() ?> | |
<?php | |
global $porto_settings; | |
?> | |
<div id="content" role="main"> | |
<?php /* The loop */ ?> | |
<?php while ( have_posts() ) : the_post(); ?> | |
<article <?php post_class(); ?>> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php get_header() ?> | |
<?php | |
global $porto_settings; | |
$post_layout = $porto_settings['post-layout']; | |
$post_infinite = $porto_settings['blog-infinite']; | |
if ($post_infinite) { | |
global $wp_rewrite; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Put this in your theme or child theme's functions.php file. | |
*/ | |
function en_register_campaigns_sidebar() { | |
$args = array( | |
'id' => 'campaigns-sidebar', | |
'name' => __( 'Campaigns Sidebar', 'holycrosss.staging.wpengine.com' ), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php get_header() ?> | |
<?php | |
global $porto_settings, $porto_layout; | |
wp_reset_postdata(); | |
?> | |
<div id="content" role="main"> |