• Resolved gearsdigital

    (@gearsdigital)


    Hello,

    for a simple gallery i want to use the build in gallery feature. I have a page who works as overview page called photos.

    Each gallery would be new child page of photos. What i’m trying to do now is to print a list of all childpages WITH a thumbnail from the specific gallery. Any sugestions anyone?

    Regards, Steve

Viewing 1 replies (of 1 total)
  • Thread Starter gearsdigital

    (@gearsdigital)

    I found a solution my own. It’s a WordPress core feature.

    Just add this to your Themes function.php
    add_theme_support( 'post-thumbnails', array( 'page' ) );

    After that you can call the Thumbnail like this in your Template.
    <?php the_post_thumbnail(array(133, 92)); ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Thumbnail Teaser for Page’ is closed to new replies.