generationswfnp
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Sugar and Spice] Unresponsive archive linksYes, a friend helped me at the very beginning and I am not so sure they knew what they were doing 😉 And I did activate my Yoast! Thanks again!
Forum: Themes and Templates
In reply to: [Sugar and Spice] Unresponsive archive linksThat worked!!
Thank you so much!!
Forum: Themes and Templates
In reply to: [Sugar and Spice] Unresponsive archive linksThat’s the main index. But I don’t know what your asking in the second part.. Where should I put it between backticks?
Forum: Themes and Templates
In reply to: [Sugar and Spice] Unresponsive archive links<?php
/**
* The main template file.
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
* Learn more: http://codex.ww.wp.xz.cn/Template_Hierarchy
*
* @package Sugar & Spice
*/get_header(); ?>
<div id=”content” class=”site-content” role=”main”><?php if ( have_posts() ) : ?>
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?><?php
if ( of_get_option( ‘hp_layout’ ) == ‘excerpt’ ) {
get_template_part( ‘content’, ‘loop’ );
} else if ( of_get_option( ‘hp_layout’ ) == ‘firstfull’ ) {
get_template_part( ‘content’, ‘firstfull’ );
} else {
get_template_part( ‘content’ );
}
?><?php endwhile; ?>
<?php get_template_part(‘pagination’); ?>
<?php else : ?>
<?php get_template_part( ‘no-results’, ‘index’ ); ?>
<?php endif; ?>
</div><!– #content –>
</div><!– #primary –><?php get_sidebar(); ?>
<?php get_footer(); ?>Forum: Themes and Templates
In reply to: [Sugar and Spice] Unresponsive archive linksP.S. THANK YOU so much for helping me!! Coding and website stuff is just not my forte!
Forum: Themes and Templates
In reply to: [Sugar and Spice] Unresponsive archive linksOk that fixes it but now on the blog itself not the individual posts, the formatting is wrong. The sidebar is way at the bottom and there is awkward space on the right of the photos. Is there an easy way to fix that?
Forum: Themes and Templates
In reply to: [Sugar and Spice] Unresponsive archive linksWow I apologize for all of the spelling and grammar errors in my posts. I think I am extra tired today!!
Forum: Themes and Templates
In reply to: [Sugar and Spice] Unresponsive archive links<?php
/**
* The Template for displaying all single posts.
*
* @package Sugar & Spice
*/get_header(); ?>
<div id=”primary” class=”content-area”>
<div id=”content” class=”site-content” role=”main”><?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( ‘content’, get_post_format() ); ?>
<?php if ( get_the_author_meta( ‘description’ ) ) { ?>
<div class=”entry-author section”>
<h2 class=”section-title”><span><?php _e(‘About the author’, ‘sugarspice’); ?></span></h2>
<div class=”avatar author-photo”><?php echo get_avatar( get_the_author_meta( ‘ID’ ) , 80 ); ?></div>
<div class=”author-content”>
<h5>” rel=”me”><?php the_author(); ?></h5>
<?php the_author_meta( ‘description’ ); ?>
</div>
</div><!– .entry-author –>
<?php } ?><?php //sugarspice_content_nav( ‘nav-below’ ); ?>
<?php
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || ‘0’ != get_comments_number() )
comments_template();
?><?php endwhile; // end of the loop. ?>
</div><!– #content –>
</div><!– #primary –><?php get_sidebar(); ?>
<?php get_footer(); ?>And that is the single.php
Forum: Themes and Templates
In reply to: [Sugar and Spice] Unresponsive archive links<?php
/**
* The Sidebar containing the main widget areas.
*
* @package Sugar & Spice
*/
?>
<?php do_action( ‘before_sidebar’ ); ?>
<?php if ( is_active_sidebar( ‘sidebar-1’ ) ) : ?><div id=”sidebar” class=”widget-area” role=”complementary”>
<?php dynamic_sidebar( ‘sidebar-1’ ); ?>
</div><!– #sidebar –>
<?php endif; // end sidebar widget area ?>
<div id=”sidebar”>
That is my sidebar coding in the theme.. if that helps determine anything
Forum: Themes and Templates
In reply to: [Sugar and Spice] Unresponsive archive linksHmm I was excepting it too but it’s not and deactivating yoast did not do anything either?? I am so ready to hire someone to do this haha
Forum: Themes and Templates
In reply to: [Sugar and Spice] Unresponsive archive linksThat is with it deactivated and the widgets to the original sidebar. I will try deactivating yeast now
Forum: Themes and Templates
In reply to: [Sugar and Spice] Unresponsive archive linksOk I added the archives and recent posts back into the normal side bar. It does this to the format of the blog and it still is not activated. The links don’t work.
http://www.generationswfnp.com/blog/
http://www.generationswfnp.com/2014/10/checkmontgomery-family/Forum: Themes and Templates
In reply to: [Sugar and Spice] Unresponsive archive links“content aware sidebars” was the plug in and if I deactivate it the archives and recent posts go away. If I try to add the widgets back in normally it applies to my entire website but I only want them on the post pages.
Forum: Themes and Templates
In reply to: [Sugar and Spice] Unresponsive archive linksNo but I did add a sidebar plug in. Could that be it? I don’t know what to look for in the them or what DIV tag means. I am a newbie!
Thanks!
Forum: Themes and Templates
In reply to: [Sugar and Spice] Photos in blog posts not downloading properlyFixed! Thank you!