• I see the slug in the database, and I see there is a possibility to reference content by slug, but if I′m in a post, the reference I see from the button is the id.

    Is not possible to call an exercise from an url with the slug instead of the id?

    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author icc0rz

    (@icc0rz)

    This has not been added, but I do like the idea. It would make it much easier to tell which content is what.
    The slug was originally added to be able to tell the .h5p export files apart, though I don’t see why we couldn’t use it for this as well.

    Thread Starter Antonio D.

    (@colomet)

    it can be nice to be able to open the exercise from one way (by id) and the other (by slug), in such way, in a situation where we have an exercise with the same title of a post, it would be really easy to integrate a post and an exercise

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘exercise by slug’ is closed to new replies.