WordPress.org

Ready to get started?Download WordPress

Forums

Link Manager
Convert links to custom post type (7 posts)

  1. privatestorm
    Member
    Posted 1 year ago #

    Is there a tutorial or plugin to convert links to custom post type? I would like to add new functionality and assign links to individuals which is easier to accomplish with custom post types. The inventory of links and link categories has already been created so I'd rather convert the links to custom post type instead of starting from scratch.

    http://wordpress.org/extend/plugins/link-manager/

  2. privatestorm
    Member
    Posted 1 year ago #

    @sanchothefat mentioned this several months ago in Trac and I was wondering if anyone started working on the conversion yet? I'd rather not duplicate the effort if it has already been done, or at least started.
    http://core.trac.wordpress.org/ticket/18781

  3. sanchothefat
    Member
    Posted 1 year ago #

    Hi @privatestorm,

    I'm afraid I haven't got round to writing the conversion script yet. Just the post type plugin and adding back in the related metaboxes for xfn etc...

    I think discussion was heading towards just using wordpress menus and a menu widget to manage lists of links.

    The conversion script might take a little while as it maps most columns to postmeta. I've subscribed to this thread so I'll post a github link here when I've something ready to try out.

  4. privatestorm
    Member
    Posted 1 year ago #

    Thanks for the update. Using menus might be the right option for a lot of people, but for the project I'm currently working on I have a much different type of implementation planned.

  5. ancawonka
    Member
    Posted 11 months ago #

    @privatestorm, are you still working on this? I'm implementing links as a custom post type, and would be happy to share code if you're still interested.

    (and yes, for the same reason as you're doing it - to be able to associate individual links with other site content using P2P)

  6. privatestorm
    Member
    Posted 10 months ago #

    @ancawonka No, this is a project that I haven't gotten back to working on yet. I would definitely appreciate any code you have to share.

  7. benutzerfreund
    Member
    Posted 10 months ago #

    @ancawonka I just found this thread - and what you implemented is just what I am planing right now. So I would be happy if you could share some code you created for this.

    Thank you so much in advance!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic