Posted by Mario Mansour in TubePress
Use these tags to make your own content and excerpt templates. Check wordpress templates to know the difference
- %tp_player%: Displays the video player
- %tp_thumbnail%: Displays the thumbnail image
- %tp_title%: Displays the title of the video
- %tp_description%: Displays the description of the video
- %tp_duration%: Displays the length of the video
- %tp_author%: Displays the username of the author
- %tp_tags%: Displays the tags
- %tp_rating_num%: Displays the video rating in numbers
- %tp_rating_img%: Displays the video star rating images
- %tp_viewcount%: Displays how many times the video was viewed
- %tp_id%: Displays the video id
- %tp_url%: Displays the youtube video url
You can use any of these tags to customize the appearance of your posts or pages along with normal HTML code. Note that this will affect the posts/pages that you import using TubePress and not your normal posts/pages that you write in your wordpress admin area.
TubePress allows you to create 2 types of templates. One for the content and one for the excerpt. For those of you who are not familiar with WP themes, wordpress stores and excerpt of a post or page along with the entire content. TubePress uses this functionality to differentiate between video listing and video watching.
To be considered: You should specify in your WP theme where you would like to show the content and where to show the excerpt of a post or page, however you don’t have to use both functions.
Use the_content() inside the loop in your wordpress theme to show the content. Alternatively, use the_excerpt() to show the excerpt.
Note that the templates should be defined before importing videos. Once the videos are imported, you can change the appearance, by logging in to your admin area -> Manage -> Posts or Pages and then Edit.
You can define different templates before each import you make.
Your last configuration is always saved for later use, as well as other input values like import tags and indexes.














October 15th, 2008 at 2:37 pm
Hi, I want to ask you something:
Can you modify the plugin for me?
I need the to add manually for my theme the embeded code and thumb….
I can`t use your plugin so…I need you to change a lil` the functions like that:
1. the embeded code >>> to go into the key “embeded”
2. the thumb >>>> to go into the key “thumbnail”
………that`s all
or if I don t explained well I can read the theme instructions and see this:
1.theme tell this: create a new custom field called “embed” and paste the embed code in the “value” field.
2. theme tell this: create a new custom field called “embed” and paste the embed code in the “value” field.
My email is added I am waiting for this modification from your side, thank you and God bless you!
I need an answer, kiss, Maria!