Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Marco Constancio

    (@marco-constancio)

    There was a bug in the plugin that caused only 1 post excerpt to be displayed. The bug is fixed in 0.1.2 version.

    Version 0.1.3 installed yesterday

    1. Both tree view and list view show only a maximum of four posts in any subcategory having five or more posts. I can’t find a setting to correct this.

    2. How can I list the posts in the subcategories by title ascending instead of date descending?

    http://www.abqtopten.com/blog/index-restaurants/

    Help???

    Plugin Author Marco Constancio

    (@marco-constancio)

    As for the post order I will add the option to choose the listing order on the next version (should be a couple of days).

    As for the maximum of four posts, I find it strange I never had that error on my blog or testing server. Can you send me the parameters that you used ?

    [pcig category=rposts show=category_name,post_title links=post_title hide_empty=true]

    WordPress 3.2.1 twentyten theme.

    http://www.abqtopten.com/blog/index-restaurants/ , bottom list of three (the top two are AZIndex). There should be ten titles under the category “Larry’s Top Ten. Only four show up.

    I found the source of the title number problem. In the WP Dashboard Reading settings, I have set “Blog pages show at most” to 4. If I change it to 6, I get at most six titles for any subcategory.

    When you are loading up various arrays, you need to bypass the database field ‘posts_per_page’ in the table …options, which controls this title listing. The number of titles to show needs to be set independently of the database value, and should be set (to no limit) within your php code.

    This may require you to rewrite a standard WP function in your code to replace whatever is used from functions.php. We don’t want to rely on changing the database value, because this will screw up the number of posts (titles) appearing on the front page.

    Good luck.

    Larry
    larry@abqtopten.com

    Plugin Author Marco Constancio

    (@marco-constancio)

    I guessed that was something like that since I was unable to reproduce the error even on my test installation.

    I already set that parameter in the code with a high value, added the order option in latest version.

    Marco:

    999 should do the trick.

    The sort order option doesn’t seem to work yet. All post titles get displayed descending. .

    Ascending:
    [pcig category=rposts show=post_title links=post_title order=asc, orderby=title]

    and Descending
    [pcig category=rposts show=post_title links=post_title order=desc, orderby=title]

    give exactly the same results.

    Almost there. Thanks for the speedy help.

    Larry

    http://www.abqtopten.com/blog/index-restaurants/

    Plugin Author Marco Constancio

    (@marco-constancio)

    The order options works, however I copy-pasted wrongly the example. Just remove the comma after desc or asc and should work.

    Works great now. Thanks for the help. Nice plugin.

    What’s next? CSS?

    Larry

    Plugin Author Marco Constancio

    (@marco-constancio)

    Thanks.

    I don’t exactly any plans for the plugin because it already does what I wanted but I might add a few more options later on depending on the functions and my spare time.

    New version just threw this error at me:

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 390946 bytes) in /home/content/58/6892458/html/wp-content/plugins/post-category-index-generator/simple_html_dom.php on line 935

    Try increasing the memory available to PHP:
    http://wordpress.org/support/topic/253495#post-1017842

    Plugin Author Marco Constancio

    (@marco-constancio)

    New version just threw this error at me:

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 390946 bytes) in /home/content/58/6892458/html/wp-content/plugins/post-category-index-generator/simple_html_dom.php on line 935

    – Does this only happen in the newer version ?
    – Do you have many categories/post ? how is the structure of your posts/categories ?
    – Does increasing you memory like esmi said solves the problem ?

    Plugin Author Marco Constancio

    (@marco-constancio)

    Actually only now I notice the filename that is giving the error. What is your post_sections parameter ? because according your error message that is what is consuming your memory.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Plugin: Post Category Index Generator] Basically it works’ is closed to new replies.