tubegtld
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [.TUBE] Double DoubleNeither of those links are really working properly best I can tell, but I think I know what you’re asking.
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, usability, and SEO 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.
Forum: Plugins
In reply to: [.TUBE Video Curator] Video Width Is Too LargeThe plugin doesn’t provide any “styling” for the embed… that’s up to you / your theme.
The “tube-video-wrap” class is where you should get started.
Alternatively, you could add an “oembed_dataparse” filter to wrap the embed in something that’ll help you determine the proper aspect ratio.
You can find an example of this in the TUBE theme…
https://themes.svn.www.ads-software.com/tube/1.1.9/classes/class-tube-embeds.php
Hope this helps.
Forum: Plugins
In reply to: [.TUBE Video Curator] Plugin not fetching all Videos from YouTube ChannelHow much time passed while all of these videos were added?
And did your site have traffic during that time?
WP Cron requires site traffic to “fire” off, so if it had been a long time since the last visit and/or a LOT of videos were added, it’s likely the server would choke trying to import that many videos (especially if you have a 60 second timeout).
Probably the easiest thing to do at this point would be to set a high number of videos per page in the channel video list in admin and do “import all” for each page.
You’d basically have 40 pages to go through for 2000 videos if you did 50 per page.
Realize that’s not ideal but you’re talking about a very large volume of videos.
The only thing that’d really allow for so many to be imported would be to upgrade the import functionality to use a “background queue” type of setup but that’s not really in the pipeline.
Forum: Themes and Templates
In reply to: [.TUBE] Need editing of some fieldsSorry, but at this point, there is no plan to add additional customizable fields to the “Labels & Text Strings” customizer.
As noted, this area is NOT meant for translation but to provide the end theme user the ability to override just a few prominent text strings without having to code or use a child theme.
Please create a theme translation if you wish to use another language throughout the theme.
Forum: Themes and Templates
In reply to: [.TUBE] Need editing of some fieldsThe label editor in Customizer is NOT intended to be used for translations.
Instead, you should be using a translation file along with the language selection in Settings for different languages.
We used the LocoTranslate plugin to do the Spanish translation that comes with the theme and it worked really well.
Also, if you do a translation, please share it as I’d love to include it in the theme.
Forum: Themes and Templates
In reply to: [.TUBE] TabsThank you @alexeyaleynikov
Forum: Themes and Templates
In reply to: [.TUBE] Replace Date and Author with CategoryGreat.
Forum: Themes and Templates
In reply to: [.TUBE] TabsGreat.
Please mark this as resolved, and please consider leaving a review if you like the TUBE them.
Forum: Themes and Templates
In reply to: [.TUBE] TabsThe example code is pretty basic HTML and will make tabs almost exactly like that.
Just paste the example code into a post (TEXT editor, not visual editor), save it, and view it and you’ll see.
<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>
Another approach would be to install the Bootstrap Shortcodes for WordPress plugin (which I’ve NOT tested) that includes support for Boostrap Tabs. Here’s their documentation for that.
Unfortunately, I can’t really provide additional support beyond this as the code provided is tested and working to make tabs within the TUBE theme.
Forum: Plugins
In reply to: [.TUBE Video Curator] How are videos updated from added Channels?Marking resolved due to lack of reply.
Forum: Plugins
In reply to: [.TUBE Video Curator] Customize Import SettingsMarking resolved due to lack of reply.
Forum: Plugins
In reply to: [.TUBE Video Curator] Random missing videosMarking resolved due to lack of reply.
Can you please confirm what version of the plugin you’re using and if this issue still persists?
Forum: Plugins
In reply to: [.TUBE Video Curator] Wrap description from YT Videos inside a div?Glad you were able to figure it out.
Forum: Plugins
In reply to: [.TUBE Video Curator] Wrap description from YT Videos inside a div?There might be some collateral damage caused by conditional logic… no content on the homepage loop.
If so, try this instead…
if ( ! ( is_singular( 'post' ) && is_main_query() ) ) return;