m457312
Forum Replies Created
Viewing 6 replies - 1 through 6 (of 6 total)
-
Hi Toyin,
No cache plugin installed.
I’ve figured out to get around this, which is:
1. Go to Dashboard
2. Click My Grades
3. Click particular courseBut I think, it would be great if student can continue directly from enrollment page.
Forum: Plugins
In reply to: [WP Open Graph] Not compatible with latest wp? PHPTry this.
Edit file wp-content/plugins/wp-open-graph/output.class.php
Change from
protected function get_image_size_tags( $image_thumb_src ) { $image_path = $image_thumb_src; if ( true == empty( $image_thumb_src ) ) { $post = get_queried_object(); //$image_thumb_src = wp_get_attachment_url( get_post_thumbnail_id( $post->ID ) ); //$image_path = get_option( 'wpog_options', 'image' ); if ( preg_match( '/<img [^>]+>/', $post->post_content, $match ) ) { if ( preg_match( '/src=([\"\'])(.*?)\1/', $match[0], $source ) ) { $image_path = trim( str_replace( "src=", "", $source[0] ), '\"\'' ); } else { $image_path = ''; } } else { $image_path = NY_OG_Main_Admin::option( 'image' ); } } $size = getimagesize( $image_path ); return array( 'path' => $image_path, 'size' => $size ); }
to
protected function get_image_size_tags( $image_thumb_src ) { $image_path = $image_thumb_src; $post = get_queried_object(); //$image_thumb_src = wp_get_attachment_url( get_post_thumbnail_id( $post->ID ) ); //$image_path = get_option( 'wpog_options', 'image' ); if ( preg_match( '/<img [^>]+>/', $post->post_content, $match ) ) { if ( preg_match( '/src=([\"\'])(.*?)\1/', $match[0], $source ) ) { $image_path = trim( str_replace( "src=", "", $source[0] ), '\"\'' ); } else { $image_path = ''; } } else { $image_path = NY_OG_Main_Admin::option( 'image' ); } $size = getimagesize( $image_path ); return array( 'path' => $image_path, 'size' => $size ); }
It’s been a while…
Is there any quick fix that I can apply to existing Coursepress installation?
Thanks for replying.
Just a suggestion. You can make an option whether or not this behaviour allowed.
I think, there’s somebody out there that need this bug as a feature.Best Regards,
Forum: Plugins
In reply to: [Quiz and Survey Master (QSM) - Easy Quiz and Survey Maker] Page not foundIt seems not from Quiz & Survey Master Plugin.
Sorry.Thanks for your recommendation.
I think Klawoo is too much. I dont use ecommerce.
Viewing 6 replies - 1 through 6 (of 6 total)