WordPress.org

Forums

Post Tiles
[resolved] [closed] Post Tiles and Fancybox mash up? (9 posts)

  1. soapboxsites
    Member
    Posted 2 years ago #

    Been tinkering with the site this morning and wondered if there was a way that clicking on the tile could launch the post in a lightbox using something like fancybox rather than just going to the post page?

    http://wordpress.org/extend/plugins/post-tiles/

  2. ethanhackett
    Member
    Plugin Author

    Posted 2 years ago #

    hm... It probably could work. I haven't used lightbox in years. I've thought about adding that as a possible feature down the road. You should be able to add lightbox and then have it target the anchors in the tiles since there are classes etc.

  3. soapboxsites
    Member
    Posted 2 years ago #

    ok you lost me after "It probably could work" lol

    Presumably there is something somewhere that essentially gives the instruction that when you click on tile A, go to post page A but would that be in the theme, the plugin, or somewhere else?

    Once found, and forgive me because I'm only coming at this from a logic point of view as I know next to nothing about programming and its the same logic I use to edit templates, in theory at least you would just need to edit that instruction to open fancybox-A.

  4. ethanhackett
    Member
    Plugin Author

    Posted 2 years ago #

    My answer wasn't very helpful. You would have to follow the lightbox or fancybox (that's another good one). It's a little more advanced process. I don't have time to explore it right now. But I'll come back and update this if I end up getting around to adding it.

  5. soapboxsites
    Member
    Posted 2 years ago #

    I have up on trying to get the links to open in FancyBox and switched to the prettyphoto plugin for my lightbox and the links on the post pages now open perfectly.

    In theory now if I could find the instruction that says what to open when you click on a tile I would be all set.

    Off to do some learning and see what I can find. Thanks for your help and for a great plugin.

  6. ethanhackett
    Member
    Plugin Author

    Posted 2 years ago #

    I'm wondering f you could do something like when .post-tiles li a is clicked get 'this' attr href. So basically you use the anchor as the trigger and the triggers href attribute as the URL. I would have to explore prettyphoto. But that logic should be a good direction. I'm on an iPhone so I can't explore it properly.

  7. soapboxsites
    Member
    Posted 2 years ago #

    Thats exactly the kind of logic I was following, there must be something somewhere that tells it what to do when a post tile is clicked, its would just be a case of substituting the bit that tells it to go to the post page for what currently tells it to open the lightbox.

    Will let you know if I figure it out

  8. acjdesigns
    Member
    Posted 1 year ago #

    Was there any update on this?

  9. esmi
    Forum Moderator
    Posted 1 year ago #

    If you require assistance then, as per the Forum Welcome, please post your own topic. This 11 month old topic references an old version of WordPress.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Post Tiles
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.