__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
// PAGE
if ( is_page() ) {
// pagination
wp_link_pages('before=<p class="pagination"><span class="pagination-text">'.__('Sections', 'wikiwp').'</span>&after=</p>&next_or_number=number&pagelink=<span class="pagination-item">%</span>');
if (is_page_template('wiki-page.php')) {
// edit button
if (is_user_logged_in()) {
echo '<div class="postinfo postinfo-edit">',
'<span>'.__('Author', 'wikiwp').': ';
the_author_posts_link();
echo ' '.__('on', 'wikiwp').' '.get_the_date();
if (is_user_logged_in()) {
echo ' | ';
edit_post_link(__('edit', 'wikiwp'));
}
echo '</span>',
'</div>'; // end of .postinfo-author
}
} else {
// edit button
if (is_user_logged_in()) {
echo '<div class="postinfo postinfo-edit">',
'<span>';
edit_post_link(__('edit', 'wikiwp'));
echo '</span>',
'</div>'; // end of .postinfo-author
}
}
// SINGLE
} elseif ( is_single() ) {
// EDIT BUTTON (IF USER IS LOGGED IN)
if (is_user_logged_in()) {
echo '<div class="postinfo-edit">
<div class="edit">';
edit_post_link(__('edit', 'wikiwp'));
echo '</div>
</div>';
}
// pagination
wp_link_pages('before=<p class="pagination"><span class="pagination-text">'.__('Sections', 'wikiwp').'</span>&after=</p>&next_or_number=number&pagelink=<span class="pagination-item">%</span>');
// POST AUTHOR
echo '<div class="postinfo postinfo-author">',
'<span>'.__('Author', 'wikiwp').': ';
the_author_posts_link();
echo ' '.__('on', 'wikiwp').' '.get_the_date();
echo '</span>
</div>'; // end of .postinfo-author
echo '<div class="postinfo postinfo-categories">',
'<span>'.__('Categories', 'wikiwp').': ';
the_category(', ');
echo '</span>',
'</div>', // end of .postinfo-categories
'<div class="postinfo postinfo-tags">',
'<span>'.__('Tags', 'wikiwp').': ';
$tag = get_the_tags();
if (! $tag) {
echo 'No tags for this post';
} else {
the_tags('',', ','');
}
echo '</span>',
'</div>'; // end of .postinfo-tags
// get 5 related posts
//wikiwp_get_related_posts($post);
// post navigation
echo '<div class="postinfo post-nav clearfix">',
'<h4 class="clearfix">';
_e('Other posts', 'wikiwp');
echo '</h4>';
posts_nav_link();
previous_post_link('<span class="previous-post-link">%link «</span>');
next_post_link( '<span class="next-post-link">» %link</span>' );
echo '</div>'; // end of .post-nav
} else {
// No info
}| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| css | Folder | 0755 |
|
|
| en | Folder | 0755 |
|
|
| images | Folder | 0755 |
|
|
| js | Folder | 0755 |
|
|
| languages | Folder | 0755 |
|
|
| 404.php | File | 565 B | 0644 |
|
| author.php | File | 1.86 KB | 0644 |
|
| category.php | File | 1.44 KB | 0644 |
|
| changelog.md | File | 13.25 KB | 0644 |
|
| comments.php | File | 927 B | 0644 |
|
| content.php | File | 524 B | 0644 |
|
| footer.php | File | 1.38 KB | 0644 |
|
| functions.php | File | 27.15 KB | 0644 |
|
| header.php | File | 2.72 KB | 0644 |
|
| index.php | File | 1.93 KB | 0644 |
|
| license.md | File | 1.72 KB | 0644 |
|
| navigation.php | File | 1.74 KB | 0644 |
|
| page.php | File | 280 B | 0644 |
|
| postinfo.php | File | 2.82 KB | 0644 |
|
| readme.md | File | 816 B | 0644 |
|
| screenshot.png | File | 146 KB | 0644 |
|
| search.php | File | 1.48 KB | 0644 |
|
| searchform.php | File | 401 B | 0644 |
|
| sidebar.php | File | 3.17 KB | 0644 |
|
| single.php | File | 506 B | 0644 |
|
| style.css | File | 24.24 KB | 0644 |
|
| wiki-page.php | File | 389 B | 0644 |
|