PluginProbe
Tag, Category, and Taxonomy Manager – Autotagger Automatically Add Terms / trunk
Tag, Category, and Taxonomy Manager – Autotagger Automatically Add Terms vtrunk
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 trunk, at inc/functions.tpl.php

91 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 /**
4 * Generate HTML extended tag cloud
5 *
6 * @param string $args
7 *
8 * @return string
9 * @author WebFactory Ltd
10 */
11 function st_get_tag_cloud($args = '')
12 {
13 return SimpleTags_Client_TagCloud::extendedTagCloud($args);
14 }
15
16 /**
17 * Display extended tag cloud
18 *
19 * @param string $args
20 *
21 * @return void
22 * @author WebFactory Ltd
23 */
24 function st_tag_cloud($args = '')
25 {
26 // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
27 echo st_get_tag_cloud($args);
28 }
29
30 /**
31 * Generate extended current tags post
32 *
33 * @param string $args
34 *
35 * @return string
36 * @author WebFactory Ltd
37 */
38 function st_get_the_tags($args = '')
39 {
40 if (class_exists('SimpleTags_Client_PostTags')) {
41 return SimpleTags_Client_PostTags::extendedPostTags($args);
42 }
43
44 return '';
45 }
46
47 /**
48 * Display extended current tags post
49 *
50 * @param string $args
51 *
52 * @return void
53 * @author WebFactory Ltd
54 */
55 function st_the_tags($args = '')
56 {
57 // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
58 echo st_get_the_tags($args);
59 }
60
61 /**
62 * Generate related posts for a post in WP loop
63 *
64 * @param string $args
65 *
66 * @return string|array
67 * @author WebFactory Ltd
68 */
69 function st_get_related_posts($args = '')
70 {
71 if (class_exists('SimpleTags_Client_RelatedPosts')) {
72 return SimpleTags_Client_RelatedPosts::get_related_posts($args);
73 }
74
75 return '';
76 }
77
78 /**
79 * Display related posts for a post in WP loop
80 *
81 * @param string $args
82 *
83 * @return void
84 * @author WebFactory Ltd
85 */
86 function st_related_posts($args = '')
87 {
88 // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
89 echo st_get_related_posts($args);
90 }
91