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

80 lines 1.4 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 echo st_get_tag_cloud( $args );
24 }
25
26 /**
27 * Generate extended current tags post
28 *
29 * @param string $args
30 *
31 * @return string
32 * @author WebFactory Ltd
33 */
34 function st_get_the_tags( $args = '' ) {
35 if ( class_exists( 'SimpleTags_Client_PostTags' ) ) {
36 return SimpleTags_Client_PostTags::extendedPostTags( $args );
37 }
38
39 return '';
40 }
41
42 /**
43 * Display extended current tags post
44 *
45 * @param string $args
46 *
47 * @return void
48 * @author WebFactory Ltd
49 */
50 function st_the_tags( $args = '' ) {
51 echo st_get_the_tags( $args );
52 }
53
54 /**
55 * Generate related posts for a post in WP loop
56 *
57 * @param string $args
58 *
59 * @return string|array
60 * @author WebFactory Ltd
61 */
62 function st_get_related_posts( $args = '' ) {
63 if ( class_exists( 'SimpleTags_Client_RelatedPosts' ) ) {
64 return SimpleTags_Client_RelatedPosts::get_related_posts( $args );
65 }
66
67 return '';
68 }
69
70 /**
71 * Display related posts for a post in WP loop
72 *
73 * @param string $args
74 *
75 * @return void
76 * @author WebFactory Ltd
77 */
78 function st_related_posts( $args = '' ) {
79 echo st_get_related_posts( $args );
80 }