Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Eliot Akira

    (@miyarakira)

    It looks like they are stored as taxonomy terms and fields. So, I would try using the [for] loop:

    [for each="link_category" count="5"]
      [each name]
      [each description]
    [/for]

    Does that work?

    Thread Starter polyfade

    (@polyfade)

    @eliot Akira, well yes, but no. I don’t think I explained myself well.

    That returns the link_category Names along with their Descriptions. (As seen here.)

    I’m looking to return the (Name and Description* for each Link posted to the link category, Fuzzball, for example. (See visual)

    * Description can only be seen on the full page. (See visual)

    Does that help?

    Plugin Author Eliot Akira

    (@miyarakira)

    I’ve looked deeper into this by installing Link Manager, to see how its content is stored. Surprisingly, the links are stored in a way that is not straight-forward to retrieve; the links (and their fields) require their own special functions, which is not built into [loop]. So this may take some time to implement.

    Thread Starter polyfade

    (@polyfade)

    Eliot, no worries. Seeing as WP has abandoned the Links Manager on a fresh WP installs, who knows how long before it’s depreciated. It’s probably the least utilized WP function.

    Sadly, the Links Manager already fits the needs of a sponsors page without reinventing the wheel (adding a new custom post type with some ACF fields).

    Thanks again for your hard work.

    Plugin Author Eliot Akira

    (@miyarakira)

    OK – I’m kind of glad to hear it’s not so critical for you to have this feature. It would have been another optional module, and I wondered if it would be so useful in general.

    It was interesting to see how the Link Manager worked. Some funny-sounding fields too, like “Link Relationship: romantic – muse, crush, date, sweetheart”!

    In terms of flexibility and maybe future compatibility, I think it would be better to build it with custom post type, taxonomy and fields. That way you can have only the necessary fields, and be able to display it easier.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Built-in Link Manager’ is closed to new replies.