WordPress.org

Ready to get started?Download WordPress

Forums

Page-list
[resolved] Page-list stopped working (6 posts)

  1. Henk Barreveld
    Member
    Posted 1 year ago #

    My site is http://www.bcstar.nl and I use Page-list in the Colofon widget. Clicking the link "Sitemap"there brings up a fancyBox 2 window with the sitemap. I use a very simple short code: [pagelist exclude="459,511,2620,3363,3375,3377,4207,4243,4274"].

    I have used Page-list this way for months and it worked flawlessly. Today it stopped working, however; instead of the page list I get the short code itself printed.

    The only thing I changed (I think) is that I upgraded two other plugins from their newest-but-one subversion to their newest subversion: Collapse-O-Matic and Theme My Login. Deactivating these plugins does not make a difference...

    Thank you in advance for your help!

    http://wordpress.org/extend/plugins/page-list/

  2. webvitaly
    Member
    Plugin Author

    Posted 1 year ago #

    How are you getting the popup with shortcode?
    Are you making do_shortcode() to the content with that shortcode?

  3. Henk Barreveld
    Member
    Posted 1 year ago #

    Hi webvitaly,

    Thank you for your immediate reply.

    I am afraid that I do not understand your question. do_shortcode() is a php call and I cannot put php code in a widget, I think?

    This is a copy-and-paste of the code in the widget:

    <div id="sitemap" style="max-width: 500px; display: none;">
    <h1 style="margin: 0;">Lijst van website pagina's (menu volgorde)</h1>
    <div>[pagelist exclude="459,511,2620,3363,3375,3377,4207,4243,4274"]</div>
    </div>
    
    ... and ...
    
    <p><a class="fancybox-data" href="#sitemap">Sitemap</a></p>

    ... and of course some jQuery

    That's all! And it worked fine - till a few days ago. The fancyBox code is also being used without a problem for other pop-up windows, for example the one you get with the "English" link in the colophon widget.

    Added: I just made a test page in which I put the same short code as above and that works all right. See http://www.bcstar.nl/0/?page_id=4767. So it seems your plugin is not 'broken' or so.

  4. webvitaly
    Member
    Plugin Author

    Posted 1 year ago #

    Does the [pagelist] shortcode works on other pages? If yes then move to next step.

    If that fancybox is made with widgets than try to install plugin which execute shortcodes in widgets.

  5. Henk Barreveld
    Member
    Posted 1 year ago #

    [pagelist] works in "normal" page contents. I just had the same idea and tested that (see above addition). I am now going to look into your suggestion...

  6. Henk Barreveld
    Member
    Posted 1 year ago #

    Works!!! Wonderful!

    I do not really like that this just worked without the additional plugin for quite some time, and now not anymore.

    Anyway, it is working now and that's what is important, right?

    Thank you very much for your help.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic