forked from microweber-templates/unitile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index2.php
96 lines (80 loc) · 2.61 KB
/
index2.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
<?php
/*
type: layout
content_type: static
name: Home 2
position: 22
description: Home layout
*/
?>
<?php include template_dir(). "header.php"; ?>
<div class="container edit" id="home-layout" rel="page" field="content">
<div class="container">
<div class="element"> <br>
<br>
<h3 align="center" class="symbol">Powerful & User Friendly Content Management System of New Generation</h3>
<h4 align="center">with rich PHP and JavaScript API</h4>
<br>
</div>
</div>
<div class="container">
<div class="mw-row">
<div class="mw-col" style="width:33.33%">
<div class="mw-col-container">
<div class="element">
<hr class="visible-desktop column-hr">
</div>
</div>
</div>
<div class="mw-col" style="width:33.33%">
<div class="mw-col-container">
<h2 align="center">
<?php _e("Latest Posts"); ?>
</h2>
</div>
</div>
<div class="mw-col" style="width:33.33%">
<div class="mw-col-container">
<div class="element">
<hr class="visible-desktop column-hr">
</div>
</div>
</div>
</div>
<?php
/*
Parameters(attributes) for "Posts" Module:
* template - Name of the template.
Templates provided from Microweber:
- default - loads when no template is specified
- 3 columns
- 4 columns
- sidebar
* limit - number of posts to show per page. Default is the value specified in the Admin -> Settings (10) .
* description-length
- number: Number of symbols you want to show from description. Default: 400
* title-length
- number: Number of symbols you want to show from title. Default: 120
* current_page - usage is for paging
- number: The number of the page where the posts will appear. Default: 1
* hide-paging
- y/n - Default: n
* data-show:
Possible values:
- thumbnail,
- title,
- read_more,
- description,
- created_at
*/
?>
<module
data-type="posts"
data-limit="3"
id="home-posts"
data-description-length="100"
data-show="thumbnail,title,created_at,read_more,description"
data-template="featured" />
</div>
</div>
<?php include template_dir(). "footer.php"; ?>