Skip to content

Model Traits #113

Description

@BenRutlandWeb

Is your feature request related to a problem? Please describe.
To get the post featured image requires adding boilerplate methods that could be used as a trait

Describe the solution you'd like
A trait for things such as the post featured image and author. HasFeaturedImage

Describe alternatives you've considered
Adding the methods to the base class

Additional context
Perhaps a trait for HasAuthor, HasFeaturedImage, HasAttachment etc.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions