Flip Pong V
link to any page in the book (3 posts)

  1. spentas
    Posted 2 years ago #

    Hi, very good job, thank you.

    Just want to ask.. Is it possible to make every page as link like http://yoursite.com/?flip_pong=flipbook-name/page-number-here or http://yoursite.com/?flip_pong=flipbook-name/#page-number-here ?

    I really need this feature, but just can't figure out how to use hash js or js-address js or something like that.

    Anyway thank you very mush


  2. tambourdeville
    Plugin Author

    Posted 2 years ago #

    Actually, I think there would be a way to do that:
    you will have to edit the file "single-flip_pong.php" in your theme directory;
    On line 48: this line generate a <img> for each picture attached to the post. You should add a -onclick- property with a link.
    In that line, you can use the php variable " $flipimage[0] " which is the name of your picture file.

    I think you now have everything to do what you need.
    Tell me if you need anything else !

    (don't forget to save a copy of the file, if there is a new update it'll be erased...)

  3. spentas
    Posted 2 years ago #

    Thanks for your response. Please, help me a little bit more.

    So I found this line, added the "a" tag with href="javascript:;" and I can't find the right way to make what I want with onclick event. I spent a few hours though.

    If not your plugin is the best way to create a flipbook.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Flip Pong V
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic