- This topic has 3 replies, 2 voices, and was last updated 3 weeks, 2 days ago by .
I am testing metabox during the 14-day trial period, and I’m not yet sure if it will give me all of the functionality I desire given my current skillset. I am working on a site that needs to reference scientific literature. I have used MB Builder to create a CPT called “Publications,” and I used MB Views to create an archive page that outputs all publications in a citation list.
The next step that I would like is to be able to create a shortcode that I can use to insert a reference anywhere on the site and then automatically generate a reference list at the bottom of the post/page. Ideally, I would have a shortcode that looked something like [cite ref_id=””] where ref_id is unique to every publication post. Then, this shortcode would output a number corresponding to the citations position on the page (the first ref is number one, the second is number 2, and if you use the same reference twice then both instances just use the first number). Then, at the end of the page/post, I would like to insert a numbered list with the publication citations written out in the order they were used in.
Is it possible to do all of this with metabox/html/css? I’ve been looking for resources to help me, but so far I don’t have enough info to tell.
The most promising links I have found:
- You must be logged in to reply to this topic.