-
Rachel Costello replied to the forum topic HELP: Changing from static front page back to blog? in the group
WordPress Troubleshooting and Support 10 years ago
I tried that and then it just went to a blank page.
-
Rachel Costello replied to the forum topic HELP: Changing from static front page back to blog? in the group
WordPress Troubleshooting and Support 10 years ago
Thanks Steve,
I removed it from index.php and home.php
Now the “wp_head();” is not there but it is still not showing my blog posts.
Do I have to do something to re-create a Home page that shows my […] -
Rachel Costello replied to the forum topic HELP: Changing from static front page back to blog? in the group
WordPress Troubleshooting and Support 10 years ago
Did that but no luck
-
Rachel Costello replied to the forum topic HELP: Changing from static front page back to blog? in the group
WordPress Troubleshooting and Support 10 years ago
Okay,
I hope I am getting this info from the correct location? I am copying from “Appearance” > “Editor”Here you go…Index.php
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(); ?> wp_head(); <!– Super Container –> <div class="super-container full-width main-content-area" id="section-content"> <!– 960 Container –> <div class="container"> <!– CONTENT –> <div class="eleven columns content"> <h2 class="title"><span> <!– Search CONDITIONAL TITLE –> <?php if ( is_search() ) : ?> Search Results for "<?php the_search_query() ?>" <?php endif; ?> <!– TAG CONDITIONAL TITLE –> <?php if ( is_tag() ) : ?> Tag: <?php single_tag_title(); ?> <?php endif; ?> <!– CATEGORY CONDITIONAL TITLE –> <?php if ( is_category() ) : ?> Category: <?php single_cat_title(); ?> <?php endif; ?> </span></h2> <!– ============================================== –> <!– QUERY + START OF THE LOOP –> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php get_template_part( 'element', 'excerpt' ); ?> <?php endwhile; ?> <?php endif; ?> <!– /POST LOOP –> <!– ============================================== –> <!– Previous / More Entries –> <div class="article_nav"> <div class="p"><?php next_posts_link('Previous Posts'); ?></div> <div class="m"><?php previous_posts_link('Next Posts'); ?></div> </div> <!– </Previous / More Entries –> </div> <!– /CONTENT –> <!– ============================================== –> <!– SIDEBAR –> <div class="five columns sidebar"> <?php dynamic_sidebar( 'default-widget-area' ); ?> </div> <!– /SIDEBAR –> </div> <!– /End 960 Container –> </div> <!– /End Super Container –> <!– ============================================== –> <?php get_footer(); ?> -
Rachel Costello replied to the forum topic HELP: Changing from static front page back to blog? in the group
WordPress Troubleshooting and Support 10 years ago
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
<!DOCTYPE html > <!–[if lt IE 7 ]> <html class="no-js ie6" <?php language_attributes(); ?>> <![endif]–> <!–[if IE 7 ]> <html class="no-js ie7" <?php language_attributes(); ?>> <![endif]–> <!–[if IE 8 ]> <html class="no-js ie8" <?php language_attributes(); ?>> <![endif]–> <!–[if (gte IE 9)|!(IE)]><!–> <html class="no-js" <?php language_attributes(); ?>> <!–<![endif]–> <head> <title><?php /* * Print the <title> tag based on what is being viewed. */ global $page, $paged; wp_title( '|', true, 'right' ); // Add the blog name. bloginfo( 'name' ); // Add the blog description for the home/front page. $site_description = get_bloginfo( 'description', 'display' ); if ( $site_description && ( is_home() || is_front_page() ) ) echo " | $site_description"; // Add a page number if necessary: if ( $paged >= 2 || $page >= 2 ) echo ' | ' . sprintf( __( 'Page %s', 'mdnw' ), max( $paged, $page ) ); ?></title> <meta charset="utf-8"> <?php $theme_options = get_option('option_tree'); ?> <?php wp_head(); ?> <!– Mobile Specific Metas ================================================== –> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> <link rel="profile" href="http://gmpg.org/xfn/11" /> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" /> <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <!– CSS ================================================== –> <!– Load the basic skeleton and plugin CSS, then the main theme stylesheet –> <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/assets/stylesheets/base.css" /> <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/assets/stylesheets/skeleton.css" /> <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/assets/stylesheets/comments.css" /> <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/assets/stylesheets/buttons.css" /> <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/assets/stylesheets/superfish.css" /> <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/assets/stylesheets/flexslider.css" /> <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/assets/javascripts/chosen/chosen.css" /> <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/assets/javascripts/prettyPhoto/css/prettyPhoto.css" /> <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/assets/stylesheets/styles.css" /> <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/style.css" /> <!– Load the font stack from the Options Panel –> <?php if (get_option_tree('default_fontstack') == 'Serif') { ?> <link rel="stylesheet" href="<?php echo WP_THEME_URL; ?>/assets/stylesheets/typography-serif.css" /> <?php } else { ?> <link rel="stylesheet" href="<?php echo WP_THEME_URL; ?>/assets/stylesheets/typography-sans.css" /> <?php } ?> <!– Load the default skin from the Options Panel –> <?php $lightdark = ''; if (get_option_tree('default_skin') == 'Dark') { ?> <link rel="stylesheet" href="<?php echo WP_THEME_URL; ?>/assets/stylesheets/skin-dark.css" /> <?php $lightdark = '-footer'; ?> <?php } else if (get_option_tree('default_skin') == 'Clean') { ?> <link rel="stylesheet" href="<?php echo WP_THEME_URL; ?>/assets/stylesheets/skin-clean.css" /> <?php } else {} ?> <!– Favicons, StyleLoader, and basic WP stuff ================================================== –> <link rel="shortcut icon"href="<?php echo get_option_tree('favicon'); ?>" type="image/gif" /> <?php get_template_part( 'element', 'styleloader' ); ?> <?php if ( ! isset( $content_width ) ) $content_width = 960; ?> <!– Start the Markup ================================================== –> <body <?php body_class(); ?> > <?php if (get_option_tree('top_hat') == 'No') { } else { ?> <?php get_template_part( 'element', 'tophat' ); ?> <?php } ?> <!– Super Container for entire site –> <div class="super-container full-width" id="section-header"> <!– 960 Container –> <div class="container"> <!– Header –> <header> <div class="sixteen columns"> <?php if(get_option_tree('logo_center') == 'Yes') { $logo_center = 'sixteen omega'; ?> <style type="text/css">.logospace{text-align: center;}</style> <?php } ?> <!– Branding –> <div class="six columns alpha logospace <?php echo $logo_center; ?>"> <a href="<?php echo home_url(); ?>/" title="<?php echo bloginfo('blog_name'); ?>"> <h1 id="logo" style="margin-top: 40px; margin-bottom: 30px;"> <?php $logopath = (get_option_tree('logo')) ? get_option_tree('logo') : WP_THEME_URL . "/assets/images/theme/pacifico-logo/logo$lightdark.png"; ?> <img id="logotype" src="<?php echo $logopath; ?>" alt="<?php echo bloginfo('blog_name'); ?>" /> </h1> </a> </div> <!– /End Branding –> <!– Promo Space –> <?php if(get_option_tree('logo_center') == 'Yes') { } else { ?> <div class="ten columns omega"> <?php if (get_option_tree('header_promo')) : ?> <a href="<?php echo get_option_tree('header_promo_url'); ?>" class="header-advert"> <img src="<?php echo get_option_tree('header_promo'); ?>" alt="advert" /> </a> <?php endif; ?> </div> <?php } ?> <!– /Promo Space –> <hr class="remove-bottom"/> </div> <?php get_template_part( 'element', 'navigation' ); ?> </header> <!– /End Header –> </div> <!– End 960 Container –> </div> <!– End SuperContainer –> Thanks!
Rachel -
Rachel Costello started the forum topic HELP: Changing from static front page back to blog? in the group
WordPress Troubleshooting and Support 10 years ago
I originally had a static page for my “Home” page. I would actually like to have this changed back to a blog-style page to show my posts and have it be my home page on my nav menu. I cannot figure out how to do […]