Apraksts
This Plugin is extended version of “Latest Posts by Author” WordPress plugin. This plugin allows you to display an unordered list of links to a specific author’s latest posts (or a list of multiple authors). It can be called either with a shortcode or from within a theme file.
To call it with a shortcode, use [latestbyauthor author="username" show="3"]
where “username” is the login name of the author (or a comma separated list of multiple authors) and “3” is the number of posts to display. If you don’t specify an author or a display number, it will show the latest 5 posts from the author of the current page. If you want it to display the post excerpt as well, you can use the following code: [latestbyauthor author="username" show="3" excerpt="true"]
This will only show exerpts that you have entered manually.
To call it from within a theme template, you have to wrap it in this PHP function: <?php echo do_shortcode('[latestbyauthor author="username" show="3"]'); ?>
For video tutorial : Click here
Uzstādīšana
- Upload the
latests-posts-by-author
folder to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Place
<?php echo do_shortcode('[latestbyauthor]'); ?>
in your templates or[latestbyauthor]
in your posts
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“Latest Posts by Author with content” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “Latest Posts by Author with content” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.