• Resolved Henk Barreveld

    (@henk-barreveld)


    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/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author webvitaly

    (@webvitaly)

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

    Thread Starter Henk Barreveld

    (@henk-barreveld)

    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.

    Plugin Author webvitaly

    (@webvitaly)

    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.

    Thread Starter Henk Barreveld

    (@henk-barreveld)

    [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…

    Thread Starter Henk Barreveld

    (@henk-barreveld)

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Page-list stopped working’ is closed to new replies.