Forum Replies Created

Viewing 15 replies - 526 through 540 (of 927 total)
  • Plugin Author Dani Llewellyn

    (@diddledani)

    The limiting to child pages feature is very brittle, and was a bodge job to support a specific client’s requirements. I am working on exposing a new attribute to the shortcode which will allow you to explicitly set the parent page that you want to fetch the children from. I hope that will make it much friendlier and less “magic”.

    Plugin Author Dani Llewellyn

    (@diddledani)

    I’m working on an enhancement which will enable this usage, but as of now you can’t achieve it with the shortcode. When the next version is available, if I get it right, you should be able to add an exclude-terms="news" statement into the shortcode, which will do the required filtering (I hope).

    Plugin Author Dani Llewellyn

    (@diddledani)

    This is confusing because I can’t see why the behaviour would change between 2.0.4 and 2.0.5. I didn’t touch that bit of code so it should behave in the same way. I’m still investigating to try to determine what’s going wrong.

    Plugin Author Dani Llewellyn

    (@diddledani)

    I’m betting this is because you’re displaying pages in the list. The plugin is using a different function to pull pages, currently, which is incompatible with the exclusion parameters. The good news is I’m working on reducing the usage of that other function to allow for more consistent behaviour in circumstances such as your example above. The bad news is it’s not ready yet 🙁

    Plugin Author Dani Llewellyn

    (@diddledani)

    This is because the plugin is allowing for multiple columns to exist. It would look really odd if a short list had titles taking two columns of width when the list directly below it has titles that are one column of width because the list spans multiple columns.

    You can remove the columnar layout by copying the file at wp-content/plugins/a-z-listing/templates/a-z-listing.example.php into your theme and renaming it to a-z-listing.php. This will allow the titles more room, but it will also mean that large lists will not use multiple columns to reduce the amount of space they use.

    Plugin Author Dani Llewellyn

    (@diddledani)

    I expect that your lists are short and so do not span multiple columns. The plugin is geared to display in a columnar format by default, so on short lists they will be on the left-hand side and potentially taking multiple lines per title rather than allowing the title to fill the empty space.

    If you want to use a single-column layout that will allow the titles more room before they drop to two or more lines you can copy the file at wp-content/plugins/a-z-listing/templates/a-z-listing.example.php into your theme renaming it to a-z-listing.php. This will be enough to remove the column-layout and so the titles will have more space to breathe.

    Forum: Plugins
    In reply to: [A-Z Listing] List Authors
    Plugin Author Dani Llewellyn

    (@diddledani)

    Sorry about the lack of response, I’ve been snowed-under with other projects.

    Unfortunately it is not possible to show Users with this plugin. The plugin currently supports Taxonomy Terms and Posts (including pages and those in custom post-types).

    Plugin Author Dani Llewellyn

    (@diddledani)

    oops, thanks for picking up my mistake 🙂

    Plugin Author Dani Llewellyn

    (@diddledani)

    @deniriswana, please start a new thread so that I can take a look. From checking your site I don’t see a problem similar to this thread’s issue; did you already fix it?

    Plugin Author Dani Llewellyn

    (@diddledani)

    Something is wrong. The plugin should never refer to a template called a-z-listing.example.php. What steps did you take? Did you copy the file into your theme and rename it to a-z-listing.php?

    Plugin Author Dani Llewellyn

    (@diddledani)

    Hi,

    It looks like your theme has a CSS rule that sets .columns to float: left;.

    You can fix it by adding more css to override your theme:

    div.letter-section ul {
        float: none;
    }
    Plugin Author Dani Llewellyn

    (@diddledani)

    To remove columns, copy the file from wp-content/plugins/a-z-listing/templates/a-z-listing.example.php into your theme and rename it to a-z-listing.php. That should set you up nicely 🙂

    Plugin Author Dani Llewellyn

    (@diddledani)

    If you have the ability to add javascript to your site, try adding the following so that it is loaded on the a-z-index page:

    if ( document.readyState === 'loading' ) {
        document.addEventListener('DOMContentLoaded', fixAZListingScroll);
    } else {
        fixAZListingScroll();
    }
    function fixAZListingScroll() {
        document.querySelectorAll( '.az-links a[href^="#letter-"]' )
        .forEach( function( a ) {
            a.addEventListener( 'click', function( e ) {
                e.preventDefault();
                const selector = this.href.replace( /.*(#letter-.*)/, '$1' );
                document.querySelector( selector ).scrollIntoView();
                window.scrollBy( 0, -120 );
            });
        });
    }

    This page has some help with getting javascript onto your site: https://premium.wpmudev.org/blog/learn-how-to-add-custom-javascript-to-wordpress-the-right-way/

    Plugin Author Dani Llewellyn

    (@diddledani)

    aww, shucks, you guys, thanks for helping each other out *hug* love you all for being awesome people!

    I failed with getting the right script URL in the 2.0.0 update, but it’ll be fixed in 2.1.0 *pinky swear* :-p

    Plugin Author Dani Llewellyn

    (@diddledani)

    The screenshot looks like everything is set correctly. I’m working on 2.1.0 which might fix it, as I’ve been doing some improvements to areas close to this in the widget configuration. I hope to get the update out this week, and the development version I’m currently using is working correctly with the widget. Fingers-crossed the update will fix you up if you can hang on a bit longer 🙂

Viewing 15 replies - 526 through 540 (of 927 total)