Diana van de Laarschot
Forum Replies Created
-
Forum: Plugins
In reply to: [Category Posts in Custom Menu] White space between the categoriesHi Ruud,
I’m sorry, I’m afraid I don’t understand what you wish to do. How do you mean “whitespace” between the categories? If you like, you can switch to Dutch and try to explain to me what you want to do..
– For whitespace in the title, use the HTML symbol & nbsp;
– If you want a menu item without title and without link, use “< /a> & nbsp;” as title.Remove the spaces after & and <.
I hope this helps. If not, please respond.
Kind regards,
DianaForum: Plugins
In reply to: [Category Posts in Custom Menu] No links output in wordpress 3.5Hi Andrew,
For me, I’m relieved that my plugin isn’t the cause 😉 But unfortunately you may experience this type of results if you are using several plugins that edit the menu. This is because WordPress only has one “hook” we can attach functions to to edit the menu, and if two plugins use the hook then they will conflict. When another plugin uses that same hook, my plugin takes lower priority, it should not do anything when another plugin uses that same hook. I’m not sure though if there are other ways that conflict can arise, through other hooks… I’ll look into that.
I will download the plugin you mentioned, and try it out myself to see where the problem occurs and if I can to anything to limit problems.
Thank you for reporting this. Marking this topic as resolved.
Kind regards,
DianaForum: Plugins
In reply to: [Category Posts in Custom Menu] No links output in wordpress 3.5I’m very sorry to hear that. I’ve immediately updated my blog to 3.5, but I experience no such problem.
Can you please perform these steps:
– Add another static link to your menu, to make sure that there are other links in the menu besides the ones generated by my plugin. (WP 3.5 changelog “No markup is output if wp_nav_menu() has no menu items”, I haven’t gotten around to inspect the code changes yet so can’t tell what influence this may have on my plugin.)
– Disable and re-enable the plugin
– Revert to the default WordPress Theme
– Disable other pluginsE-mail me (diana (a) dianakoenraadt * nl) a screenshot of your menu setup in Appearance > Menus so that I can mimic this and inspect the results.
Glad to hear you figured it out. Yes, this is how it is supposed to work, I will add a note to the FAQ later.
I did create some sample menu here: http://blog.dianakoenraadt.nl, with an explanation how the sample menu works here: http://blog.dianakoenraadt.nl/?p=5611.
My quick reply (<30 min) was a bit of a coincidence 😉 but I do try to check back here regularly.
Closing this topic now.
boowoolley, can you clarify? You state: “turns the menu item [..] into a link to the latest post”.
That implies that the plugin is doing what it should, i.e. it replaces the link to the category by a list of the posts it can find. Apparently, it finds only one post, where you expected more than one?
1. Check that you’re setting “Number of posts” to -1 to show all posts.
2. Check that there are at least two posts in that category. (Quick check via Posts > Categories and see the numbers behind your category)Kindly inform me of the status, have you ruled out the theme?
Forum: Plugins
In reply to: [Category Posts in Custom Menu] "Open link in a new window/tab" doesn't workMarking topic as resolved
Forum: Plugins
In reply to: [Category Posts in Custom Menu] "Open link in a new window/tab" doesn't workChad, thank you for reporting this and thank you for your review.
I’ve just seen your post and have immediately fixed this. The new version is tagged 0.7.1.Version 0.7 has been released.
You can now use
- %post_date for the unformatted post date: 2012-11-10 18:14:23
- %post_date() for a formatted post date with the following default formatting: November 10th, 2012
- %post_date(<your formatting here>) for custom date formatting. Example: %post_date(l jS \of F Y, h:i:s A). See http://codex.wordpress.org/Formatting_Date_and_Time for formatting options.
The same options have been added to:
- %post_date_gmt
- %post_modified
- %post_modified_gmt
Your change has been incorporated in version 0.7. Thank you for supplying it.
Version 0.7 will allow you to pass in a desired format for the post date wildcards. I’m working on fixing a few bugs as well, I’m hoping to release it tonight.
Try it with the default WordPress theme first. If that works, please check that your theme supports the hooks that my plugin uses. I can’t offer much support if the theme is the problem, because this is my first plugin and I wouldn’t know where to begin to solve theme problems..
Which theme are you using? Also, have you upgraded to the latest version of WordPress, in which issue 14527 has been fixed?
Hi, the plug-in currently does not support that, but thank you for this great suggestion! As indicated in the other thread, I’m a bit busy right now, but I’ll gladly extend the plug-in with this functionality. I’ll mark this thread as resolved as soon as I’ve implemented it.
Thank you for this suggestion. I need to test it myself and haven’t gotten around to doing that. Rest assured, I’ve seen it and will happily extend the plug-in. I’ll mark the topic as resolved as soon as I’ve implemented it. Might take a while, I’m quite busy lately. Please bear with me.