Dani Llewellyn
Forum Replies Created
-
Forum: Plugins
In reply to: [A-Z Listing] New Update needs new solution.Your shortcode is slightly off from the correct format.
displaycan either bepostsorterms, sopageis incorrect. You might find fixing that with the code below will get you working properly with the latest version:[a-z-listing display="posts" post-type="page" taxonomy="post_tag" terms="mv"]Forum: Plugins
In reply to: [A-Z Listing] List posts from specific CategoryHi,
You should be able to use a shortcode like:
[a-z-listing display="posts" post-type="post" taxonomy="category" terms="xxx"]I am guessing your term isn’t named “XXX”, so you will need to replace the slug
xxxwith the slug(s) of your categories separated by commas:,. To use a different taxonomy (i.e. a taxonomy that is not categories) you will need to change the slugcategoryto the slug of your taxonomy. I’ve assumed you want to show the post-type of Posts; if you want to show pages you can changepost-type="post"topost-type="page".Forum: Plugins
In reply to: [A-Z Listing] Unable to click the “#” button on the alphabet.Ooh, it looks like you found a nice bug 🙂
I’ll try to get an update out to fix this soon. Although I want to write a test case to check for correctness and that I don’t break it in the future, first, so it might be in the next day or so.
Forum: Plugins
In reply to: [A-Z Listing] how to make a-z listing?Hi, as your site is new I expect the post types you have available are
postandpage. To show both you want to use the following shortcode:[a-z-listing display="posts" post-type="page,post"]To show only pages you can use:
[a-z-listing display="posts" post-type="page"]And to show only posts then:
[a-z-listing display="posts" post-type="post"]Note that the
display="posts"is not strictly necessary as this is the default, so you can omit that to leave you with:[a-z-listing post-type="page,post"]Forum: Plugins
In reply to: [A-Z Listing] Wrong pemalinks on the widget.curious. I’m not sure how that got broken. I think it was from an automated code formatting I applied to the code that has gone awry. Thanks for your effort in finding the issue and letting me know about it, and I’m sorry I broke it… 🙂
I’ll roll a fix asap. Sometime this evening I’ll get version 2.1.2 out to fix this. (UK time)
Forum: Plugins
In reply to: [A-Z Listing] A to Z show pages AND woocommerce productsYou can use either
exclude-posts="1,2,3"orexclude-terms="term-to-exclude,another-term"in the shortcode, which requires version 2.1.0 or 2.1.1 of the plugin:[a-z-listing display="posts" post-type="product,page" exclude-posts="42"]or
[a-z-listing display="posts" post-type="product,page" exclude-terms="no-a-z"]You could even combine them:
[a-z-listing display="posts" post-type="product,page" exclude-posts="42" exclude-terms="no-a-z"]Forum: Plugins
In reply to: [A-Z Listing] Error Output on pageFirst thing is to ensure you’re running the latest version of the plugin. It looks like you’re running an older release and the more recent version might have fixed the issue.
I haven’t seen this problem myself, but will try to do some testing later this evening (UK time) to see if I can replicate it on the most-recent version.
Sorry about the delay replying 🙂
Forum: Plugins
In reply to: [A-Z Listing] Show # instead of alphabetThe plugin will use the
#symbol for any post that doesn’t begin with a letter defined in the alphabet that the plugin is using. If your posts begin with anAthen they should be in theAgroup. If your posts begin with an accentedAthat I haven’t anticipated then they will be shuffled into#. (I’ve anticipated the common European accents such asÁ, andà. All the letters the plugin defaults to using are below, though some localisations might have overridden this via glotpress:AÁÀÄÂaáàäâ,Bb,Cc,Dd,EÉÈËÊeéèëê,Ff,Gg,Hh,IÍÌÏÎiíìïî,Jj,Kk,Ll,Mm,Nn,OÓÒÖÔoóòöô,Pp,Qq,Rr,Ssß,Tt,UÚÙÜÛuúùüû,Vv,Ww,Xx,Yy,ZzThe glotpress translations are automatically installed by WordPress. You can see their status or contribute at https://translate.wordpress.org/projects/wp-plugins/a-z-listing
The first thing to check for an easy win if it works is whether the
mbstringPHP extension is enabled on your server, enabling it if it isn’t currently enabled. I’ve tried to work around cases wherembstringisn’t present, but the fallback code might not work correctly – I still need to find a way to test that reliably and easily…Forum: Plugins
In reply to: [A-Z Listing] 3 column Set upYou need more posts in the list for it to overflow into a second, and third… column. The plugin ensures that you have “several” posts in the first column before breaking to a second and third column so that you don’t end up with, for example, three columns each with one item.
Forum: Plugins
In reply to: [A-Z Listing] How to display product categoriesWhile my plugin can be used to create such a feature it will require custom development to implement it.
Getting the plugin to output into the header will likely need you to edit the header.php file in your theme to add either a
do_shortcode()call or anthe_a_z_listing()call.
You will need to write the supporting javascript for the reveal when your visitors hover their mouse over the letters. You might also need to copy the template from the plugin into your theme and edit it accordingly to support the concept.Forum: Plugins
In reply to: [A-Z Listing] How to show the alphabet selection as grid?The plugin comes with a widget for the letters out-of-the-box. You need to configure it separately from the shortcode. Configure the widget and the shortcode with the same settings and the letters will match-up.
Forum: Fixing WordPress
In reply to: Go top smooth functionI suspect that it only runs once because you are setting a constant to a value and then trying to overwrite it on subsequent clicks.
Move the function outside of the click handler into a separate file or embedded into the page along with the rest of your javascript imports. Then reduce the click handler to a simple call of the function instead of recreating the function on every click.
Forum: Plugins
In reply to: [A-Z Listing] Problem including both posts and pagesVersion 2.1.0/2.1.1 is now available, which supports specifying multiple post-types. The shortcode should look similar to:
[a-z-listing display="posts" post-type="post,page"]Forum: Plugins
In reply to: [A-Z Listing] Exclude posts based on category and keep post title namesVersion 2.1.0/2.1.1 is now available which includes the
exclude-termsfeature.Forum: Plugins
In reply to: [A-Z Listing] A to z site map not workingSorry it took me so long. The new version is now available – you want version 2.1.0 or 2.1.1.