Diana van de Laarschot
Forum Replies Created
-
Forum: Plugins
In reply to: [Category Posts in Custom Menu] PHP 7 compability?Hi Anders,
I haven’t looked into that yet. Although I haven’t made a specific plan on when I will do that, I’ll address it soon and will mention it in the Changelog.
Thanks for the heads-up.
Kind regards,
DianaForum: Plugins
In reply to: [Category Posts in Custom Menu] Posts title in menu from selected categoryIf I understand correctly, you want to show posts in the menu only if you have navigated to the category menu? This cannot be done with my plugin.
An option would be to suppress the posts with CSS or Javascript, but I cannot help you with that.
Kind regards,
DianaHi Lukas,
In my test environment I’m running WordPress 4.7.1 with the WordPress TwentyThirteen theme. My plugin works just fine there.
Can you enable Theme TwentyThirteen and disable *all* plugins except mine?
Edit: Oh, I just noticed you are talking about a *new* Customizer? I just found what you meant. Nope, doesn’t work there, indeed. You should use via Appearance > Menus, I don’t support any other.
Kind regards,
Diana- This reply was modified 8 years, 2 months ago by Diana van de Laarschot.
Hi Lukas,
Firstly, in your testing environment, can you disable all plugins except mine? Does it work then? What theme are you running?
Secondly, you write that WordPress Menu Customizer (a different plugin than mine??) has updated, which caused my plugin’s options to be unusable. what do you mean with “the new menu customizer”? If and only if it is a FREE plugin, I can take a quick look. Please send me a download url.
Kind regards,
DianaForum: Plugins
In reply to: [Category Posts in Custom Menu] How to apply css class only to parent menu ?Hi Laurent,
thank you for your message.
I’m afraid I cannot reproduce the problem; on my test site the parent, and the parent *only* has the menu-item-has-children CSS class.Can you describe how to reproduce this problem using posts and categories?
Kind regards,
Diana- This reply was modified 8 years, 3 months ago by Diana van de Laarschot.
Forum: Plugins
In reply to: [Category Posts in Custom Menu] The plugin behaves weirdly.Hi hamzaabamboo,
thanks for your message.
Could you try disabling all plugins except mine and see if my plugin works properly then?
If they don’t work well together, there’s not much I can do.If you have disabled all plugins except mine and the problem still occurs, can you tell me how I can reproduce the problem?
Kind regards,
DianaForum: Plugins
In reply to: [Category Posts in Custom Menu] Takes a lot of spaceYou can create a pull request to https://github.com/DianaKoenraadt/WP-CPCM
Forum: Plugins
In reply to: [Category Posts in Custom Menu] Takes a lot of spaceHi websevendev,
Good suggestion.
WordPress has its plugins in SVN, so no, there’s no Git repo right now, but I can probably import it somehow. I’ll check it out.
If you have already done the change locally and the amount of code is limited, you could also copy paste it in this topic with desired line numbers mentioned and I can incorporate the change.
Kind regards,
DianaHi dlusionz,
I try to keep an eye on the WordPress forums here, but yeah the plugin was an experiment way back in the day and all I do now is keep it running by checking it against the latest WordPress version.
So anyway, in your WordPress profile you’ve indicated your website domain name. Can I reach you via info@thatdomain ?
Kind regards,
DianaForum: Plugins
In reply to: [Category Posts in Custom Menu] Stopped workingHi fulviods,
can you, for testing purposes, revert to the default WordPress theme and disable all plugins except mine?
Kind regards,
DianaOof.. erm… I don’t have the Extra source code, so this is tough.
What you can *try* is this:**Somewhere** in extra theme, there could be
add_filter( ‘wp_edit_nav_menu_walker’, SOME_METHODNAME_FROM_THEME, SOME_PRIO, 2 );
If so, try deleting that.
Basically, calling add_filter with ‘wp_edit_nav_menu_walker’ tells WordPress that you want to substitute the default walker with your own. Both my plugin and the Extra theme could be doing that. (I expect so, but I’m being careful not to make assumptions on themes.)
If not, you could consider replacing
class Extra_Walker_CategoryDropdown extends Walker_CategoryDropdown {
with
class Extra_Walker_CategoryDropdown extends CPCM_Walker_Nav_Menu_Edit {
and deleting all the code within the curly braces.
BUT, I don’t know if that will work, because I don’t know if CPCM_Walker_Nav_Menu_Edit is accessible at that point in the code…
Let me know if any of this works, ok?
Kind regards,
DianaHi dlusionz,
in version 1.0.1 of my plugin, I noted in the changelog: “Added hook wp_nav_menu_item_custom_fields for compatibility with other plug-ins adding fields to the Appearances > Menus page.” and on my website I mentioned the change back then as well: https://blog.dianakoenraadt.nl/en/2015/04/category-posts-in-custom-menu-now-works-with-wp_nav_menu_item_custom_fields-hook/
Reason: if everyone is editing the Appearance>Menus page, only the last plugin in line actually gets to edit that page.
I cannot be 100% sure, but if Extra has options for Mega Menus, then yes that could be the case. If you contact them, please let them know that by adding the aforementioned hook, they are increasing their compatibility with multiple plugins out there.
Kind regards,
Diana- This reply was modified 8 years, 5 months ago by Diana van de Laarschot.
Forum: Plugins
In reply to: [Category Posts in Custom Menu] All Posts at the end of each menu item.Hi Marcos,
right now, you do this by manually adding a Category, Tag or Taxonomy link right after or as a child of the menu item that you checked for replacement.
Kind regards,
DianaForum: Plugins
In reply to: [Category Posts in Custom Menu] Generating menu from custom fieldHi Andrew,
no, you cannot do that with this plugin.
Kind regards,
DianaHi delcour,
thank you for your message. Have you reverted to the default WordPress theme? Does that work?
Kind regards,
Diana