AACT
Forum Replies Created
-
Forum: Plugins
In reply to: [List category posts] How do you remove the Bullets?Quiztoon – have you tried
ul.lcp_catlist {list-style-type:none;}
see e.g. http://www.w3schools.com/cssref/pr_list-style-type.asp
for the syntax.
Forum: Plugins
In reply to: [List category posts] Listing posts from multiple categoriesHi, in your example you should probably be getting the most recent two posts which are in at least one of the categories 7.8.9.10
So, it seems right that you get the same two, whichever way round you put the list. Have you tried with numberposts=<some big number> to make sure you also get posts from the other categories?
I think the plugin is doing this correctly. By putting numberposts=2 you have asked it to output at most 2 posts. You have not asked it to put out 2 posts from category 7 and 2 posts from category 8 and so on as that is not what numberposts means. If you do want 2 posts from each category then making 4 calls: [catlist id=7 numberposts=2] [catlist id=8 numberposts=2] etc would do it, but I may have misunderstood what it is you want (and could some posts be in more than one of your categories?)
Forum: Plugins
In reply to: [List category posts] "OR" of multiple tags not workingHi, does putting double quotes around your string of tags help? e.g.
[catlist tags=”happy,sad”]
Forum: Plugins
In reply to: [List category posts] How to use custom post_type and taxonomyHi, youmight find the ‘Ohter Notes’ section of the List Category Posts plugin info to helpful. It lists the parameters that catlist accepts.
taxonomy is not one of them.
I think that in your example videoscategory is a WordPress category. catlist uses the parameter name for a category so try name=videoscategory
You have correctly put post_type=videos I think, a parameter catlist also has.
Writing id=27 means ‘select posts in the category which has the id 27’. The Other Notes points out that ‘You should use only one of these methods since these are all mutually exclusive, weird results are expected when using more than one:’ so don’t use id= as well as name=
Forum: Plugins
In reply to: [List category posts] Custom Post nameIf the altenative title for the post is in a customfield in that post then using the customfield_display parameter in catlist will show it. For example, if you have the alternative title in the custom field which is called alttitle you can show that by including customfield_display=”alttitle” in your catlist call.
If your alternative title is not in a customfield for each post, please let us know where it is so we can think about how to show it.
Forum: Plugins
In reply to: [Advanced Custom Fields (ACF®)] Showing values from a checkboxHi, have you tried putting a var_dump($metiers); into your code just to see what the array looks like (and to make sure your current post really does have some colors set in the ‘type_metier’ field.
I’m not sure why you have the line starting $field_obj as you don’t then seem to use it.
Forum: Plugins
In reply to: [List category posts] Add custom text before date?You may find this from the Other Notes useful
date – Display post’s date next to the title. Default is ‘no’, use date=yes to activate it. You can set a css class and an html tag to wrap the date in with date_class and date_tag (see HTML & CSS Customization further below).
You could try wrapping the date in a class and then use the CSS .classname:before {content:’text’;} to display text.
Forum: Plugins
In reply to: [List category posts] tags="tag" returns empty listHi, are you sure that you have some posts which have a tag called ‘tag’ [it’s quite a strange name for a tag to have].
Could you tell us some of the tags that your posts have?
Forum: Plugins
In reply to: [List category posts] Only shows certain categoriesHi we use this sort of call
[catlist post_type=organisation tags=”Director”] without problem.
Could you show us the call you are using where you say you cannot specify the taxonomy?
Forum: Plugins
In reply to: [List category posts] Quick load pageHi, have you tried the numberposts and pagination parameters? Might be what you need.
Forum: Plugins
In reply to: [List category posts] Everything disappereadHi, I don’t know whether this is your problem, but I noticed tradingkidz has numberposts=1000
We’ve found that you can run out of space with trying to list a lot of posts. That can result either in seeing a Fatal error due to running out of space or just seeing nothing.
We have got round it by splitting the catlists into shorter ones. e.g.
[catlist numberposts=200 offset=0]
[catlist numberposts=200 offset=200]Note to author: is WP’s own cache filling up?
Forum: Plugins
In reply to: [List category posts] Custom Post nameHi, I don’t quite understand your question. Do you have a customfield which has an alternative title you’d like to show? If so, you can use the customfield_display parameter to show the contents of that field.
If not, where is the alternative title held?
Forum: Plugins
In reply to: [List category posts] No longer workingHi, what version are you using and which version were you using before.
Also, can you show one of your catlist shortcodes?
Forum: Plugins
In reply to: [List category posts] Plugin only shows titles of postsCould you show the shortcode call you are making? e.g.
[catlist post_type=post etc]Forum: Plugins
In reply to: [List category posts] Change style per itemWould CSS do it for you using something like e.g.
`li:nth-child(even) {
background: #eeeeee;
}Obviously you’d need to specify the list element more precisely to make sure you altered the format of the right list.