• I have just placed an update to the Fold Page List plugin on the webspaceworks server.

    The new version is 1.0b6[rc3] and I fully expect this to be the final beta before drawing a line under 1.0.

    The recent change is:

    Add support for custom title attributes to be added to the links.

    This requires that a custom tag be added to any page where you want a more helpful title attribute to appear when a visitor mouses over the link.

    wswpg_linkttl is the custom tag to use.

    If present it will be used in preference to the default behaviour. If not used then the default behaviour of using the same text for visible link text and the title attribute will be reverted to.

    Hope this is useful, and would welcome any feedback.

    Best regards

    Rob

Viewing 8 replies - 16 through 23 (of 23 total)
  • Thread Starter roblgs

    (@roblgs)

    Hi,

    An update to the Fold Page List plugin was recently uploaded and can be obtained through the download link on the Fold Page List support page.

    This update (v1.3) includes a compatibility fix that will allow the subscribe2 plugin to be used at the same time as the polyglot plugin with Fold Page List active.

    It also makes publicly available a long-standing fix that makes Fold Page List compatible with the application of filters to the page list… This should have been included a while back, but wasn’t uploaded to the server until now.

    Best regards

    Rob

    Hi Rob,

    I’m new to PHP and slogging my way through it. I’m not quite understanding what to do with the wswpg_linkttl value. WP wants a ‘KEY’ and a ‘Value’, does this go in the ‘value’ field?

    Also, does this go on every child page or just the parent page or all of them?

    Thanks.

    CONT’D:
    I uploaded the ‘fold_page_list.php’ under ‘/wp-content/plugins/’ and activated it in my Site Admin, then in my ‘sidebar.php’ file, I changed the following line:

    ‘<?php wp_list_pages(‘title_li=<h2>’ . __(‘Pages’) . ‘</h2>’ ); ?>’

    with this:

    ‘<?php wswwpx_fold_page_list ($args, $fullunfold); ?>’

    Nothing has changed. the pages area still shows parents and children pages. I’m sure my lack of PHP knowledge is hurting me here and I would appreciate any help.

    Thanks.

    Thread Starter roblgs

    (@roblgs)

    Hi Sydsum,

    Sorry for the delay…

    To start with your second problem first, if your call to wp_list_pages was as you describe above, then the equivalent call to wswwpx_fold_page_list would also be similar:

    ‘<?php wswwpx_fold_page_list (‘title_li=<h2>’ . __(‘Pages’) . ‘</h2>’ ); ?>’

    The bit between the ( & ) being the ‘$args’ in the sample call. $fullunfold defaults to false, so the effect should be to collapse the entire list to just its top level, andto then unfold one level at a time as you click into your page hierarchy. If you were to pass $fullunfold as ‘true’:

    ‘<?php wswwpx_fold_page_list (‘title_li=<h2>’ . __(‘Pages’) . ‘</h2>’, true ); ?>’

    then clicking on a top level would fully unfold its hierarchy.

    Now, back to your first problem…

    wswpg_linkttl is the key you need to specify (type in) to add a new key to the list. Once added you can simply select it from the list, but first time you have to type it into the input field. You then add the rollover text you want to use to the textarea to the right of the key. This will be used as the value. To illustrate, if you want the text “Some interesting thoughts on things” to appear as a rollover (tooltip) on a link to a page, then add the value “Some interesting thoughts on things” to a custom field with the key ‘wswpg_linkttl’

    Hope that helps…

    Rob

    jfugere

    (@jfugere)

    Hi All

    I am able to get Fold Page List (1.4) to work only when I deactivate Sidebar Widgets – is there a way to make them work together?

    https://themurraytree.com/WordPress
    Was hoping to just use wordpress as a CMS… I only want to show Pages not Blogroll, Meta, Links etc….

    Thoughts?

    Thanks you – tis a great plugin in. Just want to make it work.

    -jfugere

    Thread Starter roblgs

    (@roblgs)

    Hi,

    A new version of Fold Page List has been released (v1.5) resolving an issue where the ‘page_folder’ class was being applied to pages that had no sub-pages. The problem was triggered by attachments on a page, so if you had no attachments the problem wouldn’t arise.

    The new version is available from the usual Fold Page List support page.

    Also, to perhaps answer jfugere’s question, the King Widgets available from MediaProjekte offer sidebar widgetry that is compatible with both Fold Page List and Fold Category List plugins.

    Best regards

    Rob

    > is it possible to exclude pages with no
    > parent_id and only display hierachy within a
    > single ancestory?”

    If what you mean is having a topnav & a side nav only displaying items (all children, grandkids, greatgrands, etc)for the section you’re in, yes. Here’s what works for me:

    $ancestor=current(_wswwpx_page_get_ancestor_ids($post->ID));
    $args=”title_li=&sort_column=menu_order&child_of=”.$ancestor.”&depth=0″;
    wp_list_pages($args);

    Regards,
    Raoul

    Raoul – that’s great. Any way to also add the parent for that seciotn to that list.

    Thanks – Michael

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘Fold Page List update’ is closed to new replies.