brian
Forum Replies Created
-
has anyone had any luck getting this to work with custom post types? the plugin is great already but this would really be a lifesaver for me!
Forum: Plugins
In reply to: Can’t search 2 words (tag)i just reverted to 4.5 as well, and now it works.
Forum: Plugins
In reply to: Can’t search 2 words (tag)i’m not able to search more than one word. for example on this site, if i search “annex”, i get results, but if i search “the annex”, i get nothing.
Forum: Themes and Templates
In reply to: Adding Widgets Removes Right Sidebar in Default Themei could also really use an answer to this..
Forum: Fixing WordPress
In reply to: New Gallery Feaure In WP 2.5 – Questioni found the same problem..
Forum: Themes and Templates
In reply to: Tweaking the new gallery feature in 2.5in wp-includes/post-template.php, i altered the wp_get_attachment_link function so that my images link to the files and not to an image page.
on line 382, i changed
$url = get_attachment_link($_post->ID);to
$url = wp_get_attachment_url($_post->ID);not sure if there is a better way to do it ? but this is a start..
Forum: Themes and Templates
In reply to: Tweaking the new gallery feature in 2.5I’ve been trying to accomplish the same thing, ie get the gallery link to link to the image itself. I think I found where the [gallery] shortcode is defined : wp-includes/media.php, line 333. The target of the link is being defined in line 394 apparently :
$link = wp_get_attachment_link($id, $size, true);I haven’t had time to figure out how to replace this with the url of the image itself..