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 if ( ! defined( 'ABSPATH' ) ) { die; } // Cannot access pages directly. | |
// =============================================================================================== | |
// ----------------------------------------------------------------------------------------------- | |
// METABOX OPTIONS | |
// ----------------------------------------------------------------------------------------------- | |
// =============================================================================================== | |
$options = array(); | |
// ----------------------------------------- | |
// Post Metabox Options - |
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 | |
while ( have_posts() ) : the_post(); | |
// checks neuron work meta is empty or not | |
if (get_post_meta( get_the_ID(), 'neuron_work_meta', true )) { | |
$work_meta = get_post_meta( get_the_ID(), 'neuron_work_meta', true ); | |
} else { | |
$work_meta = array(); | |
} |
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(); ?> | |
<!-- ::::::::::::::::::::: Page Title Section:::::::::::::::::::::::::: --> | |
<section class="page-title"> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-md-12"> | |
<!-- breadcrumb content --> | |
<div class="page-breadcrumbd"> | |
<h2>News & Press</h2> | |
<p><a href="<?php echo site_url(); ?>">Home</a> / Blog</p> |
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
/* comments form | |
------------------------------*/ | |
.comments-wrapper { | |
padding: 15px 40px; | |
border-top: 1px solid #ddd; | |
margin-top: 20px; | |
} | |
.comment-title h2 { |
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
.comment-list { | |
margin: 0; | |
padding: 0; | |
list-style: none; | |
} | |
.comment-list li { | |
margin-bottom: 40px; | |
} |
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 if ( ! defined( 'ABSPATH' ) ) { die; } // Cannot access pages directly. | |
// =============================================================================================== | |
// ----------------------------------------------------------------------------------------------- | |
// FRAMEWORK SETTINGS | |
// ----------------------------------------------------------------------------------------------- | |
// =============================================================================================== | |
$settings = array( | |
'menu_title' => 'Theme options', | |
'menu_type' => 'theme', // menu, submenu, options, theme, etc. | |
'menu_slug' => 'neuron-theme-options', |
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 | |
/* | |
Template Name: Homepage Template | |
*/ | |
$home_content_title = cs_get_option('home_content_title'); | |
$home_content_text = cs_get_option('home_content_text'); | |
// $home_content_image = cs_get_option('home_content_image'); | |
$home_content_image_array = wp_get_attachment_image_src( cs_get_option('home_content_image'), 'large' ); |
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 | |
/* | |
Template Name: About Template | |
*/ | |
$enable_about_promo = cs_get_option('enable_about_promo'); | |
$enable_about_content = cs_get_option('enable_about_content'); | |
$about_content_title = cs_get_option('about_content_title'); | |
$about_content_text = cs_get_option('about_content_text'); | |
// $about_content_image = cs_get_option('about_content_image'); |
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 | |
/* | |
Template Name: About Template | |
*/ | |
$enable_about_promo = cs_get_option('enable_about_promo'); | |
$enable_about_content = cs_get_option('enable_about_content'); | |
$about_content_title = cs_get_option('about_content_title'); | |
$about_content_text = cs_get_option('about_content_text'); | |
// $about_content_image = cs_get_option('about_content_image'); |
OlderNewer