Tom Morton
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Add rel=”xyz” to Gallery LinkMaybe there is something wrong with what I am doing, but I copy/paste the code into the functions.php file and it doesn’t change the gallery images at all.
Am I doing something wrong?
Forum: Fixing WordPress
In reply to: Add rel=”xyz” to Gallery LinkAlright, I’m calling uncle. I’ve done several google searches and more! How the heck do you implement the code you posted? In a plugin? In functions.php? I’m going Mad!
Forum: Fixing WordPress
In reply to: Add rel=”xyz” to Gallery Linkt31os_ I’ll be honest, while I consider myself an advance user, what you posted seems Greek to me :). Could you explain further, give me an example of how to implement something like that?
Forum: Fixing WordPress
In reply to: Version 2.9 image editor not working@sinc Do you know exactly what in Functions.php was causing it? I deleted everything it mine to test it out, and it fixed the problem.
The only issue is, I need everything in my functions.php file. If I delete it, my site doesn’t work. If I keep it, cropping doesn’t work. Help!
Forum: Fixing WordPress
In reply to: Add rel=”xyz” to Gallery LinkFigured it out!
I changed line 946 in wp-includes/post-template.php to this:
return apply_filters( 'wp_get_attachment_link', "<a href='$url' title='$post_title' rel='lightbox[gal]'>$link_text</a>", $id, $size, $permalink, $icon, $text ); }
If you need any more info message me or post here.
Forum: Fixing WordPress
In reply to: Edit gallery to open images in new windowHey kmessinger,
Did you ever find an answer to this question? I need a solution to changing the $link code output in media.php to have a rel=”lightbox”. Any ideas?
Forum: Fixing WordPress
In reply to: gallery $link outputDid you ever figure out the answer? I’m trying to add a “rel=lightbox” to that link!
Forum: Fixing WordPress
In reply to: Add rel=”xyz” to Gallery LinkAnyone? Please?
Forum: Fixing WordPress
In reply to: I’ve done something very stupid – Please Help!Maybe download the theme again and copy/paste the original function.php code? Post the function.php code and lets take a look.
Forum: Installing WordPress
In reply to: Header image disappears on pagesI’m having the same problem. My permalinks are set to /%category%/%postname%/ and the header on pages dissapears.
Can you guys tell me how you resolved it?
Forum: Plugins
In reply to: Help With SearchAlright, well I’ll keep playing around with it. Thanks again, you solved a HUGE problem for me.
Forum: Plugins
In reply to: Help With SearchI feel really stupid, but I took out the code you gave me and installed the plugin, and now its not working…Is there something else I have to do?
Forum: Plugins
In reply to: Help With SearchEdit: Adam, your a genius!
I really can’t thank you enough, it works perfectly. Instead of sticking it in the header.php, I put it in the index.php. I’ve tested it with several posts and its exactly what I needed. If theres anything I can do (comment in the code or something) let me know.
Thanks again!
Forum: Plugins
In reply to: Help With SearchThats correct, but I’m trying to get it to display the first one. All of my posts are a specific item, so none of them have the same title, therefore when a user searches, only one post is displayed on the search page.
I guess I’m trying to get something like Google’s “I’m Feeling Lucky”, where when you click it, you are taken to the page, not the search results.