11<?php
22require_once ('../../../../wp-load.php ' );
3- get_header ();
43
5- $ code = @$ _GET ['code ' ];
6- echo $ code ;
4+ $ code = @$ _GET ['code ' ];
5+
6+ $ mode = esc_attr ( get_option ('mode ' ) );
7+ if ($ mode == 'test ' ) {
8+ $ key = esc_attr ( get_option ('tpk ' ) );
9+ }else {
10+ $ key = esc_attr ( get_option ('lpk ' ) );
11+ }
712 ?>
813
9- <div>
14+ <?php
15+ /**
16+ * Template Name: Alphabetical Posts
17+ */
18+
19+ get_header (); ?>
20+ <div class="content-area main-content" id="primary">
21+ <main role="main" class="site-main" id="main">
22+ <div class="blog_post">
23+ <article class="post-4 page type-page status-publish hentry" id="post-4">
24+ <form action="" method="" class="j-forms" id="pf-form" novalidate="">
25+ <div class="content">
1026
11- your custom php code goes here
27+ <div class="divider-text gap-top-20 gap-bottom-45">
28+ <span>Input</span>
29+ </div>
1230
13- </div>
31+ <div class="j-row">
32+ <div class="span12 unit">
33+ <label class="label">Text input without icon <span>*</span></label>
34+ <div class="input">
35+ <input type="text" placeholder="placeholder text...">
36+ </div>
37+ </div>
38+ <div class="span12 unit">
39+ <label class="label">Text input without icon</label>
40+ <label class="select">
41+ <select autocomplete="off">
42+ <option value="none">Select fruit</option>
43+ <option value="0">Apple</option>
44+ <option value="1">Banana</option>
45+ <option value="2">Coconut</option>
46+ <option value="3">Mango</option>
47+ <option value="4">Melon</option>
48+ <option value="5">Orange</option>
49+ <option value="6">Pear</option>
50+ <option value="7">Watermelon</option>
51+ </select>
52+ <i></i>
53+ </label>
54+ </div>
55+ <div class="span12 unit">
56+ <label class="input append-small-btn">
57+ <div class="file-button">
58+ Browse
59+ <input type="file" onchange="document.getElementById('append-small-btn').value = this.value;">
60+ </div>
61+ <input type="text" id="append-small-btn" readonly="" placeholder="no file selected">
62+ </label>
63+ </div>
64+ <div class="span12 unit">
65+ <label class="label">Textarea</label>
66+ <div class="input">
67+ <textarea placeholder="your message..." spellcheck="false" id="textarea"></textarea>
68+ </div>
69+ </div>
70+ </div>
71+ </div>
1472
15- <?php get_footer (); ?>
73+ <div class="footer">
74+ <small><span style="color: red;">*</span> are compulsory</small><br>
75+ <img class="paystack-cardlogos size-full wp-image-1096" alt="cardlogos" src="http://localhost/wordpress/wp-content/plugins/paystack-forms/public/../images/
[email protected] ">
76+ <button type="submit" class="primary-btn">Submit</button>
77+ </div>
78+ </form>
79+ </article>
80+ </div>
81+ </main>
82+ </div>
83+ <?php
84+ get_footer ();
0 commit comments