lohic
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Override core/gallery blockOk, it seems that for core/blocks, we need to use add_filter( ‘render_block’, ‘render_block_function’) instead of register_block_type()
Forum: Developing with WordPress
In reply to: Override core/gallery blockIt’s similar to @johndbb post here :
https://www.ads-software.com/support/topic/override-core-block-in-wordpress-5-5/But on my installation it does not seems to work anymore…
Forum: Plugins
In reply to: [WordPress GitHub Sync] localhostOk, that’s what I understood. The only thing I can’t make work is importing data from github to another wordpress install. But maybe is their a misunderstood and WPGHS cannot perform this task ?
Forum: Plugins
In reply to: [WordPress GitHub Sync] localhostDo you mean that if I create a branch, the plugin should be able to import posts and pages ?
Forum: Plugins
In reply to: [WordPress GitHub Sync] localhostHello, the web hook seems to work but there is an error in the body message :
{“result”:”error”,”message”:”Not on the master branch.”}Forum: Plugins
In reply to: [WordPress GitHub Sync] localhostOk I was able to make it work doing this, but I can’t import posts created on the online version… but what i publish on localhost is properly pushed to my github repository (but not synced on the online version). Any idea ?
Forum: Plugins
In reply to: [Manual Image Crop] broken on 3.9.2Hello Tomasz,
It seems to be ok, thank you very much !
Forum: Plugins
In reply to: [Manual Image Crop] broken on 3.9.2I just found that the error happen on template with hard crop image with one of the 2 dimensions missing :
add_image_size( ‘custom-size’, 200, ”, true );
Is there any solution ?
Maybe automatically keeping the image ratio ?Forum: Plugins
In reply to: [Broadcast] Attached PDF files are not workingWhen publishing with attachement I get this error :
Warning: copy() [function.copy]: The first argument to copy() function cannot be a directory in /Users/****/****/mywordpress/wp-content/plugins/threewp-broadcast/ThreeWP_Broadcast.php on line 2012 Warning: Cannot modify header information - headers already sent by (output started at /Users/****/****/mywordpress/wp-content/plugins/threewp-broadcast/ThreeWP_Broadcast.php:2012) in /Users/****/****/mywordpress/wp-includes/pluggable.php on line 876
Forum: Plugins
In reply to: [Broadcast] Attached PDF files are not workingI have the same issue here.
I also use custom function to create gallery and attachment list.
In my gallery function I use :
wp_get_attachement_image
And there is no problem. For my other attachement function I use :
wp_get_attachment_link
And I can’t get my link.If someone find a solution, that would be great !
Forum: Networking WordPress
In reply to: Multisite mediaOk, as soon as I have a little time, I’ll test it a say you how it works !
Forum: Networking WordPress
In reply to: Multisite mediaOups sorry, just saw the wordpress roadmap and the 5 december 2012 fore the 3.5 release.
I think we’ll be able to wait for this functionality.Forum: Networking WordPress
In reply to: Multisite mediaHo ok,
It’s a good news that this method fill stop with the 3.5.
Have you any idea about the release date, or where I can find some info on it. By this way we’ll be able to get roadmap….Thanks again.
Forum: Networking WordPress
In reply to: Multisite mediaOk, I made the plugin, I can upload SVG as before, but when i’m going on my page the file still download instead of showing.
I’m using this syntax :
<object id="svg-13927" width="100%" height="100%" data="https://www.mydomain.com/files/2012/05/myfile.svg"></object>
But the real file URL is :
https://mydomain.com/wp-content/blogs.dir/6/files/2012/05/myfile.svg
It seems that ms-files.php force it to download with a php header. Is there a way to change that without editing ms-files.php ?
Forum: Networking WordPress
In reply to: Multisite mediaHello,
and thanks for your response. I’ll make the plugin and tell you what happen !
I don’t find any mu-plugins folder only plugins.
Is it normal (I use wordpress multisite and not the wordpress Mu extension)