ProBlog

A powerful October CMS Blog plugin. Boost your SEO with robust blogging tools by Radiantweb.

Back to ProBlog Support

paulgrafx
paulgrafx

Hi,

I have created my own loop for the posts but I am wondering how the posts are linked to the featured images / db - system_files (i.e. id etc)

A QUERY like....

attachment_id = [post_id_number] AND attachment_type = 'Radiantweb\Problog\Models\Post'

Last updated

paulgrafx
paulgrafx

UPDATE: All sorted :)

use Radiantweb\Problog\Models\Post as PostExtended;

And in the loop on the 'default.htm'

{{ post.featured_images[0]['path'] }}

Last updated

1-2 of 2