Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Wordpress blog post

Hello there Zac Gordon got another question about creating a wordpress theme. Been following along with it but can't get my blog post link to display the first,second and third blog that I created. Is there any way I can resolve this?

6 Answers

You'll have to tag Zac if you want him to see it. ex. (Steven Prescott ) If you're having trouble with a code challenge or just with your code, then the rest of us will be happy to help. Just show us what you`re working with.

-- Steven

i have all the programme files up to step six and what i want to do is customise the html behind the them Zac Gordon

Zac Gordon
Zac Gordon
Treehouse Guest Teacher

Could you let me know exactly what video you're at at the moment?

The single.php file is the one that controls an individual blog post html.

Thanks Steven!

Am on coding the header and footer template now. managed to solve the problem of the blog not displaying and the html and php idea sounds beta now. but still bait curious, about how to add logo to the header, any any idea of codes that l can try please

Here's an article about designing headers for WordPress. I think you might find it interesting. http://codex.wordpress.org/Designing_Headers

that was very helpful thanks. l am nearly down with the site now but my Slider is not working on my homepage. Any suggestions why this is? Zac Gordon

Zac Gordon
Zac Gordon
Treehouse Guest Teacher

What slider and theme are you working on your site?

The homepage image slider on the theme you created for Allison's portfolio.

i check with my front-page.php file and realise the whole slide on the homepage was implemented by the custom ui plugin that i installed but then can do i get it to work?

```php </div> <div id="featured" class="clearfix flexslider">

    <ul class="slides">
        $args = array(
            'post_type' => 'work'
        $slideshow_query = new WP_Query( $args );          
    <?php if ( have_posts() ) : while ( $slideshow_query->have_posts() ) : $slideshow_query->the_post(); ?>
        <li style="background-color: <?php the_field('background_color'); ?>">
            <div class="container">
                <div class="grid_8"><img src="<?php the_field('homepage_slider_image'); ?>"></div>
                <div id="featured-info" class="grid_4 omega">
                    <h5>Featured Project</h5>
                    <h3 style="color: <?php the_field('button_color'); ?>"><?php the_title(); ?></h3>
                    <p><?php the_field('description'); ?></p>
                    <p><a class="btn blue" style="background-color: <?php the_field('button_color'); ?>" href="<?php the_permalink(); ?>">View Project &rarr;</a></p>