Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author caterhamcomputing

    (@caterhamcomputing)

    You can change the order of the items by adding the following to your theme’s functions.php file:

    function custom_ccchildpage_inner_template($template) {
    $template = '<div class="ccchildpage {{page_class}}">{{thumbnail}}<h3{{title_class}}>{{title}}</h3>{{meta}}{{excerpt}}{{more}}</div>';
    return $template;
    }
    add_filter( 'ccchildpages_inner_template' ,'custom_ccchildpage_inner_template' );

    … please note that from version 1.37 (which will be released shortly), this will need to changed to:

    function custom_ccchildpage_inner_template($template) {
    $template = '<div class="ccchildpage {{page_class}}">{{thumbnail}}{{header}}{{meta}}{{excerpt}}{{more}}</div>';
    return $template;
    }
    add_filter( 'ccchildpages_inner_template' ,'custom_ccchildpage_inner_template' );
    Plugin Author caterhamcomputing

    (@caterhamcomputing)

    Just a note … I have changed the code so that either of the above should work after the next release. That should ensure backwards compatibility.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Displaying page title after thumbnail’ is closed to new replies.