Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 09-24-2008, 08:57 PM   #1
Senior Warrior Member
War Room Member
 
I.M.Retired's Avatar
 
Join Date: Nov 2005
Posts: 1,215
Thanks: 764
Thanked 262 Times in 158 Posts
Default Need Help Editing A Wonderful Wordpress Image Gallery

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.
I.M.Retired is offline   Reply With Quote
Old 09-24-2008, 10:42 PM   #2
Kevin Wilson
War Room Member
 
kevinw1's Avatar
 
Join Date: May 2007
Location: BC, Canada.
Posts: 539
Thanks: 175
Thanked 74 Times in 62 Posts
Contact Info
Send a message via Skype™ to kevinw1
Default Re: Need Help Editing A Wonderful Wordpress Image Gallery

Quote:
Originally Posted by Dekko View Post
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.
You'll only see the tags when you're in the HTML tab of the editor.

"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

kevinw1 is online now   Reply With Quote
Old 09-25-2008, 08:34 AM   #3
Senior Warrior Member
War Room Member
 
I.M.Retired's Avatar
 
Join Date: Nov 2005
Posts: 1,215
Thanks: 764
Thanked 262 Times in 158 Posts
Default Re: Need Help Editing A Wonderful Wordpress Image Gallery

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.
I.M.Retired is offline   Reply With Quote
Old 09-25-2008, 08:25 PM   #4
Kevin Wilson
War Room Member
 
kevinw1's Avatar
 
Join Date: May 2007
Location: BC, Canada.
Posts: 539
Thanks: 175
Thanked 74 Times in 62 Posts
Contact Info
Send a message via Skype™ to kevinw1
Default Re: Need Help Editing A Wonderful Wordpress Image Gallery

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!

kevinw1 is online now   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum

Tags
editing, gallery, image, wonderful, wordpress, wordpress configuration, wordpress gallery, wordpress plugin

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 01:23 PM.