-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshortcodes.inc.php
executable file
·103 lines (69 loc) · 2.46 KB
/
shortcodes.inc.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?php
//DEVNOTE Fake ads for sidbar - Delete before install
function fakeads($atts, $content = null){
include ('fakeads.php');
}
add_shortcode("fakeads", "fakeads");
//Shortcodes
function tpm_item_spotlight($atts, $content = null){
include ('tpm_page_spotlight_item.tpl.php');
}
add_shortcode("item-spotlight", "tpm_item_spotlight");
function tpm_seller_spotlight($atts, $content = null){
include ('tpm_widget_seller_spotlight.tpl.php');
}
add_shortcode("tpm-seller-spotlight", "tpm_seller_spotlight");
function page_front($atts, $content = null){
include ('tpm_page_front.tpl.php');
}
add_shortcode("page-front", "page_front");
function tpm_help($atts, $content = null){
include ('tpm_page_help.tpl.php');
}
add_shortcode("tpm-help", "tpm_help");
function tpm_page_category_items($atts, $content = null){
include ('tpm_page_category_items.tpl.php');
}
add_shortcode("tpm-page-category-items", "tpm_page_category_items");
function tpm_page_item($atts, $content = null){
include ('tpm_page_item.tpl.php');
}
add_shortcode("tpm-page-item", "tpm_page_item");
function page_seller_profile($atts, $content = null){
include ('tpm_page_seller_profile.tpl.php');
}
add_shortcode("page-seller-profile", "page_seller_profile");
function widget_seller_profile($atts, $content = null){
include ('tpm_widget_seller_profile.tpl.php');
}
add_shortcode("widget-seller-profile", "widget_seller_profile");
function tpm_page_marketplace_search($atts, $content = null){
include ('tpm_page_search.tpl.php');
}
add_shortcode("page-marketplace-search", "tpm_page_marketplace_search");
function widget_search_box($atts, $content = null){
include ('tpm_widget_search_box.tpl.php');
}
add_shortcode("widget-search-box", "widget_search_box");
function tpm_widget_sidebar($atts, $content = null){
include ('tpm_widget_sidebar.tpl.php');
}
add_shortcode("tpm-widget-sidebar", "tpm_widget_sidebar");
function tpm_widget_forum($atts, $content = null){
include ('tpm_widget_forum.tpl.php');
}
add_shortcode("tpm-widget-forum", "tpm_widget_forum");
function tpm_widget_category($atts, $content = null){
include ('tpm_widget_category.tpl.php');
}
add_shortcode("widget-category", "tpm_widget_category");
function page_shops($atts, $content = null){
include ('tpm_page_shops.tpl.php');
update_option('marketplace/shops','marketplace-shops');
}
add_shortcode("page-shops", "page_shops");
function tpm_connect($atts, $content = null){
include ('tpm_connect.tpl.php');
}
add_shortcode("tpm-connect", "tpm_connect");
?>