Les Bessant
Forum Replies Created
-
Forum: Plugins
In reply to: [Restore Image Title] Is This Plugin MONITORED by DEVELOPERS ?First off, there aren’t any “developers”, there’s just me.
I wrote a very basic, very simple plugin to reverse a change made in WordPress that was causing a problem for me. As other people were having similar issues, I shared it with the community.
As it’s such a simple thing, development is limited to making sure it doesn’t break when WP is upgraded. If you need additional features, or changes, this probably isn’t the plugin you’re looking for.
Forum: Plugins
In reply to: [Restore Image Title] Does it work only for new uploads?The plugin takes effect when an image is uploaded – changing existing images would need a completely different approach, which would need a better understanding of database edits than I have.
Sorry not to be of more help.
Forum: Fixing WordPress
In reply to: can't log in to commentsAre you thinking of your wordpress.com account information? If so, start here:
https://en.support.wordpress.com/passwords/
Or use the other support options there – we can’t help here.
Forum: Plugins
In reply to: [Restore Image Title] not working in wp 4.0?Good to know – thanks for confirming that ??
Forum: Plugins
In reply to: [Restore Image Title] not working in wp 4.0?Hi
It’s working on my sites with WP 4.0, and I’m not aware of any changes in WP that would break it.
If it’s not working for you, it could be another plugin or your theme is cancelling out my plugin.
Where are you getting the problem? Is it that the title attribute isn’t appearing when you upload an image, or is it there, but not being inserted in posts?
Forum: Plugins
In reply to: [Restore Image Title] I'm sorry but can't understand how the plugin worksSorry, just catching up with things…
Keeping everything in the forum so others can benefit is much the best way.
Upload your screenshot to your site, or to an image sharing service and post a link here together with a statement of the problem, and I’ll look into it.
Forum: Plugins
In reply to: [Restore Image Title] I'm sorry but can't understand how the plugin worksI’m not sure what you’re asking…
All the plugin does is stop WordPress from stripping out the title from inserted images. If you want to see a tooltip when your mouse hovers over the image, or if you’re using a Lightbox plugin that relies on the image title, this (very simple) plugin should do what you need.
There’s nothing you need to do other than activate the plugin in the usual way.
Rather than go into too much detail here about what it does, you can read what I wrote about it when I ran into the problem:
Blog post about missing image titles
And this is where I found a fix for the problem:
Forum: Fixing WordPress
In reply to: Blocked by www.remarpro.comMight have been a routing problem earlier – I’m on Virgin, and couldn’t get to anything on www.remarpro.com for a while this evening. Seems normal now.
Forum: Plugins
In reply to: [Restore Image Title] Feature Request – fix for lightbox tooIt’s taken a while for me to get to it, but there’s a new version available now that incorporates your code – thanks.
Forum: Plugins
In reply to: [Restore Image Title] Not working for galleriesGood to know – thanks.
I’ve updated the plugin, and it’s available now.
Forum: Plugins
In reply to: [Restore Image Title] Not working for galleriesThanks for the reminder – I’ve just had a quick look, and done a bit of fiddling on my test site.
Adding the code suggested by photoMaldives in this support thread restored the tooltip to the thumbnails in a gallery, and added titles to lightbox images.
I’ll do some more tests and update the plugin.
In the meantime, adding this code:
function my_get_attachment_link_filter( $content,$id ) { $title = get_the_title($id); $new_content = str_replace('<a ', '<a title="' . esc_attr($title) . '" ', $content); return $new_content; } add_filter('wp_get_attachment_link', 'my_get_attachment_link_filter', 10, 4);
before the closing
%>
in the existing version should sort it out.Forum: Plugins
In reply to: [WP Edit] Lost toolbars with 1.9Now updated to WP Edit 2.0 (I’m on a moderately slow mobile connection at present, so didn’t see this until now).
Reactivated Custom Styles…
And it works ??
Many thanks for sorting this out.
Forum: Plugins
In reply to: [WP Edit] Lost toolbars with 1.9No problem – and no rush. This is what I’d call a “nice to have” feature which I use sparingly rather than an “oh no, everything’s broken” one. ??
Forum: Plugins
In reply to: [WP Edit] Lost toolbars with 1.9Hi Josh – got the updated version, and given it a quick try, but we still have borkage.
The plugin now activates without any error messages, but it does this to the editor:
https://losingit.me.uk/wordpress/wp-content/uploads/2014/06/Editor.png
That’s a post with content, which isn’t accessible in this state. Deactivating custom styles makes this go away.
A lesser issue is that the options page looks like this:
https://losingit.me.uk/wordpress/wp-content/uploads/2014/06/Options.png
I’ll only have limited opportunities for testing over the next week or so, but if you’ve got any ideas, please let me know
Forum: Plugins
In reply to: [WP Edit] Lost toolbars with 1.9Hi Josh
I sent it through your contact form at the time. I think. I’ve just sent a fresh one.