Skip to content
Commits on Source (3)
......@@ -15,7 +15,7 @@
<span class="date"><?php the_time(__('F jS, Y', 'inove')) ?></span>
<?php if ($options['author']) : ?><span class="author"><?php the_author_posts_link(); ?></span><?php endif; ?>
<?php edit_post_link(__('Edit', 'inove'), '<span class="editpost">', '</span>'); ?>
<?php if ($comments || comments_open()) : ?>
<?php if (comments_open()) : ?>
<span class="addcomment"><a href="#respond"><?php _e('Leave a comment', 'inove'); ?></a></span>
<span class="comments"><a href="#comments"><?php _e('Go to comments', 'inove'); ?></a></span>
<?php endif; ?>
......
......@@ -701,7 +701,7 @@ add_filter('archive_meta', 'convert_smilies');
add_filter('archive_meta', 'convert_chars');
add_filter('archive_meta', 'wpautop');
add_shortcode('gallery', 'plaintxtblog_gallery', $attr);
add_shortcode('gallery', 'plaintxtblog_gallery');
// Readies for translation.
load_theme_textdomain('plaintxtblog');
......
......@@ -4,8 +4,13 @@
require ( get_template_directory() . '/color-arrays.php' );
// GET THEME OPTION FOR COLORS
$options = get_option('threattocreativity_theme_options', array());
$options = get_option('threattocreativity_theme_options');
if ($options === false) {
$colorswitch = 'crayola';
$customoption = 'no';
$ccolors = '';
} else {
// PASS THEME OPTION FOR COLOR INTO VAR
$colorswitch = $options['colorscheme'];
......@@ -14,7 +19,7 @@
// WHAT ARE THE CUSTOM COLORS?
$ccolors = $options['customcolors'];
}
//LOOKS FOR CUSTOM SETTING AND USES IT IF SET
if ($customoption == "yes") {
......