This is the documentation for concrete5 version 5.6 and earlier. View Current Documentation

Whereas in concrete5, custom content can be displayed via the global $c object:

echo  $c->getAttribute('myspecialattribute');

Custom images in concrete5 work a little differently, to display this you have to use the image helper:

In Wordpress, Post Details store information about individual posts. In concrete5, we can store and retrieve similar data with Page Attributes. Let's say we want to get and display these details on our site.

For Wordpress, single pages still have to use the loop to retrieve content:

if( have_posts() ) :

        while ($wpquery->haveposts()) : $wpquery->thepost();
                    / / output custom content here with getpostmeta

        endwhile;
endif;
$ih = Loader::helper('image');
$img = $c->getAttribute('herfderf');
if(isset($img)) {
     $ih->output($img);
}
Loading Conversation