• Resolved Z_e_t_a

    (@z_e_t_a)


    Hi, I’m building a theme with Comic Easel to read comics, I want to be able to click on an image/page in a post/comic and then navigate, through SLB, all the other images/pages uploaded to posts/comics on the same category/chapter, in order. In other words, read the comic in SLB. Is there a way to do this without having to add the other images on every post?

    I tried to add a wp_query on the single-php so it would link all previous and following images in the category but I can’t pull it off. And what I could do (have all the images from the category) doesn’t work because SLB doesn’t let me navigate and only opens the images individually.

    https://www.ads-software.com/plugins/simple-lightbox/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Archetyped

    (@archetyped)

    Hi, can you please post a link to the page with the links so that I can better evaluate what you’re trying to do?

    Also, this post on creating single link slideshows might help.

    Thread Starter Z_e_t_a

    (@z_e_t_a)

    Hi, thanks for answering, I’m currently working on a local server, I’ll upload it and link it here as soon as I can, thanks!

    The post on creating single link slideshows is what led me to try to modify single.php so it would link all the images from the chapter, but no luck yet.

    Plugin Author Archetyped

    (@archetyped)

    Got it. Send me the link when you have it uploaded and I would be glad to take a look.

    Thread Starter Z_e_t_a

    (@z_e_t_a)

    Here it is, after a while:
    https://vinetauno.com/comic/pagina-2

    (In this example there’s page 2 from the post first and then all the pages of the chapter loaded, so page 2 is there twice. The second part shouldn’t be there but this way I can show the navigation I want)

    I need a way to have one page on screen and then when clicked on it be able to navigate the entire comic, forward and backward, on the lightbox. Is there a way to do this?

    Plugin Author Archetyped

    (@archetyped)

    In your example, adding the following CSS to your theme will hide the additional pages from view but you will still be able to navigate between them in the lightbox:

    .contentsingle .post-content {
     	display: none;
    }
    

    You may have to modify this CSS so that it does not conflict with any other part of your theme.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Opening comics on SLB with comic easel’ is closed to new replies.