Lysefjordcam
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Tracks] Support for YouTube permanent live URLHey Ben,
Excellent! I’m already excited.
Thanks.
Forum: Themes and Templates
In reply to: [Tracks] Google Adsense in Tracks theme / Tracks-childHi Ben,
I’ve sorted it out. It was my host file + some settings in Adsense.
Thanks for you moral support and pointing me in the right direction.
I’m closing this topic and mark it as resolved.All the best
MortenForum: Themes and Templates
In reply to: [Tracks] Google Adsense in Tracks theme / Tracks-childHi Ben,
I’ve now installed an Google Adsense plugin that’s very popular on WP.
It’s called “AdSense Integration WP QUADS” I’ve configured Ads on the Google Adsense configuration page and then configured the plugin. When i use “view source” from Chrome I can see the Adsense code in the post but it’s not displaying.You can check this page: https://www.lysefjordcam.com/panorama-west/
Is there any tweaks I need to do?
Thank you for looking at this.
All the best
Morten Haugen- This reply was modified 7 years, 3 months ago by Lysefjordcam.
Forum: Themes and Templates
In reply to: [Tracks] Google Adsense in Tracks theme / Tracks-childHi Ben,
I’ll reinstall one of the plugins i did try and let you know when you can take a look.
Thank you.All the best
MortenForum: Themes and Templates
In reply to: [Tracks] Featured Video – Wrong layout?? What the difference a single char can do. That did it. Excellent.
Thanks a lot again Ben and good luck finding a fix on your newly discovered bug.All the best
Lysefjordcam
Morten HaugenForum: Themes and Templates
In reply to: [Tracks] Featured Video – Wrong layoutHi Ben,
Thanks for getting back to me. I tried to remove the thumbnail, but I did not find an option for it.
It looks like its not possible?!; I can only change it not remove it. I did however try different thumbnails with different resolution/aspects, but it did not help on the issue. This is really strange. At the same time it strange that the in the embedded test i did it looks ok.All the best
Lysefjordcam
Morten HaugenForum: Themes and Templates
In reply to: [Tracks] Featured Video – Wrong layoutHi Ben,
Not sure if this can be of any help.
I found some embed code on the net and tested it on my YT stream.
You can see the test page here:
https://home.holhaug.com/test/
As you can see the layout/aspect looks good on this embedded test.All the best
Lysefjordcam
Morten HaugenForum: Themes and Templates
In reply to: [Tracks] Featured Video – Wrong layoutLiam Dempsey: The original video is 16:9 aspect (1280x720p).
https://www.youtube.com/watch?v=tNceEFuBAqc
———————————————————————-Hey Ben,
I’ve added the css to the Tracks-child theme (style.css), but it had no effect.
I also cleared my browsers cache to see if that helped after the new css, but still no change.
I also removed a youtube autoplay custom code you helped me with some time ago.
I see that you’ve added a autoplay feature in your latest update. Thanks ??All the best
Lysefjordcam
Morten Haugen- This reply was modified 8 years, 2 months ago by Lysefjordcam.
- This reply was modified 8 years, 2 months ago by Lysefjordcam. Reason: additional information
- This reply was modified 8 years, 2 months ago by Lysefjordcam.
Forum: Themes and Templates
In reply to: [Tracks] Autoplay parameter on Tracks Pro Featured VideosHi Ben,
Thank you again for helping out. This is excellent for my use as I only have one video.
If you’re able to add an option for this on selected videos it would be very useful if you have multiple videos sure!Regards
Morten HaugenForum: Themes and Templates
In reply to: [Tracks] Featured VideosResolved ??
Forum: Themes and Templates
In reply to: [Tracks] Featured VideosThat was perfect!
Tracks is not only a great Theme, but has world class support too!
Thank you so much Ben.
Wish you a happy 2016.All the best
MortenForum: Themes and Templates
In reply to: [Tracks] Featured VideosSince i’m showing webcam images that’s constantly updated externally I’m using the “Nelio External Featured Image” plugin so its not possible to remove that, sorry. It’s not a live video streaming plugin, but I can use external images as features image without it being in the WP media library. If you could create/modify a version that will be compatible I would be very happy. Thank you very much Ben.
Morten
Forum: Themes and Templates
In reply to: [Tracks] Featured VideosThe Featured Video works fine with just the Tracks theme.
Morten
Forum: Themes and Templates
In reply to: [Tracks] Featured VideosSure,
Here’s the link: https://www.lysefjordcam.com/live-video-stream/
I’m using the Tracks Child theme with very little custom code, but I’ve not done any changes since it was working.Below is my only custom functions.php code:
<?php // for displaying featured images including mobile versions and default versions if( ! function_exists( 'ct_tracks_featured_image' ) ) { function ct_tracks_featured_image() { global $post; $has_image = false; $premium_layout = get_theme_mod( 'premium_layouts_setting' ); if ( has_post_thumbnail( $post->ID ) ) { if ( ( is_archive() || is_home() ) && $premium_layout != 'full-width' && $premium_layout != 'full-width-images' ) { $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'large' ); } else { $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); } $image = $image[0]; $has_image = true; } if ( function_exists( 'uses_nelioefi' ) && uses_nelioefi( $post->ID ) ) { $has_image = true; $image = nelioefi_get_thumbnail_src( $post->ID ); } if ( $has_image == true ) { // for layouts using img if ( $premium_layout == 'two-column-images' ) { ?> <img class="featured-image" src='<?php echo $image; ?>' /><?php } elseif ( ( ( is_archive() || is_home() ) && $premium_layout == 'full-width-images' && get_theme_mod( 'premium_layouts_full_width_image_height' ) == 'image' ) || is_singular() && $premium_layout == 'full-width-images' && get_theme_mod( 'premium_layouts_full_width_image_height_post' ) == 'image' ) { ?> <img class="featured-image" src='<?php echo $image; ?>' /><?php } // otherwise, output the src as a bg image else { // if lazy loading is enabled if ( get_theme_mod( 'additional_options_lazy_load_settings' ) == 'yes' ) { echo "<div class='featured-image lazy lazy-bg-image' data-background='$image'></div>"; } // if lazy loading is NOT enabled else { echo "<div class='featured-image' style=\"background-image: url('" . $image . "')\"></div>"; } } } } } function ct_tracks_excerpt_read_more_link( $output ) { global $post; return $output . "<p><a class='more-link' href='" . get_permalink() . "'>" . __( 'Show more', 'tracks' ) . "<span class='screen-reader-text'>" . get_the_title() . "</span></a></p>"; } add_filter('the_excerpt', 'ct_tracks_excerpt_read_more_link');
Forum: Themes and Templates
In reply to: [Tracks] Lazy load featured image loading info/animationThanks Ben,
I might be over my head on this one, but I’ll roll up my sleeves and jump in.All the best
Morten