phatelvis
Forum Replies Created
-
Forum: Plugins
In reply to: [Multisite Language Switcher] Custom Flag Icons UrlThanks again.
What I actually want is
in the backend:
Say I have one English blog, and two French blogs (I actaully have an instance where this is reality.)
When I am in the English blog admin section, I would like to see 2 different icons for the French sites, so I can tell them apart.
I’m afraid I hacked your plugin code to acheive this…
Thank you for a great plugin
Forum: Plugins
In reply to: [Multisite Language Switcher] Custom Flag Icons UrlThank you Dennis for your prompt reply. I didn’t even think of the front end – there are no actions / filters / overrides that I can use for the admin pages icons then?
Cheers
Forum: Plugins
In reply to: [Attachments] Attachments not showing for custom post type editingI could not get the attachments meta box to appear for my custom post type, when adding new: my-publication
I discovered that I had to edit line 1225 of
attachments/classes/class.attachments.php
changing
$post_type = str_replace( ‘-‘, ‘_’, sanitize_title( $_GET[‘post_type’] ) );
to
$post_type = str_replace( ‘_’, ‘-‘, sanitize_title( $_GET[‘post_type’] ) );
As far as I can see, a post type can be registered containing either a “-” or a “_”, so maybe the str_replace is superfluous??
“$post_type
(string) (required) Post type. (max. 20 characters, can not contain capital letters or spaces) “http://codex.ww.wp.xz.cn/Function_Reference/register_post_type
Either way, that aside, this is a very useful plugin, thanks