Dani Llewellyn
Forum Replies Created
-
Forum: Plugins
In reply to: [A-Z Listing] A-Z listing shows all pagesThe 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”.
Forum: Plugins
In reply to: [A-Z Listing] Exclude posts based on category and keep post title namesI’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).Forum: Plugins
In reply to: [A-Z Listing] A-Z Listing Categories Nolonger workingThis 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.
Forum: Plugins
In reply to: [A-Z Listing] Exclude posts not working after updateI’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 🙁
Forum: Plugins
In reply to: [A-Z Listing] Layout ProblemThis 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.phpinto your theme and renaming it toa-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.Forum: Plugins
In reply to: [A-Z Listing] Layout ProblemI 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.phpinto your theme renaming it toa-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 AuthorsSorry 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).
Forum: Plugins
In reply to: [A-Z Listing] Display only Child Terms in Custom Taxonomyoops, thanks for picking up my mistake 🙂
Forum: Plugins
In reply to: [A-Z Listing] Layout problem@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?
Forum: Plugins
In reply to: [A-Z Listing] how to have no column ?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 toa-z-listing.php?Forum: Plugins
In reply to: [A-Z Listing] Layout problemHi,
It looks like your theme has a CSS rule that sets
.columnstofloat: left;.You can fix it by adding more css to override your theme:
div.letter-section ul { float: none; }Forum: Plugins
In reply to: [A-Z Listing] how to have no column ?To remove columns, copy the file from
wp-content/plugins/a-z-listing/templates/a-z-listing.example.phpinto your theme and rename it toa-z-listing.php. That should set you up nicely 🙂Forum: Plugins
In reply to: [A-Z Listing] Jump anchors need adjusting ( Avada theme)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/
Forum: Plugins
In reply to: [A-Z Listing] Tabbed Contentaww, 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
Forum: Plugins
In reply to: [A-Z Listing] A to z site map not workingThe 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 🙂