jannesmannes
Forum Replies Created
-
Hi,
Thanks for getting back and sorry for the delay, but with version 3.8.5 the issue is resolved!
Same issue here, I have downgraded to the previous version of the plugin to temporarily fix this issue.
Example where it doesn’t work: https://drive.google.com/file/d/1GW47GN9J3cDOHib1h0JN0tqANOL6S3dJ/view?usp=sharing
Working example: https://drive.google.com/file/d/1GWbKBRKpCPS4K63z9tTOeGQQyO_PvdOW/view?usp=sharing
Hi @niklasinpsyde ,
We are on the latest version. I haven’t received an error message since, so maybe it is resolved.Forum: Plugins
In reply to: [CDN Enabler] public method CDN_Enabler_Rewriter::rewrite_url()We extend the WP API with custom fields, some of these fields contain image URL’s of image HTML tags with srcsets. For now we wrote the following code to achieve that:
class Cdn { public static function addHooks() { add_filter( 'wp_get_attachment_image_src', [ Cdn::class, 'maybeRewriteUrl' ], 10, 1 ); add_filter( 'wp_calculate_image_srcset', [ Cdn::class, 'imageSrcSet' ], 10, 5 ); add_filter( 'acf/format_value', [ Cdn::class, 'formatAcfValue' ], 10, 3 ); } public static function maybeRewriteUrl( $image ) { if ( class_exists( 'CDN_Enabler' ) ) { $rewrite = \CDN_Enabler::get_rewriter(); $image[0] = $rewrite->rewrite_url( $image ); } return $image; } public static function imageSrcSet( $sources, $size_array, $image_src, $image_meta, $attachment_id ) { if ( class_exists( 'CDN_Enabler' ) ) { $rewrite = \CDN_Enabler::get_rewriter(); $sources = array_map( function ( $src ) use ( $rewrite ) { $image = [ 0 => $src['url'], ]; $src['url'] = $rewrite->rewrite_url( $image ); return $src; }, $sources ); } return $sources; } public static function formatAcfValue( $value, $post_id, $field ) { if ( $field['type'] === 'wysiwyg' && class_exists( 'CDN_Enabler' ) ) { $rewrite = \CDN_Enabler::get_rewriter(); $value = $rewrite->rewrite( $value ); } return $value; } }
Forum: Plugins
In reply to: [Pronamic Pay] Editor role cannot edit GF Payment FeedsThanks, that works!
I am affraid it is still not working in combination with Gravity Forms. Are you using ‘Guzzle\\Http\\Client’? It seems to conflict with that library which is used by Pronamic iDEAL.
I updated to the new version and it is working now, thanks for your help!
Same problem here, my client wants to manually order the ads in a block.
Is it possible yet?
Jan
This would indeed be a nice feature. It would be nice to have the ability to choose what the sort type is (post title, menu order). Could this be added in the future?
Nonetheless, a really nice plugin!
Forum: Fixing WordPress
In reply to: Next page does not workHi Martin,
As alchymyth mentioned if you use a custom query you should use the paged parameter. And if you use the “posts_per_page” parameter this should be the same amount as you have in Settings > Reading.
Forum: Fixing WordPress
In reply to: wordpress ask me the "FTP Account" !!Hi 3zizov,
I had the same problem when my FTP account was directed in the website root of the file system. Strange enough, when I changed my FTP account to not direct in the wwwroot but one level above, it did not give me the error “could not locate wp-content” anymore.