Skip to content

Poet Page/Product integration logic uses Titles rather than Post IDs. #19

@melek

Description

@melek

This issue will cause problems if two poets have the exact same name. Using the ID would be a more robust solution.

To do this gracefully, the bp_linked_author meta should work if it is either a number or a string. If a string, then query for the most recently published post title matching it. If a number, query it as a post ID.

This logic would need to be revised in two places: On the front/shop page showcases, and on single product pages below the description.

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