I recently set up a Thematic Site using the Thematic Feature Site child theme. I created a home page using the Front Page template. Simply put, there is content on the page, but I have no idea where it is pulling from. It's not on the Edit Page, it's not a widget, and it's not a blog post. I imagine I must be overlooking something simple, but I have no idea what it is. My site can be found at zgcreative.com/wordpress-sandbox/chicago. I feel silly for even having to ask this, but I really cannot figure out where this content is being generated or how to change it. Anything I do on the Edit Page doesn't show up. Thanks for your help!
Where is my Front Page content coming from?(4 posts)
The front-page.php pulls the content from the includes files.
Check in the folder /includes/feature-front-1.php & feature-front-2.php.
By default it will rotate between them.
Oh, and the rest of the text is actually on the front-page.php file itself if you weren't talking about the rotating sliders.
I've borrowed half of this page for my current site and have used this bit of code to generate the "Who Is" section. Is there a better way to do this(it works, it's automatically generated and saves having to edit files if I want to recycle this bit of code)
<div id="front-block-1" class="front-block block"> <h3>Who's <?php bloginfo('name') ?>?</h3> <?php $user_info = get_userdata(1); $gravatar_email = $user_info->user_email; echo get_avatar($gravatar_email, '84'); ?> <p><?php $args=array( 'post_type' =>'page', 'post__in' => array(7), ); $page_query = new WP_Query($args); ?> <?php while ($page_query->have_posts()) : $page_query->the_post(); ?> <p><?php the_excerpt(); ?></p> <?php endwhile; ?><p><a href="<?php echo get_option('home') ?>/about/" rel="nofollow">Read more at my about page</a></p> </div><!-- #front-block-1 .front-block .block-->Posted 3 years ago #
This topic has been closed to new replies.