WordPress.org

Forums

Custom Content Type Manager
Filter issue (3 posts)

  1. GrayHunter
    Member
    Posted 2 years ago #

    Hello,

    1) Your plugin is GREAT, thank You.

    2) I'm using the widget "Summarize Posts" and need to show the first value (or all, if only the first is impossible) of the array.
    So, I have a project (post type) - widget gets it. It has one or more related clients (another post type) - I do need to show the title of the first related client and (if is possible) this title should be the link to the client.

    I tried all of the filters from your site - nothing helped. Help me pls. Would you like?

    Example:
    Client - 23

    (this "Client - 23" is a title of the related post type and is the link to Client - 23 page)

    http://wordpress.org/extend/plugins/custom-content-type-manager/

  2. GrayHunter
    Member
    Posted 2 years ago #

    Oh, and how can I show <ol> list (numbered), not <ul> ?

  3. fireproofsocks
    Member
    Plugin Author

    Posted 2 years ago #

    Formatting is easy: just supply a different formatting string by using the full version of the short-code: everything enclosed by the opening/closing tags is considered the formatting string.

    Sorry, could you clarify the rest? I think you're thinking about the relations in some other way, so I can't follow what exactly you're asking.

    The get_post filter is probably what you want though: it's the most powerful one. It looks up the referenced relation and then it can return a field from it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic