![]() | | ||||||||
| | #1 |
| Senior Warrior Member War Room Member Join Date: Nov 2005
Posts: 1,215
Thanks: 764
Thanked 262 Times in 158 Posts
|
I found a really nice plugin and script that I would like to use to display image galleries in wordpress posts. Here's the plugin I am referring to, and yes, I did download and install both the Highslide Plugin and Hi-Slide JS Thumbnail Viewer okay. Quick and easy to do. Tech Projects Wordpress HighSlide JS Plugin Highslide JS - JavaScript thumbnail viewer The main problem I'm having is that images in the gallery are displayed vertically on top of each other. I want to show four images per row horizontally. Like all those lovely cakes! Best I can tell, the problem is happening because of the <p> tag. (Unless someone else has an idea as to what might be causing this.) Here is what I found on the FAQ page: Question: When I look at the generated code it is surrounded by a <p> tag. How can I remove that <p> tag? Answer: This is a “feature” of wordpress. Here is the generated HTML required for highslide. Notice the <p> tags that surround it: <p><a href="http://www.pinkcakebox.com/images/cake200.jpg" class="highslide" onclick="return hs.expand(this)"> <…snip…> </p> To remove the <p> tag open your default-filters.php and comment out the following line: add_filter(‘the_content’, ‘wpautop’); - - - > Problem is, I can't even see the <p> tag in the first place, even when I switch to using the Visual editor. Second problem is, I can't find the "default-filters.php" file. Third problem is, I have no idea what "comment out" means. Actually, I know that a comment out does, I just don't know how to write one properly, or where to put it. *** Right about now I know where I'd like to put it, but that wouldn't help me get this lovely script and plugin working properly! ***Just for the record, I did try the NextGen Gallery plugin and will use it if I can't get Hi-Slide working. However, when you click the thumbnail, NextGen opens the full sized image in a new window, which I very much want to avoid. Hi-Slide enlarges it right on the page you are viewing. Very nice feature, and exactly what I am trying to accomplish. Apologies for the long post. If anyone can help, I'd be very grateful. This is one skookum gallery, at least I think it is, and I'm quite frustrated about not being able to get it to do what I want. |
| | |
| | #2 | |
| Kevin Wilson War Room Member Join Date: May 2007 Location: BC, Canada.
Posts: 539
Thanks: 175
Thanked 74 Times in 62 Posts
| Quote:
"default-filters.php" is in the wp-includes folder under your wordpress installation "comment out" means to put the HTML comment characters round the piece of code you want to get rid of: <!-- before it and --> after it. I've been looking for a slide show plugin too so thanks for posting this - I'll take a look at it next time I come around to working on that site again! Kevin | |
| | ||
| | |
| | #3 |
| Senior Warrior Member War Room Member Join Date: Nov 2005
Posts: 1,215
Thanks: 764
Thanked 262 Times in 158 Posts
|
Hi Kevin: Thanks for getting back to me. I will have a go at editing this later today. I'm off on a wee day trip so won't get a chance to try anything until this evening. How is the weather in beautiful BC? We're having some gorgeous warm and sunny weather here in Eastern Ontario. |
| | |
| | #4 |
| Kevin Wilson War Room Member Join Date: May 2007 Location: BC, Canada.
Posts: 539
Thanks: 175
Thanked 74 Times in 62 Posts
|
We've had a very nice September up to yesterday, now the rain has started. At least this year I got my gutters cleaned and caulked in the dry - last year it was so wet all summer they never dried out enough for the goop to stick!
|
| | |
| | |
![]() |
|
| Tags |
| editing, gallery, image, wonderful, wordpress, wordpress configuration, wordpress gallery, wordpress plugin |
| Thread Tools | |
| |
![]() |