
Best Answer eric, 15 May 2015 - 05:40 PM
This should be very easy with TubePress now, and upgrade safe. Here's what to do:
- Create and activate your own TubePress theme (docs for WordPress or standalone PHP). The "Theme Tutorial" should get you up and running quickly.
- Open up your theme's gallery/main template with your favorite text editor. Inside you'll see a theme variable called mediaPage. For instance around line 109 of gallery/main.html.twig you'll see
{% for mediaItem in mediaPage.items %}
- You can type {{ mediaPage.totalResultCount }} wherever you'd like to print out the total result count. For instance:
We found {{ mediaPage.totalResultCount }} video(s) matching your search. {% for mediaItem in mediaPage.items %} ...
- Rebuild your system cache once since you edited a template.
That should do it. Give it a try?
Go to the full post