Floatbox (lightbox) Gallery Order and Isotope - lightbox

Although this question is specific to Floatbox (http://floatboxjs.com/demo), this issue would be generic to most image gallery light-boxes.
I need Floatbox to be able to show my image galleries per Isotope's reordering of page elements; e.g. div - thumbs. For what Isotope does please see http://isotope.metafizzy.co/demos/sorting.html .
The problem is that plugins, like Floatbox, get their page order of elements (thumbnails) off of the initial div's on the page. From what I can understand of Isotope, it doesn't actually rewrite the HTML to allow scripts like Floatbox to the read/parse the new order of displayed thumbnails.
I only have a very black box understanding of jQuery so I suppose I am asking if there is a way to rewrite the page such that scripts like Floatbox can then be called to parse them in Isotopes new 'displayed' order.
I have hunted everywhere for a solution, but I cannot even find much in the way of anyone asking this question. That seems odd as this affects everyone who uses a Masonry/Isotope and lightbox combo ~ being able to advance via a lightbox in the newly sorted order instead of the original page order.
For what it's worth, the site with the galleries I am working on is leo labelle dot com.
PS - I posted a similar question to the creator of Floatbox and unfortunately his best solution was to rewrite the pages in each possible order . . . yikes!!!!
Regardless of a solution - A huge thanks for any suggestions!

Related

Where is the WordPress code that determines the order of elements of an Audio Playlist?

As shown in the picture, in the Wordpress Playlist how to simply display the current-track below the track-list — but NOT by using CSS? Where is the WP main code that determines the order of these elements?
I figured there are files such wp-playlist.js, media.php, mediaelement-and-player.js that allows you to manipulate each element/event individually, but none of them ultimately determines the order how these elements are displayed, there should be a parent code somewhere which calls and displays all these elements in this specific order. Where it is, which code is responsible for this order?
It may look very simple but I wasted 48 hours and still can't figure this out, maybe I am just retarded. Any WordPress expert out there, any help greatly appreciated.
WP PLAYLIST SCREENSHOT: https://i.stack.imgur.com/vVBsq.png

Customizing product slider, WooCommerce

Iam somewhat of a newbie when it comes to wordpress. so bear with me.
ive been trying to make a simple slider that will display 3 catagories.
- books
- Boardgames
- office supplies
iam making it for someone who dosnt want a web store but just wanting it to display items in a meaningfull and dynamik way.
what ive tried is installing the WooCommerce plugin to make all my products and then installing the product slider by pickplugins.
I like the way it looks and i want to make two more. but i see no option to choose between different catagories in the slider options, so if i make 2 more sliders it will just display the same items (all of them).
the site is: http://nordborgboghandel.dk/
and the slider i want is something like there is on the frontpage.
anybody fixed a similar problem??
-Thanks!
Yes, I was once stuck into a same situation, in which we had to customize the slider. Basically you will have to play with the CSS and JS of the slider plugin which you have used to create the slider.
You can start of by having a look at the js and the css used by the slider. Refer the documentation of the slider if available, I am sure if they have any documentation you can have it customized easily by modifying some values in it. If not then you will have to check the JS code and try to hack it yourself to fit your needs.

JQuery Plugin (Hover-Caption) Adding Offset to Images In Internet Explorer (all versions)

I have a Wordpress site that uses a JQuery plugin called Hover-Caption ( https://github.com/coryschires/hover-caption ).
The main page of site: (http://brighidfitzsimons.com) looks good.
However in Internet Explorer 9, a similar page based on Category adds a 282px top offset to the post thumbnail image. (http://brighidfitzsimons.com/category/lifestyle/)
I am new web developer so I am struggling to figure out how to isolate problem. Based on this stackoverflow entry ( How do I get rid of an element's offset using CSS? ) my current train of thought is to add a IE specific CSS sheet to 'reverse' the offset but I can't seem to get at the offending element. Also I'm confused why works on main page but not on category page. If you watch page loading carefully, it initially loads correctly then at the very end the images are moved down. Perhaps this is a clue.
First stackoverflow entry so I hope I have followed correct ettiquete. Please advise if you need me to provide any more information.
Thanks for taking time to read problem.
Regards Simon
It has something to do with the substitutions of the content inside the title, probably some quirk about ie9 which someone else would have more of an idea for me
just so you can take my word for it: http://jsfiddle.net/BXjK3/
the first two i have removed all the greater, lesser and quotes and it works, but I would say the browser does the substitutions before Javascript can see it, and it all goes down-hill
edit: worth mentioning the reason it looks like that is because the text is no longer properly contained, and so the display none is not taking effect on it, pushing all the images down and making it a jumble, due to the way the content is loaded the ie inspection cannot show me how the text is after the javascript, only what was loaded on page load, so i can't give you more help than that

How to decrease the webpage width in a Wordpress theme?

This is my page: http://www.theonewhogetsit.com/shorter-width/
The large width makes it too hard for the readers to read through it.
I want to basically make cut the width of the page in half (but only for this page).
What do you think?
Welcome to Stack Overflow! This is the kind of question that sometimes takes a bit of a pasting on this site, don't let that make you think it's any less awesome though :)
You want to create a custom template for this page, here's the link to how to go about dong that;
Wordpress Custom Templates
You would copy the existing page.php template, rename it as per the instructions above and then change the HTML markup in that template so the div containing <?php the_content; ?> was wrapped in a new id or class. Then you'd use CSS to set the width of that id/class to 50%.
That's a rough guide, if you get stuck then come back with specific questions - paste up your code from the template and your CSS and you will get quick answers here. Good luck.

Wordpress slideshow plugin with scrollbar, autoplay and lightbox

I have been asked to build a portfolio website for a photographer. The main page contains a slideshow of the photographer's best work, I have used an autoplaying NextGEN SmoothGallery with Lytebox. After some customization of the plugin, this works.
However, the client has requested a category selection above the main slideshow and a scrollbar below the image. They also want part of the previous and next images to be visible, not just the image in focus. The image here illustrates what I mean.
I have searched and searched, but cannot find a plugin that would do this. Can anybody help, please?
The trouble is, I doubt there is a plugin around that would do this, and it's really not going to be a case of "here's the code to do that, just drop it in and you're flying".
If it were me, I'd probably write the whole thing myself, because if I'm honest, I've never used the NextGEN SmoothGallery plugin, and wouldn't want to root around all the code when I've got a simple idea myself;
A bit of PHP that outputs the list of categories, and then an unordered list of the X most recent items, one list for each category.
Then I'd use jQuery (and probably the jCarousel plugin) to create the slideshow for a single list, and add click handlers to the category links which simply 'swap in' the correct list into the current carousel.
Finish the whole thing off with some CSS.
Does any of that sound like something you'd be familiar with?

Resources