• Resolved marzoolio

    (@marzoolio)


    Hi,

    I would like to change the look of the bonus questions box in prediction page, but I can’t find hooks to do this. Don’t I just find them or don’t they even exist? Would it be possible to add?

    Thanks in advance!

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

    (@antoineh)

    Unfortunately, the bonus questions do not have a hook (yet).

    I added a template that can be overridden in my dev version. Not entirely sure if you can simply take the print_bonus_question function from the trunk and replace the function in your install.

    P.s. you can’t use the entire class because it contains unfinished code.

    Thread Starter marzoolio

    (@marzoolio)

    Awesome! Thanks.

    I did copy print_bonus_question function and looks like it working like charm.

    PS: I won’t mind if you add start and end filters for this hook also. It would be nice to be able to wrap all bonus questions inside one element. This is just nice to have possibility. No horry 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Hooks for bonus questions layout modification’ is closed to new replies.