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! While you're at it, check out some resources Treehouse students have shared here.

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

WordPress

Konrad Pilch
Konrad Pilch
2,435 Points

Images wont show up

I have title and texarea, but no image, why?

Field Order Field Label Field Name  Field Type
1
Services Title
services_title  Text
2
Services Image
services_image  Image
3
Services Content
services_content    Text Area
`

The image wont show up in my 

```php

//Services
//Our custom post type function
function create_posttype() {

    register_post_type( 'services',
    // CPT Options
        array(
            'labels' => array(
                'name' => __( 'services' ),
                'singular_name' => __( 'services piece' )

            ),
            'public' => true,
            'has_archive' => true,
            'rewrite' => array('slug' => 'services piece'),
            'menu_icon'           => 'dashicons-feedback', // picture on the left [pic]services
        )
    );
}
// Hooking up our function to theme setup
add_action( 'init', 'create_posttype' );




if( function_exists('acf_add_options_page') ) {

    acf_add_options_page();

}

I have title and texarea, but no image, why?