tubegtld
Forum Replies Created
-
Forum: Plugins
In reply to: [.TUBE Video Curator] Wrap description from YT Videos inside a div?The description is really just text inserted into the post content.
So, the wrapping of the description is basically controlled by your theme and not the plugin.
Assuming your theme uses
the_content()
to display the post body, which it seems it does since the video is showing up, you can filter the content with a priority lower than 10 to wrap it before the video gets embedded.This code is tested and working, so you’ll just need to drop it into your child theme’s functions.php or a simple plugin…
add_filter( 'the_content', 'mytube_prewrap_post_content', 5 ); function mytube_prewrap_post_content( $the_content ){ // make sure single post main query if ( ! is_singular( 'post' ) || ! is_main_query() ) return; // return the wrapped content return '<div class="my-content-wrap">' . $the_content . '</div>'; }
Please mark as resolved if this solves your issue, and leave a review if you’re digging the plugin.
- This reply was modified 6 years, 10 months ago by tubegtld.
Forum: Themes and Templates
In reply to: [.TUBE] TabsYou can use Bootstrap tabs like this…
<ul class="nav nav-tabs"> <li class="active"><a data-toggle="tab" href="#video1">Video 1></a></li> <li><a data-toggle="tab" href="#video2">Video 2</a></li> </ul> <div class="tab-content"> <div id="video1" class="tab-pane fade in active"> <h3>Video Title Here</h3> https: // www.youtube.com/watch?v=0z7Y-dVrJ2A </div> <div id="video2" class="tab-pane fade"> <h3>Another Video Title</h3> https: // www.youtube.com/watch?v=qQLBGSUY37Q </div> </div>
NOTE: I’ve intentionally used broken youtube links so it doesn’t create an embed in the sample code.
- This reply was modified 6 years, 10 months ago by tubegtld.
Forum: Themes and Templates
In reply to: [.TUBE] Replace Date and Author with CategoryHi @alexeyaleynikov.
Can you please start a new ticket with a reference link and a bit more detail?
Thank you.
Forum: Plugins
In reply to: [.TUBE Video Curator] Problem With playlist with particular category importOkay, I’ve pushed an update (v1.1.8) of the plugin that provides support for “source” specific terms IDs, meaning you can associate specific terms with any channel or playlist.
To do so, you will need to set a post_meta value for
tube_source_term_ids
which will be a comma list of term IDs.NOTE: there’s no “frontend” for this at this point, so you’ll need to add the postmeta via database or call to
update_post_meta
for the desired source.To find the post ID of a source, go to
TUBE Curator > Your Channels & Playlists
and click on the source you’re working with. The post ID will be in the address bar. The process is similar for finding a term ID, but you’ll need to browse the appropriate taxonomy/ies.So if the source post ID were 418, and you wanted videos from that source to use terms 542 and 610, you’d set up the postmeta like this…
update_post_meta( 418, 'tube_source_term_ids', '542,610' );
Then, these terms will be applied during video creation in admin and via CRON-based imports.
Please give this a shot and update here.
Forum: Plugins
In reply to: [.TUBE Video Curator] Compatibility of plugin with other video sitesCurrently limited to YouTube, Vimeo, and Twitch.
What site(s) would you like to see available?
Forum: Themes and Templates
In reply to: [.TUBE] Upgrade to 1.1.9Please mark as resolved if this is working for you.
Forum: Plugins
In reply to: [.TUBE Video Curator] Problem With playlist with particular category importSorry, been slow to get to this.
I’ve got a solution on my local but still need to do some testing to make sure it works for CRON jobs.
The solution basically involves setting up some post meta on the Channel or Playlist post that contains a serialized array of Term IDs to associate with that channel or playlist.
Will keep you posted as to when it’s working / pushed for you to grab and try.
Forum: Plugins
In reply to: [.TUBE Video Curator] assign groupsMarking this resolved due to lack of reply.
@roseyazman — is this still an issue for you? As noted above it’s working fine on my end. Please mark as resolved if it’s working for you.
Forum: Plugins
In reply to: [.TUBE Video Curator] Google_Service_Exception ErrorMarking as resolved due to lack of reply.
Forum: Plugins
In reply to: [.TUBE Video Curator] I Can Nolonger Add Channels@clientele … have you tried this yet?
As is typical, I’d suggest you disable all other plugins and switch to the TwentySeventeen theme and see if the problem persists.
Forum: Plugins
In reply to: [.TUBE Video Curator] Videos Dont Auto PostPlease respond to the two questions above if this is still an issue.
Else, please mark as resolved.
Forum: Themes and Templates
In reply to: [.TUBE] Adding Open Graph main pageHere’s what I see on PC…
og:title : ??????? – ????? ?????? ????? ????????
og:description : ??? ??????? ???? ????? ?????? ????? ????????, ?????? ?????? ??????? ????? ???! ???? ???????, ??????, ????? ???? ???? ??????. ?????? ?????!
Can’t really imagine anything beyond a caching issue that would have you seeing something different on mobile vs PC.
Forum: Themes and Templates
In reply to: [.TUBE] Margin, metro, mason style gridBump. Please mark as resolved if this is working for you.
Forum: Themes and Templates
In reply to: [.TUBE] Upgrade to 1.1.9You should be fine to update to 1.1.9
What’s shown in the page masthead is actually the page “excerpt” using the_excerpt().
This is intended for using the actual post_excerpt value as a summary of the page content.
There are (at least) three approaches here. You could:
1) Add a short custom excerpt for the page in admin that summarizes the content and will appear in the header. This is the “suggested” approach for cosmetic and usability purposes.
2) Use CSS to hide that area of the page…
.page-masthead .excerpt { display: none; }
NOTE: You can scope this using body tag classes, etc.
3) Add a filter to the excerpt to return false…
add_filter('the_excerpt', '__return_false');
NOTE: This may have collateral damage to other parts of the page (e.g. meta descriptions) so please scope accordingly.
- This reply was modified 6 years, 11 months ago by tubegtld.