fbpx

WebEx/Video (file or URL) AND Quiz link possible in one file post?

This topic contains 5 replies, has 3 voices, and was last updated by  Shahriar 1 week, 6 days ago.

Viewing 6 posts - 1 through 6 (of 6 total)
#112564

scott eckland
Participant

We have a series of videos that the user is required to view and then take a quiz related to the video. Is it possible to have 2 files pointing at seperate URL’s/Files? Basically, a button that would say ‘View Course’ and then another button next to it (preferably after the ‘View Course’ button) that says ‘Take Quiz’ pointing to another file/URL.

RUFF Example:

_______________
TITLE OF VIDEO COURSE
_______________
Description of Video Course
Blah blah blah…
_______________
VIEW COURSE Button / TAKE QUIZ Button
_______________
_______________

A horizontal table would be ideal, but really as long as the two buttons are in one ‘post/file’ thats the goal.

If this is available in the Pro version great or the free version. We are working with the free version to see if this is possible and don’t mind going Pro if that’s possible with that version.

Thanks
Scott

#112743

Shafayet
Moderator

It is also possible in free version, you need to create 2 items, and use link label “View Course” and “Take Quiz” accordingly.
And there you will get 2 short codes and you just need to copy them and put them in a page.

#112781

scott eckland
Participant

That makes sense…is there a more automated way, so that the quiz and course button populate in the same ‘package’ when a ‘package’ is inserted into a post/page? I can get the quiz button to appear above the course button by using the quiz button shortcode, but it would be ideal to have it with the course button and then next to it or even after it the Quiz button would appear.

Below is a screen cap of what it currently looks like, and then ruffly what would be better for our usage.

http://eckland.net/example.png

Thanks in Advance for your assistance

#112883

Shahriar
Moderator

You need Pro if you want to do this with single shortcode and single package.

1 ) Create a package and add both files. Pro supports multi-file package.
2 ) Create a custom link/page template to get your intended UI.

By default, WPDM uses a table or Box like UI to display multiple files with the same “Download” button label ( http://prntscr.com/panswf )

But we have to create 2 custom template tags in your case to use different button labels for video and quiz links. It is possible using wdm_before_fetch_template hook.

#112937

scott eckland
Participant

Pro Purchased! SO…the 2 hooks ‘View Course’ and ‘Take Quiz’, I found this:

wdm_before_fetch_template

Where does this get placed/edited if that’s what needs to happen. The buttons in question will more than likely be links to a webpage/url and not a file they would need to download locally.

Thanks
Scott

#113055

Shahriar
Moderator

You have to add the custom code to your active theme or child theme’s functions.php file. Or You can create a custom plugin.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.