Home / Forums / DynamiX Support / Add excerpt for portfolio items

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts

  • 0rca
    Participant

    I can find no way, how to add excerpts to portfolio items, but portfolios do use the excerpt field. If I change the post type from portfolio to post I can enter an excerpt and – changing the post back to portfolio – use it.

    How can we enable the excerpt for portfolios?


    Tom ( Support)
    Keymaster

    Hi,

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

    This option will also be included in the next version.

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

    replace:
    
    'supports' => array('title', 'editor', 'thumbnail', 'page-attributes')
    
    with:
    
    'supports' => array('title', 'editor', 'thumbnail', 'page-attributes', 'excerpt')
    

    Hope this helps.

    Kind regards,
    Tom


    0rca
    Participant

    Forgot to confirm this helped and the new update contains it anyway. Thanks a lot Tom.

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

You must be logged in to reply to this topic.