Diana van de Laarschot
Forum Replies Created
-
Hi,
I won’t be adding that functionality right now. It would require an extra checkbox to switch this on or off and there are enough controls there as is, especially since you can already do this, albeit manually. I’d only consider this for things that cannot be achieved now.
If this plugin ends up with many more configurable options, I may add it, but right now I don’t want to add any more controls to the UI.
Kind regards,
DianaI’ve added a bunch of wildcards to the plugin 🙂
You can now use:
%post_title, %post_author, %post_feat_image (url only), %post_excerpt, %post_url, %post_date, %post_date_gmt, %post_status, %post_modified, %post_modified_gmt, %post_comment_count or wildcards for custom fields, like %post_my_field, where ‘my field’ or ‘my_field’ is a custom field
Get version 0.6 to use them.
Marking topic as resolved.
That’s easy!
You just add a regular ‘Categories’ item to the menu, right after the one that needs to be replaced with its posts.
Create it like so:
- Something
- Something Else
- Category item that is replaced by its posts
- Category item with title ‘View more’ that is *not* replaced by its posts.
Hope that helps 🙂
Right now, there are no other post fields that the plugin supports besides the ones mentioned in the documentation, but you can always use a custom field for the thumbnails and excerpts for now. I’ll keep your suggestion (%post_url, %$post_excerpt and %post_thumbnail) in mind for the next update.
Furthermore, the label supports HTML, so you can build your own custom HTML structure. And you can even force the post link to be placed around the title (not around other fields), by following this comment.
Won’t fix, marking this as resolved.
Depends on Issue 14527, marking this topic as resolved.
Marking this as resolved.
Marking this as resolved.
Hey, sure, feel free to send it to me! 🙂
E-mail address in the plugin code is still valid, even though the website is offline at the moment.Just realized that I was talking about taxonomies, not custom post types. Haven’t looked into it yet, but I will.
No, I haven’t.
Since I’m only hooking up to the WordPress Custom Menu, which doesn’t support going to a page of one specific author, I won’t be adding this anytime soon, sorry.
Kind regards,
DianaI haven’t worked with custom post types yet — ever. Which is the reason I disabled them at first. I’ll enable it and start testing it.
Thanks for posting!
Additional information: Issue 14527 (http://core.trac.wordpress.org/ticket/14527) may be related. When adding a menu item but before saving it, you will indeed see none of the promised checkboxes.
This is because the hook that is used to extend the functionality is not being applied until you’ve saved the item. Unfortunately, until a patch is approved, there’s not much I can do.
Hi there, my apologies for the belated reply, I just returned from vacation.
Are you still experiencing this issue?
If you check a category from ‘Categories’ on the left and click ‘Add to Menu’, the newly added block (right) should have some extra options, as shown in the plugin screenshots (http://wordpress.org/extend/plugins/category-posts-in-custom-menu/screenshots/)
One possible reason why you see no differences in Appearance > Menus would be if you have another plugin that works on Appearance > Menus and has a higher priority than mine.
The reason for this is purely technical, it is because WordPress currently has no ‘hooks’ in one specific class so I have to override that class. If another plugin has overridden that class as well and with a higher priority, then mine won’t show any differences in Appearance > Menus.
I’d first advise you to disable other plugins, to see if this resolves the issue. Please let me know if this is indeed the case. (If future versions of WordPress has hooks in the Walker_Nav_Menu_Edit class, I’ll be sure to use them and this won’t be an issue.)