Diana van de Laarschot
Forum Replies Created
-
Forum: Plugins
In reply to: [Category Posts in Custom Menu] Post in multiple categories does not showHi generalgumus,
I have a test website that shows posts in multiple categories just fine. (There is no implementation difference between PHP 5.4 and 7.0, so ruled that out.)
Can you give me a step by step plan to reproduce this problem (starting from a basic WordPress installation with only my plugin installed)?
Kind regards,
DianaForum: Plugins
In reply to: [Category Posts in Custom Menu] Doesn’t work for custom hierarchical postsHi phoenixobia,
you’re right, my plugin does not do anything with this.
It only works on categories/taxonomies and does not handle hierarchy.
I do not plan to support this.Kind regards,
DianaForum: Plugins
In reply to: [Category Posts in Custom Menu] Remove date and comment sectionHi Mike,
I’m surprised you had to go into the plugin code to do this… I really wonder at what Max Mega Menus does under the hood, because my plugin never forces the comments or date sections into the menu, it’s all based on what is entered in Appearances > Menus.
Anyhow, glad it worked for you!
Kind regards,
DianaForum: Plugins
In reply to: [Category Posts in Custom Menu] Remove date and comment sectionHi Mike,
I’m not sure what Max Mega Menus does here.
For category posts in custom menu, you can use HTML markup to make the headline bold.
To not show the date and comment section, you would simply refrain from using %post_date and %post_comment_count wildcards.
Kind regards,
DianaForum: 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 9 years, 4 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 9 years, 5 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,
Diana