Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author EkoJR

    (@ekojr)

    It’s been awhile, but i don’t think that shortcode was modified to handle Custom Post Types (CPT). Looking at the source, the shortcode callback function uses the get_the_category() method which is the old WP method. So, I’ll have to modify the code to handle custom taxonomies.

    I’ll bump this bug to the top of my list, especially since this is also a CPT issue. You’ll likely see it fix/improved in the next release.

    Thread Starter Peter Islin Nielsen

    (@essens)

    Awesome, thanks!

    Plugin Author EkoJR

    (@ekojr)

    I was able to fit some time in to write some code to add a shortcode [post_terms] that can handle Custom Taxonomies. The old methods, [post_categories] and [post_tags], remain the same, but the [post_terms] method has a few more configurable params to handle various conditions, and it can handle the default/built-in taxonomies.

    I will be making the version changes public for download/update within 24-48 hours, or possibly sometime next week depending if I come across other changes I need to make. If you would like to download it now, the changes are currently public on GitHub Master.

    I was tempted to add more params, like OrderBy, but I was afraid it may become too confusing to others, and can already be achieved by much more suitable method ,[php_function], for tasks like sorting by ‘number of posts’, ‘number of views’, and other custom values. Plus, the built-in WP sorting method doesn’t provide enough simple params for useful options to handle what the WP ‘meta-value’ param can, which almost always requires a few lines of PHP code to be added, given its complex and extensive usefullness.

    I was wondering if you would be inclined to give some Feedback on whether or not I should keep the ‘max’ (Amount) and ‘empty_message’ (Exit Message) param. I wanted to add some of the useful settings that Preset Post Lists use, but keep rethinking whether it’s even worth adding. Particularly the ‘max’ param (perhaps even ‘list_amount’ or ‘amount’), which would prevent a list from potentially adding 100+ terms from the taxonomy. Right now it’s in the Development stage, but the decision will be made final with the version release candidate.

    Thread Starter Peter Islin Nielsen

    (@essens)

    First of all: I’m really glad that you decided to fire up APL again! It feels so much better relying on plugins that are maintained and supervised by their author.

    Regarding the “max” and “empty_message” params, I think you should keep them – they might come in handy. What would be the reason for not having them there?

    And please let me know if you need any help with graphic design. For example, I’d love to design a proper plugin icon for APL – just to give something in return for all the development hours I’ve saved with your plugin ??

    Plugin Author EkoJR

    (@ekojr)

    I never really had any intention to abandon the plugin, but I did have to make a decision to focus on other life matters that were at hand. APL has always had a special interest to me when I first discovered it with Kalin’s Post List, and it even helped me switch from software development to web development. Since then, APL has taken a dramatic step from KPL. Many of the old planned support and features have been added along with other ideas, and there’s a plan for the direction APL will take with other support and features…and quite possible even the design. Right now everything is packed into one page in an Admin General Settings Page, but that will likely change as soon as I make one more addition to the Core Objects. I may not have as much spare time like I used to, but APL is on my normal To-Do List.

    The reason why I ask about the “max” and “empty_message” params is because even though I always aim for the most advanced capabilities, I also have to take into consideration simplicity. It’s always been one of my biggest complaints, even though it’s likely most of those were from beginners. So, I try to keep a certain balance between the two, but I’ll always weigh more into the advanced side of things.

    If you would like to design a plugin icon for APL, I won’t say ‘no’. With me starting at where I left off, I’ll be re-amping the support sites (WP & GitHub). WP was just starting to redesign their site when the last patch was released. So I never got much of a chance to design a Featured Image and a Thumbnail (if that’s what you mean).

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Is APL compatible with custom post type categories?’ is closed to new replies.