Shortcodes

Shortcodes can be used to display content on any WordPress page. Below is a list of Tube Ace shortcodes which can be used to display a particular set of content.

Newest Videos

[tubeace_newest results=”24″ sticky=”mixed” pagination=”true” slug=”newest”]

Available Parameters:

results – (integer) (optional) set the maximum number of results to display. Default: Number set in WordPress Admin > Reading > Blog pages show at most x posts.

sticky – (string) (optional) set to include or exclude sticky posts from the results of the shortcode. Options include: mixed which displays both sticky and non-sticky posts. only_sticky which displays only sticky posts. never_sticky which excludes sticky posts from being displayed. Default: mixed

pagination – (boolean) (optional) displays pagination, or page numbers after post preview results. Default: false

slug – (string) (optional) should be used on “Tube” page to generate pagination links. Default: empty

Most Viewed Videos

[tubeace_most_viewed results=”24″ sticky=”mixed” pagination=”true” slug=”most-viewed”]

Available Parameters:

results – (integer) (optional) set the maximum number of results to display. Default: Number set in WordPress Admin > Reading > Blog pages show at most x posts.

sticky – (string) (optional) set to include or exclude sticky posts from the results of the shortcode. Options include: mixed which displays both sticky and non-sticky posts. only_sticky which displays only sticky posts. never_sticky which excludes sticky posts from being displayed. Default: mixed

pagination – (boolean) (optional) displays pagination, or page numbers after post preview results. Default: false

slug – (string) (optional) should be used on “Tube” page to generate pagination links. Default: empty

Highest Rated Videos

[tubeace_highest_rated results=”24″ sticky=”mixed” pagination=”true” slug=”highest-rated”]

Available Parameters:

results – (integer) (optional) set the maximum number of results to display. Default: Number set in WordPress Admin > Reading > Blog pages show at most x posts.

sticky – (string) (optional) set to include or exclude sticky posts from the results of the shortcode. Options include: mixed which displays both sticky and non-sticky posts. only_sticky which displays only sticky posts. never_sticky which excludes sticky posts from being displayed. Default: mixed

pagination – (boolean) (optional) displays pagination, or page numbers after post preview results. Default: false

slug – (string) (optional) should be used on “Tube” page to generate pagination links. Default: empty

Porn Star List

[tubeace_porn_star_list] – Displays an alphabetical list of porn stars performing in the videos within the database.

Categories List

[tubeace_categories] – Displays an alphabetical list of specified categories of the videos within the database.

Related Posts

[tubeace_related_posts results=”12″] – Displays a block of related posts. Must be added to the single.php file of theme.

Available Parameters:

results – (integer) (optional) set the maximum number of results to display. Default: 12

example code: <?php echo do_shortcode(‘[tubeace_related_posts results=”12″]’); ?>

Tag & Performer Results

[tubeace_results pagination=”true”] – Displays a block of related posts. Must be added to the single.php file of theme.

Available Parameters:

pagination – (boolean) (optional) displays pagination, or page numbers after post preview results. Default: false

example code: <?php echo do_shortcode(‘[tubeace_results pagination=”true”]’); ?>