Support » Plugin: Page-list » [Plugin: [pagelist]] Shortcode in Sidebar Widget not working

  • Resolved dave

    (@mozdzanowski)


    I’m trying to get the shortcode [pagelist_ext] to work in my sidebar.

    I have the “Use Shortcodes in Sidebar Widgets” plugin activated, but the shortcode in a regular text widget won’t work. It also doesn’t work on any pages either.

    I’m on my local testing server, but I just tried the plugin on a site online and this shortcode didn’t work there either.

    Just [pagelist] works and shows the site map-style page list.

    Are there content requirements for the pages listed? Right now the pages I’m trying to list have no photos, just title and content. Seems like it should work still. Thoughts?

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

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

    (@webvitaly)

    [pagelist] shows list of all pages on the site;
    [pagelist_ext] – shows subpages to current page (works like [subpages]);
    IMHO you just don’t have subpages and shortcode does not have what to show;
    try to use [pagelist_ext child_of="0"] or similar;

    Thread Starter dave

    (@mozdzanowski)

    Gotcha. Adding “child_of=x” worked.

    I guess that’s what my original question was: “Are there content requirements for the pages listed?”. I was under the impression that “[pagelist_ext]” would default to show all pages if no parents/children were specified.

    Thanks for your help.

    I just installed and activated the page-list (webvitaly) plugin but nothing happens. The page still displays the [pagelist] directive not the actual page list.
    NB : I use the Atahualpa theme.

    What did I miss??!

    FRançois-Xavier

    Plugin Author webvitaly

    (@webvitaly)

    @fxtv: add this code:

    <?php add_filter('widget_text', 'do_shortcode'); ?>

    to your functions.php to run shortcodes in sidebar.

    Many thanks for your answer but my problem is to use shortcodes in Page page. In Article pages it works fine.

    Would you tell me the magic sentence to add to get it work ??

    François-Xavier

    Plugin Author webvitaly

    (@webvitaly)

    @fxtv: I tested sortcodes in Atahualpa theme in pages and in posts and it works good. Did you modified the page output (page.php file) in that theme?

    I have removed the WordPress Users plugin and now everything is fine.

    fx

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: [pagelist]] Shortcode in Sidebar Widget not working’ is closed to new replies.