Fernando Briano
Forum Replies Created
-
This question is covered in the plugins faq. You could have read this, to see if it had already been answered…
nknews as alchymyth said, you can use the
do_shortcodefunction on your index.php file.Use something like:
<?php do_shortcode('[catlist id=5]'); ?>Forum: Plugins
In reply to: [List category posts] [Plugin: List category posts] Broken in WP 3.1Hi George, drewshen,
The error seems to be due to an update on the template system on version 0.18. Please, check the new included default.php and update your default.php file.
I’m working on a new, improved, simpler system for templates, since this one is not really user friendly at all. Any feedback on the matter would be greatly appreciated. Check this link to a possible implementation.
Hey stevelack,
Just want to rule out this, so sorry if it seems too obvious, but was the plugin re activated after upgrading to 3.1?Thanks daitya, you’re on the way to becoming one of List Category Posts’ most valuable user 😛
dandelionweb, as daitya said, I’ve addressed this issue and I included this error on the FAQ.
You should consider updating your server to PHP5 since WordPress will stop giving support to PHP4 in the upcoming version 3.1.
Thanks dandelionweb for reporting and daitya for the support 😀
Ok, glad I could help out! It’s great to know people find the plugin usefull. No problem on taking my time, giving support is part of developing the plugin (You could consider a donation if you want to further help the development 😀 ).
Thanks for using List Category Posts!
I tried to reproduce this error on a local installation of WordPress with your same parameters and haven’t been able to. I looked at the source code on your page, and I suspect there’s an external factor causing this.
This code is being repeated:
<div class="content box-no-title fluid-height headway-leaf" id="leaf-109"> <div class="headway-leaf-inside"> <div class="leaf-content"> <div id="post-256" class="hentry page author-forum-civico"><h1 class="page-title">Lista SoloEventi</h1><div class="entry-content"><ul class="lcp_catlist"><li><a href="http://www.forumcivico.it/lista-soloeventi-2-259.html">Lista SoloEventi</a> 16/02/2011<p class="lcp_excerpt">La lista per ricevere ed inviare SOLO ed unicamente notizie di EVENTI, incontri pubblici (culturali, sociali, ecc) nella zona del Garda e provincia.</p></li></ul> </div><!-- .entry-content --></div><!-- #post-256 --></div><!-- .leaf-content --> </div><!-- .headway-leaf-inside --> </div><!-- #leaf-109 -->The code generated by the plugin starts with
<ul class="lcp_catlist">, and as you can see, the ul is correctly closed. The second time the content is displayed exactly the same, but with a different id:
<div class="content box-no-title fluid-height headway-leaf" id="leaf-110">
Is there some special feature on your theme that might be causing this? Can you show the code to your page’s template?Well, I rewrote the functions to get things to display, so you should check how it’s being used now. Anyway I think it’s simpler the way it is now.
I can’t think of anything specific to do other than look at how it is working now and adapt your templates to that (I know, at suck at documenting 😛 ).
Please let me know how it goes, and any suggestions are more than welcome. The same for any “documentation” you may think might be useful out of your experience changing the templates into the new format.
Thanks again for your feedback!
Hi jcollier,
I changed the code for the templates on this new version. Please, check the new default.php file in the templates folder and update your templates. Also, check that I’m using STYLESHEETPATH and TEMPLATEPATH now, as per your last post on this forum.I added an Upgrade Notice referring to this, but it looks like it’s not displayed correctly or something…
Anyway, please let me know if adapting the templates to the new system works, or if I should release a new fix.Thanks for using the plugin!
RegardsHi silentlucidity,
From what you describe, I understand you can use custom fields for this. Since version 0.15 (or 0.16), the plugin can show custom fields and it values.So for what you need, you would create the “Scripture” custom field, and add the value to each post. Then you would use something like:
[catlist id=4 customfield_display=Scripture]The custom field value you are referring to, is to filter the posts by custom field.
Hope this helps. Regards!
Forum: Plugins
In reply to: [List category posts] [Plugin: List category posts] New Update BrokenSo much code change…
Version 0.17.1 has just been released with a fix for this.
Thanks for reporting it!Thanks for noticing this. I haven’t specified about this on the FAQ but I’ll update the README file for the next version.
Thanks!
Yes, I’ve considered that, I’ll look into it, and add it on the next release.
Thanks for using the plugin!
RegardsIs it now working at all or is it just showing the first category’s title?
The way it’s programmed, it should only display the title for the first category you chose, and include the posts from all of the categories. I thought of this parameter mostly for using several shortcodes on one page or post, so that each group of posts would have the title of that group’s category.
If you need to display several titles with posts, you should use one [catlist] shortcode for each category you want to display. If you would prefer otherwise, please let me know.
Regards
enricofra sorry I didn’t notice this earlier…
Try:
thumbnail=yes
instead of
thumbnails=yesThere was an update notice:
== Upgrade Notice ==
= 0.13.2 =
Thumbnail parameter ‘thumbnails’ changed to ‘thumbnail.