Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Amit Verma

    (@amit_ish)

    This plugin includes a widget to display pages from the current page’s category. But it doesn’t display posts.

    If you want to display posts then follow following steps.
    1) Open “ListAllPagesFromCategory.php” from the Plugin folder
    2) Go to line 46
    3) Change post_type to post or any. Currently it is set to page

    Hope it is what you are looking for.

    Thread Starter cloudfe

    (@cloudfe)

    That was perfect, thank you very much )

    Just one question: if I update the plugin in the future, will I lose this edit?

    Plugin Author Amit Verma

    (@amit_ish)

    Yes, it will be lost. But it is a good idea to include this option in the plugin. I will add it in my todo list.

    Thread Starter cloudfe

    (@cloudfe)

    There’s a small problem: looks like your plugin conflicts to another plugin I’m using: https://www.ads-software.com/extend/plugins/advanced-sidebar-menu/
    If I put your widget just before or after the advanced sidebar widget, the latter one won’t show up.
    I just have to put another widget between them, but I was wondering if it’s possible to avoid this trick (I don’t always have 3 widgets in my sidebar.

    P.S.
    Two really minor issues:
    1) If I put your widget back with the other available widgets, it will disappear, and I have to refresh the page to make it appear again;
    2) the widget title won’t show up in the widget dashboard unless I save the widget first.

    Thread Starter cloudfe

    (@cloudfe)

    Actually, there is a major problem ??

    The plugin looks to work fine everywhere, but in this page it gets lost (password:elsaweb).
    As you can see, the widget shows a bunch of posts that have nothing to do with that category.
    Do you know what the problem is?

    Plugin Author Amit Verma

    (@amit_ish)

    Can I see your setup? Mail me at amit [at] amit [dot] me

    Thread Starter cloudfe

    (@cloudfe)

    Hello, I’ve just sent the info you need.
    Thank you for the assistance.

    Thread Starter cloudfe

    (@cloudfe)

    Thanks again, Amit!

    Thread Starter cloudfe

    (@cloudfe)

    Hello again.
    I realized now I have a major problem with this settings.
    I use a special category (called “Featured”) to populate my featured posts’ slider – and these posts are totally unrelated to each other (if not for their importance).
    The problem is, all the featured posts appear now in the sidebar (since they have the category “Featured” in common). I tried avoiding to use this system, or to hide this category, but it didn’t work out.

    Is there a way to eliminate the “Featured” element from the equation that populates my sidebar? Of course, without removing the posts that are actually related to the page.

    Thank you

    Plugin Author Amit Verma

    (@amit_ish)

    I will look into your code and check for the solution.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: Map Categories to Pages] How to put pages list in widget sidebar’ is closed to new replies.