burmuss
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: cannot find and edit element.style, background color or commentsOk. i figured most of it out! had to find previous conversations about this issue.
i did have one last thing. how could we change the BG color? I was able to do that before but I cannot find the instruction
Forum: Fixing WordPress
In reply to: cannot find and edit element.style, background color or commentsif i put in the entry.php css here:
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="post-content"> <?php if( !is_single() ) { ?> <?php global $layout; $extra_class = ''; if (!has_post_thumbnail()) $extra_class = 'no-img'; ?> <div class="post-meta <?php echo $extra_class; ?>"> <?php $options = get_option('salient'); $blog_type = $options['blog_type']; $use_excerpt = (!empty($options['blog_auto_excerpt']) && $options['blog_auto_excerpt'] == '1') ? 'true' : 'false'; ?> <div class="date"> <?php if( $blog_type == 'masonry-blog-sidebar' && substr( $layout, 0, 3 ) != 'std' || $blog_type == 'masonry-blog-fullwidth' && substr( $layout, 0, 3 ) != 'std' || $blog_type == 'masonry-blog-full-screen-width' && substr( $layout, 0, 3 ) != 'std' || $layout == 'masonry-blog-sidebar' || $layout == 'masonry-blog-fullwidth' || $layout == 'masonry-blog-full-screen-width') { echo get_the_date(); } else { ?> <span class="month"><?php the_time('M'); ?></span> <span class="day"><?php the_time('d'); ?></span> <?php $options = get_option('salient'); if(!empty($options['display_full_date']) && $options['display_full_date'] == 1) { echo '<span class="year">'. get_the_time('Y') .'</span>'; } } ?> </div><!--/date--> <div class="nectar-love-wrap"> <?php if( function_exists('nectar_love') ) nectar_love(); ?> </div><!--/nectar-love-wrap--> </div><!--/post-meta--> <?php } ?> <div class="content-inner"> <?php if (has_post_thumbnail() && ($post->post_type !== 'comic')) { if( !is_single() ) { echo '<a href="' . get_permalink() . '">'; } echo '<span class="post-featured-img">'.get_the_post_thumbnail($post->ID, 'full', array('title' => '')) .'</span>'; if( !is_single() ) { echo'</a>'; } } ?> <?php if( !is_single() ) { ?> <div class="post-header"> <h2 class="title"><?php if( !is_single() ) { ?> <a href="<?php the_permalink(); ?>"><?php } ?><?php the_title(); ?><?php if( !is_single() ) {?> </a> <?php } ?></h2> <span class="meta-author"><?php echo __('By', NECTAR_THEME_NAME); ?> <?php the_author_posts_link(); ?></span> <span class="meta-category">| <?php the_category(', '); ?></span> <span class="meta-comment-count">| <a href="<?php comments_link(); ?>"> <?php comments_number( __('No Comments', NECTAR_THEME_NAME), __('One Comment ', NECTAR_THEME_NAME), __('% Comments', NECTAR_THEME_NAME) ); ? ></a></span> </div><!--/post-header--> <?php //if no excerpt is set global $post; if(empty( $post->post_excerpt ) && $use_excerpt != 'true') { the_content('<span class="continue-reading">'. __("Read More", NECTAR_THEME_NAME) . '</span>'); } //excerpt else { echo '<div class="excerpt">'; the_excerpt(); echo '</div>'; echo '<a class="more-link" href="' . get_permalink() . '"><span class="continue-reading">'. __("Read More", NECTAR_THEME_NAME) .'</span></a>'; } ?> <?php } ?> <?php if(is_single()){ //on the single post page display the content the_content('<span class="continue-reading">'. __("Read More", NECTAR_THEME_NAME) . '</span>'); } ?> <?php $options = get_option('salient'); if( $options['display_tags'] == true ){ if( is_single() && has_tag() ) { echo '<div class="post-tags"><h4>Tags: </h4>'; the_tags('','',''); echo '<div class="clear"></div></div> '; } } ?> </div><!--/content-inner--> </div><!--/post-content--> </article><!--/article-->the comments section disappears, the background color disappears and my blog page is shut down.
but if i use this CSS
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="post-content"> <?php if( !is_single() ) { ?> <?php global $layout; $extra_class = ''; if (!has_post_thumbnail()) $extra_class = 'no-img'; ?> <div class="post-meta <?php echo $extra_class; ?>"> <?php $options = get_option('salient'); $blog_type = $options['blog_type']; $use_excerpt = (!empty($options['blog_auto_excerpt']) && $options['blog_auto_excerpt'] == '1') ? 'true' : 'false'; ?> <div class="date"> <?php if( $blog_type == 'masonry-blog-sidebar' && substr( $layout, 0, 3 ) != 'std' || $blog_type == 'masonry-blog-fullwidth' && substr( $layout, 0, 3 ) != 'std' || $blog_type == 'masonry-blog-full-screen-width' && substr( $layout, 0, 3 ) != 'std' || $layout == 'masonry-blog-sidebar' || $layout == 'masonry-blog-fullwidth' || $layout == 'masonry-blog-full-screen-width') { echo get_the_date(); } else { ?> <span class="month"><?php the_time('M'); ?></span> <span class="day"><?php the_time('d'); ?></span> <?php $options = get_option('salient'); if(!empty($options['display_full_date']) && $options['display_full_date'] == 1) { echo '<span class="year">'. get_the_time('Y') .'</span>'; } } ?> </div><!--/date--> <div class="nectar-love-wrap"> <?php if( function_exists('nectar_love') ) nectar_love(); ?> </div><!--/nectar-love-wrap--> </div><!--/post-meta--> <?php } ?> <div class="content-inner"> <?php if ( has_post_thumbnail() ) { if( !is_single() ) { $img_size = ($blog_type == 'masonry-blog-sidebar' && substr( $layout, 0, 3 ) != 'std' || $blog_type == 'masonry-blog-fullwidth' && substr( $layout, 0, 3 ) != 'std' || $blog_type == 'masonry-blog-full-screen-width' && substr( $layout, 0, 3 ) != 'std' || $layout == 'masonry-blog-sidebar' || $layout == 'masonry-blog-fullwidth' || $layout == 'masonry-blog-full-screen-width') ? 'large' : 'full'; echo'<a href="' . get_permalink() . '"><span class="post-featured-img">'.get_the_post_thumbnail($post->ID, $img_size, array('title' => '')) .'</span></a>'; } global $options; $hide_featrued_image = (!empty($options['blog_hide_featured_image'])) ? $options['blog_hide_featured_image'] : '0'; if(is_single() && $hide_featrued_image != '1'){ echo '<span class="post-featured-img">'.get_the_post_thumbnail($post->ID, 'full', array('title' => '')) .'</span>'; } } ?> <?php if( !is_single() ) { ?> <div class="article-content-wrap"> <div class="post-header"> <h2 class="title"><?php if( !is_single() ) { ?> <a href="<?php the_permalink(); ?>"><?php } ?><?php the_title(); ?><?php if( !is_single() ) {?> </a> <?php } ?></h2> <span class="meta-author"><?php echo __('By', NECTAR_THEME_NAME); ?> <?php the_author_posts_link(); ?></span> <span class="meta-category">| <?php the_category(', '); ?></span> <span class="meta-comment-count">| <a href="<?php comments_link(); ?>"> <?php comments_number( __('No Comments', NECTAR_THEME_NAME), __('One Comment ', NECTAR_THEME_NAME), __('% Comments', NECTAR_THEME_NAME) ); ?></a></span> </div><!--/post-header--> <?php //if no excerpt is set global $post; if(empty( $post->post_excerpt ) && $use_excerpt != 'true') { the_content('<span class="continue-reading">'. __("Read More", NECTAR_THEME_NAME) . '</span>'); } //excerpt else { echo '<div class="excerpt">'; the_excerpt(); echo '</div>'; echo '<a class="more-link" href="' . get_permalink() . '"><span class="continue-reading">'. __("Read More", NECTAR_THEME_NAME) .'</span></a>'; } ?> </div><!--article-content-wrap--> <?php } ?> <?php if(is_single()){ //on the single post page display the content the_content('<span class="continue-reading">'. __("Read More", NECTAR_THEME_NAME) . '</span>'); } ?> <?php $options = get_option('salient'); if( $options['display_tags'] == true ){ if( is_single() && has_tag() ) { echo '<div class="post-tags"><h4>Tags: </h4>'; the_tags('','',''); echo '<div class="clear"></div></div> '; } } ?> </div><!--/content-inner--> </div><!--/post-content--> </article><!--/article-->the blog returns but the comic page has two images.
Forum: Fixing WordPress
In reply to: cannot find and edit element.style, background color or commentsForum: Plugins
In reply to: [Comic Easel] Comic easel and Salient themehello! I did have one more question for you. if you look at the bottom of my comic where the lower nav bar is sitting it has been cut off.
is there a way to fix that? i can’t figure out what happened.
http://www.theshatteredworld.com/comic/courier-creed/
Thank you so much for helping me.
Forum: Plugins
In reply to: [Comic Easel] Comic easel and Salient themethis is perfect! thank you so much for all of your help! I’m sorry for the million and one questions! 🙂
Forum: Plugins
In reply to: [Comic Easel] Comic easel and Salient themeok! i was able to find it! thank you for helping me out with my site!
should i still worry about adding
<?php do_action(‘comic-area’); ?>
to the single.php?
and was there a way to continue the page color down to the footer of the page?
Forum: Plugins
In reply to: [Comic Easel] Comic easel and Salient themei forgot to ask: i created menu icons. now that the code has changed, the images look as if they have been cut? is there a way around that?
Forum: Plugins
In reply to: [Comic Easel] Comic easel and Salient themeThank you! that got rid of most of the error!!
I did have three other questions.
if you scroll to the bottom of this page http://www.theshatteredworld.com/comic/page-test-1/
it shows “rticle–>” right before the comment box?
also i kept getting three of the same page images until i deleted
<?php do_action('comic-area'); ?>from the single.phpshould i add it back?
and is there a way to get the grey background to carry on to the bottom of the page?
Forum: Plugins
In reply to: [Comic Easel] Comic easel and Salient themelike this?
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="post-content"> <?php if( !is_single() ) { ?> <?php global $layout; $extra_class = ''; if (!has_post_thumbnail()) $extra_class = 'no-img'; ?> <div class="post-meta <?php echo $extra_class; ?>"> <?php $options = get_option('salient'); $blog_type = $options['blog_type']; $use_excerpt = (!empty($options['blog_auto_excerpt']) && $options['blog_auto_excerpt'] == '1') ? 'true' : 'false'; ?> <div class="date"> <?php if( $blog_type == 'masonry-blog-sidebar' && substr( $layout, 0, 3 ) != 'std' || $blog_type == 'masonry-blog-fullwidth' && substr( $layout, 0, 3 ) != 'std' || $blog_type == 'masonry-blog-full-screen-width' && substr( $layout, 0, 3 ) != 'std' || $layout == 'masonry-blog-sidebar' || $layout == 'masonry-blog-fullwidth' || $layout == 'masonry-blog-full-screen-width') { echo get_the_date(); } else { ?> <span class="month"><?php the_time('M'); ?></span> <span class="day"><?php the_time('d'); ?></span> <?php $options = get_option('salient'); if(!empty($options['display_full_date']) && $options['display_full_date'] == 1) { echo '<span class="year">'. get_the_time('Y') .'</span>'; } } ?> </div><!--/date--> <div class="nectar-love-wrap"> <?php if( function_exists('nectar_love') ) nectar_love(); ?> </div><!--/nectar-love-wrap--> </div><!--/post-meta--> <?php } ?> <div class="content-inner"> <?php if ( has_post_thumbnail() ) { if( !is_single() ) { echo '<a href="' . get_permalink() . '">'; } echo '<span class="post-featured-img">'.get_the_post_thumbnail($post->ID, 'full', array('title' => '')) .'</span>'; if( !is_single() ) { echo'</a>'; } } ?> <?php if( !is_single() ) { ?> <div class="post-header"> <h2 class="title"><?php if( !is_single() ) { ?> <a href="<?php the_permalink(); ?>"><?php } ?><?php the_title(); ?><?php if( !is_single() ) {?> </a> <?php } ?></h2> <span class="meta-author"><?php echo __('By', NECTAR_THEME_NAME); ?> <?php the_author_posts_link(); ?></span> <span class="meta-category">| <?php the_category(', '); ?></span> <span class="meta-comment-count">| <a href="<?php comments_link(); ?>"> <?php comments_number( __('No Comments', NECTAR_THEME_NAME), __('One Comment ', NECTAR_THEME_NAME), __('% Comments', NECTAR_THEME_NAME) ); ? ></a></span> </div><!--/post-header--> <?php //if no excerpt is set global $post; if(empty( $post->post_excerpt ) && $use_excerpt != 'true') { the_content('<span class="continue-reading">'. __("Read More", NECTAR_THEME_NAME) . '</span>'); } //excerpt else { echo '<div class="excerpt">'; the_excerpt(); echo '</div>'; echo '<a class="more-link" href="' . get_permalink() . '"><span class="continue-reading">'. __("Read More", NECTAR_THEME_NAME) .'</span></a>'; } ?> <?php } ?> <?php if(is_single()){ //on the single post page display the content the_content('<span class="continue-reading">'. __("Read More", NECTAR_THEME_NAME) . '</span>'); } ?> <?php $options = get_option('salient'); if( $options['display_tags'] == true ){ if( is_single() && has_tag() ) { echo '<div class="post-tags"><h4>Tags: </h4>'; the_tags('','',''); echo '<div class="clear"></div></div> '; } } ?> </div><!--/content-inner--> </div><!--/post-content--> </article><!--/article-->Forum: Plugins
In reply to: [Comic Easel] Comic easel and Salient themeI am not sure what is happening.
the duplicate image is gone (which is great! Thank you!!)
but i am seeing an error message that says
Parse error: syntax error, unexpected ‘?’ in /home/burmuss/theshatteredworld.com/wp-content/themes/salient/includes/post-templates/entry.php on line 72also you mentioned a 2nd place for that code?
Forum: Plugins
In reply to: [Comic Easel] Comic easel and Salient themelike this?
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="post-content"> <?php if( !is_single() ) { ?> <?php global $layout; $extra_class = ''; if (!has_post_thumbnail()) $extra_class = 'no-img'; ?> <div class="post-meta <?php echo $extra_class; ?>"> <?php $options = get_option('salient'); $blog_type = $options['blog_type']; $use_excerpt = (!empty($options['blog_auto_excerpt']) && $options['blog_auto_excerpt'] == '1') ? 'true' : 'false'; ?> <div class="date"> <?php if( $blog_type == 'masonry-blog-sidebar' && substr( $layout, 0, 3 ) != 'std' || $blog_type == 'masonry-blog-fullwidth' && substr( $layout, 0, 3 ) != 'std' || $blog_type == 'masonry-blog-full-screen-width' && substr( $layout, 0, 3 ) != 'std' || $layout == 'masonry-blog-sidebar' || $layout == 'masonry-blog-fullwidth' || $layout == 'masonry-blog-full-screen-width') { echo get_the_date(); } else { ?> <span class="month"><?php the_time('M'); ?></span> <span class="day"><?php the_time('d'); ?></span> <?php $options = get_option('salient'); if(!empty($options['display_full_date']) && $options['display_full_date'] == 1) { echo '<span class="year">'. get_the_time('Y') .'</span>'; } } ?> </div><!--/date--> <div class="nectar-love-wrap"> <?php if( function_exists('nectar_love') ) nectar_love(); ?> </div><!--/nectar-love-wrap--> </div><!--/post-meta--> <?php } ?> <div class="content-inner"> <?php if (has_post_thumbnail() && ($post->post_type !== 'comic)) { if( !is_single() ) { echo '<a href="' . get_permalink() . '">'; } if ($post->post_type !== 'comic') echo '<span class="post-featured-img">'.get_the_post_thumbnail($post->ID, 'full', array('title' => '')) .'</span>'; if( !is_single() ) { echo'</a>'; } } ?> <?php if( !is_single() ) { ?> <div class="post-header"> <h2 class="title"><?php if( !is_single() ) { ?> <a href="<?php the_permalink(); ?>"><?php } ?><?php the_title(); ?><?php if( !is_single() ) {?> </a> <?php } ?></h2> <span class="meta-author"><?php echo __('By', NECTAR_THEME_NAME); ?> <?php the_author_posts_link(); ?></span> <span class="meta-category">| <?php the_category(', '); ?></span> <span class="meta-comment-count">| <a href="<?php comments_link(); ?>"> <?php comments_number( __('No Comments', NECTAR_THEME_NAME), __('One Comment ', NECTAR_THEME_NAME), __('% Comments', NECTAR_THEME_NAME) ); ?></a></span> </div><!--/post-header--> <?php //if no excerpt is set global $post; if(empty( $post->post_excerpt ) && $use_excerpt != 'true') { the_content('<span class="continue-reading">'. __("Read More", NECTAR_THEME_NAME) . '</span>'); } //excerpt else { echo '<div class="excerpt">'; the_excerpt(); echo '</div>'; echo '<a class="more-link" href="' . get_permalink() . '"><span class="continue-reading">'. __("Read More", NECTAR_THEME_NAME) .'</span></a>'; } ?> <?php } ?> <?php if(is_single()){ //on the single post page display the content the_content('<span class="continue-reading">'. __("Read More", NECTAR_THEME_NAME) . '</span>'); } ?> <?php $options = get_option('salient'); if( $options['display_tags'] == true ){ if( is_single() && has_tag() ) { echo '<div class="post-tags"><h4>Tags: </h4>'; the_tags('','',''); echo '<div class="clear"></div></div> '; } } ?> </div><!--/content-inner--> </div><!--/post-content--> </article><!--/article-->Forum: Plugins
In reply to: [Comic Easel] Comic easel and Salient themehere is the entry.php
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="post-content"> <?php if( !is_single() ) { ?> <?php global $layout; $extra_class = ''; if (!has_post_thumbnail()) $extra_class = 'no-img'; ?> <div class="post-meta <?php echo $extra_class; ?>"> <?php $options = get_option('salient'); $blog_type = $options['blog_type']; $use_excerpt = (!empty($options['blog_auto_excerpt']) && $options['blog_auto_excerpt'] == '1') ? 'true' : 'false'; ?> <div class="date"> <?php if( $blog_type == 'masonry-blog-sidebar' && substr( $layout, 0, 3 ) != 'std' || $blog_type == 'masonry-blog-fullwidth' && substr( $layout, 0, 3 ) != 'std' || $blog_type == 'masonry-blog-full-screen-width' && substr( $layout, 0, 3 ) != 'std' || $layout == 'masonry-blog-sidebar' || $layout == 'masonry-blog-fullwidth' || $layout == 'masonry-blog-full-screen-width') { echo get_the_date(); } else { ?> <span class="month"><?php the_time('M'); ?></span> <span class="day"><?php the_time('d'); ?></span> <?php $options = get_option('salient'); if(!empty($options['display_full_date']) && $options['display_full_date'] == 1) { echo '<span class="year">'. get_the_time('Y') .'</span>'; } } ?> </div><!--/date--> <div class="nectar-love-wrap"> <?php if( function_exists('nectar_love') ) nectar_love(); ?> </div><!--/nectar-love-wrap--> </div><!--/post-meta--> <?php } ?> <div class="content-inner"> <?php if ( has_post_thumbnail() ) { if( !is_single() ) { echo '<a href="' . get_permalink() . '">'; } echo '<span class="post-featured-img">'.get_the_post_thumbnail($post->ID, 'full', array('title' => '')) .'</span>'; if( !is_single() ) { echo'</a>'; } } ?> <?php if( !is_single() ) { ?> <div class="post-header"> <h2 class="title"><?php if( !is_single() ) { ?> <a href="<?php the_permalink(); ?>"><?php } ?><?php the_title(); ?><?php if( !is_single() ) {?> </a> <?php } ?></h2> <span class="meta-author"><?php echo __('By', NECTAR_THEME_NAME); ?> <?php the_author_posts_link(); ?></span> <span class="meta-category">| <?php the_category(', '); ?></span> <span class="meta-comment-count">| <a href="<?php comments_link(); ?>"> <?php comments_number( __('No Comments', NECTAR_THEME_NAME), __('One Comment ', NECTAR_THEME_NAME), __('% Comments', NECTAR_THEME_NAME) ); ?></a></span> </div><!--/post-header--> <?php //if no excerpt is set global $post; if(empty( $post->post_excerpt ) && $use_excerpt != 'true') { the_content('<span class="continue-reading">'. __("Read More", NECTAR_THEME_NAME) . '</span>'); } //excerpt else { echo '<div class="excerpt">'; the_excerpt(); echo '</div>'; echo '<a class="more-link" href="' . get_permalink() . '"><span class="continue-reading">'. __("Read More", NECTAR_THEME_NAME) .'</span></a>'; } ?> <?php } ?> <?php if(is_single()){ //on the single post page display the content the_content('<span class="continue-reading">'. __("Read More", NECTAR_THEME_NAME) . '</span>'); } ?> <?php $options = get_option('salient'); if( $options['display_tags'] == true ){ if( is_single() && has_tag() ) { echo '<div class="post-tags"><h4>Tags: </h4>'; the_tags('','',''); echo '<div class="clear"></div></div> '; } } ?> </div><!--/content-inner--> </div><!--/post-content--> </article><!--/article-->Forum: Plugins
In reply to: [Comic Easel] Comic easel and Salient themeOk. I don’t seem to have an index.php file.
i added it to the single.php and i’ve made it a lot worse. is there a particular place that is best for placing the <?php do_action(‘comic-area’); ?> ?
here is the Single.php code:
<?php get_header(); ?> <?php $bg = get_post_meta($post->ID, '_nectar_header_bg', true); $bg_color = get_post_meta($post->ID, '_nectar_header_bg_color', true); if(have_posts()) : while(have_posts()) : the_post(); nectar_page_header($post->ID); endwhile; endif; ?> <div class="container-wrap"> <div class="container main-content"> <?php do_action('comic-area'); ?> <?php if(get_post_format() != 'quote' && get_post_format() != 'status' && get_post_format() != 'aside') { ?> <?php if(have_posts()) : while(have_posts()) : the_post(); if(empty($bg) && empty($bg_color)) { ?> <div class="row heading-title"> <div class="col span_12 section-title blog-title"> <h1 class="entry-title"><?php the_title(); ?></h1> <div id="single-below-header"> <span class="meta-author vcard author"><span class="fn"><?php echo __('By', NECTAR_THEME_NAME); ?> <?php the_author_posts_link(); ?></span></span> <?php if( !empty($options['blog_social']) && $options['blog_social'] == 1) { ?> <span class="meta-date date updated"><?php echo get_the_date(); ?></span> <?php } ?> <span class="meta-category"><?php the_category(', '); ?></span> <span class="meta-comment-count"><a>"><?php comments_number( __('No Comments', NECTAR_THEME_NAME), __('One Comment ', NECTAR_THEME_NAME), __('% Comments', NECTAR_THEME_NAME) ); ?></a></span> <!--project-additional--> </div><!--/single-below-header--> <div id="single-meta" data-sharing="<?php echo ( !empty($options['blog_social']) && $options['blog_social'] == 1 ) ? '1' : '0'; ?>"> <ul> <?php if( empty($options['blog_social']) || $options['blog_social'] == 0 ) { ?> <li> <?php echo '<span class="n-shortcode">'.nectar_love('return').'</span>'; ?> </li> <li> <?php echo get_the_date(); ?> </li> <?php } ?> </ul> <?php if( !empty($options['blog_social']) && $options['blog_social'] == 1 ) { echo '<div class="nectar-social">'; echo '<span class="n-shortcode">'.nectar_love('return').'</span>'; //facebook if(!empty($options['blog-facebook-sharing']) && $options['blog-facebook-sharing'] == 1) { echo "<a href='#'> <i class='icon-facebook'></i> <span class='count'></span></a>"; } //twitter if(!empty($options['blog-twitter-sharing']) && $options['blog-twitter-sharing'] == 1) { echo "<a href='#'> <i class='icon-twitter'></i> <span class='count'></span></a>"; } //pinterest if(!empty($options['blog-pinterest-sharing']) && $options['blog-pinterest-sharing'] == 1) { echo "<a href='#'> <i class='icon-pinterest'></i> <span class='count'></span></a>"; } echo '</div>'; } ?> </div><!--/single-meta--> </div><!--/section-title--> </div><!--/row--> <?php } endwhile; endif; ?> <?php } ?> <div class="row"> <?php $options = get_option('salient'); $blog_type = $options['blog_type']; if($blog_type == 'std-blog-fullwidth'){ echo '<div id="post-area" class="col span_12 col_last">'; } else { echo '<div id="post-area" class="col span_9">'; } if(have_posts()) : while(have_posts()) : the_post(); if ( floatval(get_bloginfo('version')) < "3.6" ) { //old post formats before they got built into the core get_template_part( 'includes/post-templates-pre-3-6/entry', get_post_format() ); } else { //WP 3.6+ post formats get_template_part( 'includes/post-templates/entry', get_post_format() ); } endwhile; endif; wp_link_pages(); $options = get_option('salient'); if( !empty($options['author_bio']) && $options['author_bio'] == true ){ $grav_size = 80; ?> <div id="author-bio"> <?php if (function_exists('get_avatar')) { echo get_avatar( get_the_author_meta('email'), $grav_size ); }?> <div id="author-info"> <h3><?php _e('About', NECTAR_THEME_NAME); ?> <?php the_author(); ?></h3> <p><?php the_author_meta('description'); ?></p> </div> <div class="clear"></div> </div> <?php } ?> <div class="comments-section"> <?php comments_template(); ?> </div> </div><!--/span_9--> <?php if($blog_type != 'std-blog-fullwidth') { ?> <div id="sidebar" class="col span_3 col_last"> <?php get_sidebar(); ?> </div><!--/sidebar--> <?php } ?> </div><!--/row--> </div><!--/container--> </div><!--/container-wrap--> <?php get_footer(); ?>[Moderator Note: Please post code or markup between backticks or use the code button. Or better still – use a pastebin. Your posted code has now been permanently damaged by the forum’s parser.]
Forum: Plugins
In reply to: [Comic Easel] Comic easel and Salient themeI also had a question about the background. currently the BG is white. is there a way to change the BG to another color or add a BG image?
I was able to get the plugin to work but it is posting the page twice (one above the other).
Forum: Plugins
In reply to: [Comic Easel] Comic easel and Salient themeok so i get the nav bar to show up but for each page where a comic page is sitting there is a second image below it… not sure what i am doing wrong