Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

Child Fields not Showing Up on Front End

$
0
0

Hi everyone,

I am trying to create a slideshow of images. I have a parent page "Projects" and within this page I have Child fields for Image Slides (each uploaded image should become its own "slide" on the front end, ideally.)

I have browsed through other support threads, but nothing I try seems to work. Nothing shows up. Is there another piece of code that I need to add somewhere else that I am missing? I am not very experienced with php, but up until now I have been able to figure everything out just fine.

This is what I have in my template file:

<?php
	$child_posts = types_child_posts('image-slides');
	foreach ($child_posts as $child_post) {
	echo $child_post->post_title;
	echo $child_post->fields['slide-image'];
	}
?>

Any help would be greatly appreciated.


Viewing all articles
Browse latest Browse all 20145

Trending Articles