Title: LH Display Posts Shortcode
Author: shawfactor
Published: <strong>6 jūnijs, 2019</strong>
Last modified: 7 augusts, 2022

---

Meklēt spraudņus

![](https://ps.w.org/lh-display-posts-shortcode/assets/banner-772x250.jpg?rev=2101317)

Šī spraudnis **nav atjaunināts vairāk kā divus gadus**. Varbūt, tas vairs netiek
uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress
versijām.

![](https://ps.w.org/lh-display-posts-shortcode/assets/icon-256x256.png?rev=2101317)

# LH Display Posts Shortcode

 Autors [shawfactor](https://profiles.wordpress.org/shawfactor/)

[Lejupielādēt](https://downloads.wordpress.org/plugin/lh-display-posts-shortcode.zip)

 * [Sīkāka informācija](https://lv.wordpress.org/plugins/lh-display-posts-shortcode/#description)
 * [Atsauksmes](https://lv.wordpress.org/plugins/lh-display-posts-shortcode/#reviews)
 *  [Uzstādīšana](https://lv.wordpress.org/plugins/lh-display-posts-shortcode/#installation)
 * [Attīstība](https://lv.wordpress.org/plugins/lh-display-posts-shortcode/#developers)

 [Atbalsts](https://wordpress.org/support/plugin/lh-display-posts-shortcode/)

## Apraksts

LH Display Posts allows you easily list content from all across your website. Whilst
respecting the current users capability to view the posts displayed.

Just add the [lh_display_posts] shortcode to you content. The shortcode has 5 optional
parameters

 * post_parent: show only post/pages with the parent id specified
 * post__in: a comma separated list of post ids to query
 * post_type: the post type, this defaults to ‘post’
 * post_author: the id of the post author
 * template: see details below on how to alter the template used to output the shortcode

**Like this plugin? Please consider [leaving a 5-star review](https://wordpress.org/support/view/plugin-reviews/lh-display-posts-shortcode/).**

**Love this plugin or want to help the LocalHero Project? Please consider [making a donation](https://lhero.org/portfolio/lh-display-posts-shortcode/).**

## Uzstādīšana

 1. Upload the `lh-display-posts-shortcode` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Use the shortcode in your posts and pages.

## BUJ

### How can I add my own template for outputting the rss feed?

Copy folder lh_dps-templates from the plugin into your active child theme directory,
then edit or add templates as required. The plugin will also look to see if the 
specified teamplate exists there first.

### Why did you write this plugin?

Because I wanted a simple shortcode that respected the statuses viewable by the 
user.

### What is something does not work?

LH Display Posts Shortcode, and all [https://lhero.org](https://lv.wordpress.org/plugins/lh-display-posts-shortcode/LocalHero?output_format=md)
plugins are made to WordPress standards. Therefore they should work with all well
coded plugins and themes. However not all plugins and themes are well coded (and
this includes many popular ones).

If something does not work properly, firstly deactivate ALL other plugins and switch
to one of the themes that come with core, e.g. twentyfirteen, twentysixteen etc.

If the problem persists please leave a post in the support forum: [https://wordpress.org/support/plugin/lh-display-posts-shortcode/](https://wordpress.org/support/plugin/lh-display-posts-shortcode/).
I look there regularly and resolve most queries.

### What if I need a feature that is not in the plugin?

Please contact me for custom work and enhancements here: [https://shawfactor.com/contact/](https://shawfactor.com/contact/)

## Atsauksmes

Par šo spraudni nav atsauksmju.

## Autori un izstrādātāji

“LH Display Posts Shortcode” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši
šādi cilvēki.

Līdzdalībnieki

 *   [ shawfactor ](https://profiles.wordpress.org/shawfactor/)

[Tulkot “LH Display Posts Shortcode&#8221 savā valodā.](https://translate.wordpress.org/projects/wp-plugins/lh-display-posts-shortcode)

### Vai jūs interesē attīstība?

[Pārlūkojiet kodu](https://plugins.trac.wordpress.org/browser/lh-display-posts-shortcode/),
apmeklējiet[ SVN krātuvi ](https://plugins.svn.wordpress.org/lh-display-posts-shortcode/)
vai abonējiet[ attīstības žurnālu](https://plugins.trac.wordpress.org/log/lh-display-posts-shortcode/),
ko izveidojis [RSS](https://plugins.trac.wordpress.org/log/lh-display-posts-shortcode/?limit=100&mode=stop_on_copy&format=rss).

## Izmaiņu žurnāls

**1.00 June 04, 2019**
 * Initial release

## Meta

 *  Versija **1.01**
 *  Pēdējo reizi atjaunots: **pirms 4 gadiem**
 *  Aktīvās instalācijas: **Mazāk par 10**
 *  WordPress versija ** 4.0 vai jaunāka **
 *  Pārbaudīts līdz: **6.0.13**
 *  PHP versija ** 5.6 vai jaunāka **
 *  Valoda
 * [English (US)](https://wordpress.org/plugins/lh-display-posts-shortcode/)
 * Birkas:
 * [page](https://lv.wordpress.org/plugins/tags/page/)[pages](https://lv.wordpress.org/plugins/tags/pages/)
   [posts](https://lv.wordpress.org/plugins/tags/posts/)[query](https://lv.wordpress.org/plugins/tags/query/)
   [shortcode](https://lv.wordpress.org/plugins/tags/shortcode/)
 *  [Papildu skats](https://lv.wordpress.org/plugins/lh-display-posts-shortcode/advanced/)

## Vērtējumi

Vēl nav iesniegta neviena atsauksme.

[Your review](https://wordpress.org/support/plugin/lh-display-posts-shortcode/reviews/#new-post)

[Skatīt visas atsauksmes](https://wordpress.org/support/plugin/lh-display-posts-shortcode/reviews/)

## Līdzdalībnieki

 *   [ shawfactor ](https://profiles.wordpress.org/shawfactor/)

## Atbalsts

Jums ir kaut kas ko teikt? Vajadzīga palīdzība?

 [Skatīt atbalsta forumu](https://wordpress.org/support/plugin/lh-display-posts-shortcode/)

## Ziedojiet

Vai vēlaties atbalstīt šī spraudņa pilnveidošanu?

 [ Ziedojiet šim spraudnim ](https://lhero.org/portfolio/lh-display-posts-shortcode/)