admin管理员组

文章数量:1287261

I would like to have a list of links to PDFs on some posts that sit outside of the main content. See wireframe:

The links need to be editable via the editor / wp admin and be post-specific. It's a custom template so I have full access to the "single.php" template.

Because I need to be able to edit the link text for each link, I don't think I can use custom fields as there is no way to match up two different fields (ie a "link" field and "link_text" field), let alone have multiple "link" and "link_text" fields.

One idea is to hand-write the HTML for the list of links and save it to one custom field, but my client may struggle to add and edit raw HTML.

Any ideas? I'm open to using a plugin, but I can't find a suitable one.

本文标签: custom fieldBest way to insert a list of links into a post outside of thecontent