Home / Forums / DynamiX Support / Adding comments to portfolio posts

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • Olivier Durand

    Hi there,

    I was wondering if there is an easy way of enabling comments of portfolio items. And how can I order the portfolio “grid gallery” from newest (top) to oldest (bottom)

    Let me know, any help would be greatly appreciated! Thanks.

    Tom ( Support)

    Hi Olivier,

    As standard Portfolio post types do not support comments but here is the code to add comments in.

    This option will also be included in the next version.

    Edit DynamiX/lib/adm/inc/register-post-types.php

    'supports' => array('title', 'editor', 'thumbnail', 'page-attributes', 'excerpt' )
    'supports' => array('title', 'editor', 'thumbnail', 'page-attributes', 'excerpt', 'comments' )

    Currently you cannot sort Portfolio categories but you can trick it into sorting them. Edit your grid gallery, choose Portfolio Categories > Switch to Post Categories > Sort by date etc > Switch back to Portfolio Categories, finish and save the gallery. It should then sort by date etc. To alter it, switch to Classic Editor to manually change things.

    Hope this helps.

    Kind regards,

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

You must be logged in to reply to this topic.