Forums

plugin dev working with URI's (1 post)

  1. romenov
    Member
    Posted 1 year ago #

    Hello,

    I'm trying to develop a plugin that provides more information about something, it's not a webshop but I guess you could compare the functionality.

    So I have items that a query out of the database, and use a hook to attach it to a page, so far so good!

    Now my question is (I could not find it in the codex, perhaps I missed it) , I want to display a link in an overview with more information. So that when I click it I go to a new "page" with information of that specific item. How do I make it work so that my URI is for instance : /items/ID/foo , and then when I reach that page, how to get the actual ID out of it?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags