PluginProbe
Tag, Category, and Taxonomy Manager – Autotagger Automatically Add Terms / 3.5.0
Tag, Category, and Taxonomy Manager – Autotagger Automatically Add Terms v3.5.0
3.53.0 3.52.0 3.51.0 3.50.0 3.45.0 3.38.0 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.40.0 3.40.1 3.41.0 3.42.0 3.43.0 3.44.0 3.5.0 3.5.1 3.5.2 3.5.3 3.6.0 3.6.1 3.6.2 All 177 releases
simple-tags / inc / functions.tpl.php

functions.tpl.php in Tag, Category, and Taxonomy Manager – Autotagger Automatically Add Terms 3.5.0, at inc/functions.tpl.php

83 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Generate HTML extended tag cloud
4 *
5 * @param string $args
6 *
7 * @return string
8 * @author WebFactory Ltd
9 */
10 function st_get_tag_cloud( $args = '' ) {
11 return SimpleTags_Client_TagCloud::extendedTagCloud( $args );
12 }
13
14 /**
15 * Display extended tag cloud
16 *
17 * @param string $args
18 *
19 * @return void
20 * @author WebFactory Ltd
21 */
22 function st_tag_cloud( $args = '' ) {
23 // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
24 echo st_get_tag_cloud( $args );
25 }
26
27 /**
28 * Generate extended current tags post
29 *
30 * @param string $args
31 *
32 * @return string
33 * @author WebFactory Ltd
34 */
35 function st_get_the_tags( $args = '' ) {
36 if ( class_exists( 'SimpleTags_Client_PostTags' ) ) {
37 return SimpleTags_Client_PostTags::extendedPostTags( $args );
38 }
39
40 return '';
41 }
42
43 /**
44 * Display extended current tags post
45 *
46 * @param string $args
47 *
48 * @return void
49 * @author WebFactory Ltd
50 */
51 function st_the_tags( $args = '' ) {
52 // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
53 echo st_get_the_tags( $args );
54 }
55
56 /**
57 * Generate related posts for a post in WP loop
58 *
59 * @param string $args
60 *
61 * @return string|array
62 * @author WebFactory Ltd
63 */
64 function st_get_related_posts( $args = '' ) {
65 if ( class_exists( 'SimpleTags_Client_RelatedPosts' ) ) {
66 return SimpleTags_Client_RelatedPosts::get_related_posts( $args );
67 }
68
69 return '';
70 }
71
72 /**
73 * Display related posts for a post in WP loop
74 *
75 * @param string $args
76 *
77 * @return void
78 * @author WebFactory Ltd
79 */
80 function st_related_posts( $args = '' ) {
81 // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
82 echo st_get_related_posts( $args );
83 }