Fernando Briano
Forum Replies Created
-
Forum: Plugins
In reply to: [List category posts] Testo prima della dataCiao @giuseppequaresima!
Il mio Italiano non é buono, so I’ll answer in English.You could use a template, or the
post_suffix
parameter.This code:
[catlist post_suffix="Pubblicato il:" date=yes]
Will produce something like this:
Saluti!
- This reply was modified 4 years, 9 months ago by Fernando Briano.
Hi @powerfulyou,
I added an option to list posts from several authors. The detail is you need to use the author id, since that’s what WordPress’ WP_Query uses for theauthor__in
parameter. So it’ll be:[catlist author_posts="1,2"]
. This is already coded, I just need to publish a new release.Please update once the new release is out and let me know if it works.
Cheers!
Forum: Plugins
In reply to: [List category posts] excludeposts needs updateI’ll look into this!
Cheers,
FernandoForum: Plugins
In reply to: [List category posts] List PAges not postsHi @alexweberm,
You can use thepost_type
parameter and set it topage
to list pages. You can list, only posts, only pages, both and any other type of post. More info here: https://github.com/picandocodigo/List-Category-Posts/wiki/How-to-select-which-posts-to-showI recently got this same question from someone using the same plugin “Category Tag Pages” and it worked for them.
Cheers!
Fernando
Forum: Plugins
In reply to: [List category posts] New Update broke my siteThe page seems to be working now. Is this still an issue?
Forum: Plugins
In reply to: [List category posts] List all posts except currentSee
excludeposts
in the docs:excludeposts – IDs of posts to exclude from the list. Use ‘this’ to exclude the current post. Ex: [catlist excludeposts=this,12,52,37]
Forum: Plugins
In reply to: [List category posts] Full post contentsSee the
content
parameter in the docs:content: If you want to show the content on your listed posts, you might want to do this from a new Page Template or a Custom Post Type template. Using this parameter is discouraged, you can have memory issues as well as infinite loop situations when you’re displaying a post that’s using List Category Posts. You have been warned. Usage:
- yes – Show the excerpt or full content of the post. If there’s a <!–more–> tag in the post, then it will behave just as WordPress does: only show the content previous to the more tag. Default is ‘no’. Ex: [catlist content=yes]
- full – Show the full content of the post regardless of whether there is a <!–more–> tag in the post. Ex: [catlist content=full]
You can set a css class and an html tag to wrap the content in with content_class and content_tag (see HTML & CSS Customization).
- This reply was modified 5 years, 6 months ago by Fernando Briano.
Forum: Plugins
In reply to: [List category posts] Make posts in Horizontal BlocksYou can use offset:
offset – You can displace or pass over one or more initial posts which would normally be collected by your query through the use of the offset parameter.
Forum: Plugins
In reply to: [List category posts] Display posts by IDI don’t think you can do that with a shortcode. If there’s any specific posts you want to show, set them to a category, tag, taxonomy or custom field and only show the posts with that category/tag/taxonomy/custom field value.
Check for more info here:
https://github.com/picandocodigo/List-Category-Posts/wiki/How-to-select-which-posts-to-show- This reply was modified 5 years, 7 months ago by Fernando Briano.
Forum: Plugins
In reply to: [List category posts] Hire Someone To Style My List Category Post displaySorry, I can’t see any content in the page you linked.
How do you want to display the categories? From my understanding, you could do this by using several shortcodes with different categories, showing the category name for each of them:
[catlist name=executive catname=yes]
[catlist id=ultra catname=yes]
Forum: Plugins
In reply to: [List category posts] Hire Someone To Style My List Category Post display@jjstuss let me know what you need to do and I might be able to help.
Forum: Plugins
In reply to: [List category posts] List category PostTake a look at the post_type parameter:
post_type – The type of post to show. Available options are: post – Default, page, attachment, any – all post types. You can use several types, example: [catlist post_type=”page,post” numberposts=-1]
Forum: Plugins
In reply to: [List category posts] custom class to tagYou need to use the
title_class
parameter:[catlist numberposts=5 title_class="lcp_title"]
Will generate this for each post:
<li> <a href="https://yourblog.com/hello-world" title="Hello world!" class="lcp_title"> Hello world! </a> </li>
Forum: Plugins
In reply to: [List category posts] List Only Post ID (not Post name) by CategoryHi @forson,
That’s not possible at the moment but it could potentially be implemented via a parameter. Just out of curiosity, what would the context be? Why would you want to post IDs?Cheers,
FernandoForum: Plugins
In reply to: [List category posts] post_title + “private” when admin logged inHi Peter,
You can hide this text by adding this on your theme’s CSS file:.lcp_private{ display: none; }
But I’m not sure if this was the ideal solution to show “private” right now, I’m thinking it should be hidden by default and making it an option in the shortcode to display it would be better.