| bio | website | twitter.com/julien_c |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 2 years, 1 month |
| seen | Sep 6 '12 at 17:58 | |
| stats | profile views | 8 |
|
May 15 |
comment |
Programmatically add a Navigation menu and menu items Sorry it took me such a long time to check that it worked in my case. Answer accepted! Also, you're defining custom links menu items, I've added an answer below to define page links (which will be more robust to URL changes, for example). |
|
Apr 16 |
comment |
Add multiple plugin directories @StephenHarris Please see my use case here: wordpress.stackexchange.com/questions/46364/… |
|
Apr 11 |
comment |
Get page link from slug? Why would that be better? Can you explain? |
|
Mar 28 |
comment |
Add multiple plugin directories This is really great. It would be even cooler if we could this as a library inside a Theme (see my comment on Github: github.com/chrisguitarguy/WP-Plugin-Directories/issues/4) |
|
Mar 27 |
comment |
Is the current Theme version number cached somewhere? Great answer, thanks! I'll actually just cache it in-process using a PHP static variable (I mostly just not want multiple file parsings for each page view). |
|
Mar 22 |
comment |
Are drop-in plugins a product of design Thanks! Please do :) |
|
Mar 21 |
comment |
Plugin (or Theme) containing its own Plugins? I had seen that and it looks great, but I'm not sure it suits my use case: in my case, I want to include plugins but not actually activate them, unless the user explicitly activates them. They're not actually *plugin requirements$. |
|
Mar 21 |
comment |
Plugin (or Theme) containing its own Plugins? I won't be waiting for it, but it can help me decide between recoding the wheel or base my code on something that might one day be officially supported :) |
|
Mar 21 |
comment |
Plugin (or Theme) containing its own Plugins? Great points. I had actually seen the (impressive) answer you linked to (probably in a weekly digest mail one or two weeks ago) but had deemed it as too complicated... But it might not be that bad after all. And if I understand correctly, it may end up in core, right? |
|
Mar 21 |
comment |
Are drop-in plugins a product of design I don't necessarily agree with this answer, for example in the case of Plugins that are specific to a certain Theme (where both are actually written by the same person, but plugins kept as plugins for modularity -- see also my question: wordpress.stackexchange.com/questions/46364/…) |
|
Mar 21 |
comment |
Add Plugins to Wordpress Theme Interesting! Do you have any example of an open source Theme that uses it? Thanks! |
|
Mar 16 |
comment |
How to create a specific frontend URL (not a Page) from a theme or plugin? @toscho Great article, thanks. |
|
Mar 15 |
comment |
How to create a specific frontend URL (not a Page) from a theme or plugin? Finally got to try it, and it answers my needs perfectly. Only thing that was not obvious (at least to me) in the doc page is that you should actually replace my_action in the hook name itself (wp_ajax_my_action) by your own string. For the sake of completeness with respect to the question, is there a way to create custom frontend URLs? Should I create a "fake page" and add a specific template file? |
|
Mar 10 |
comment |
Creating a table in the admin-style? I think this should be the accepted answer. Also see this article in Smashing Magazine that articulates a similar approach: wp.smashingmagazine.com/2011/11/03/… |
|
Mar 7 |
comment |
How to create a specific frontend URL (not a Page) from a theme or plugin? I had stumbled upon this article, but was unsure whether this was what I was looking for. I will read it in more detail and post my findings -- thanks! |
|
Mar 7 |
comment |
How can I test how fast or slow my wordpress website it? Great answers below, but my personal guess would be that your hosting service is not that great. What kind of hosting do you serve the blog from? |
|
Mar 7 |
comment |
Programmatically add a Navigation menu and menu items I just want to actually test it in real life so I'm sure it does what I want. I'll remember to mark it as solved as soon as I'm done! |
|
Mar 7 |
comment |
Programmatically add a Navigation menu and menu items I didn't know about this function. Yes, I guess it will make the above code much shorter. I guess I should move beyond the Codex and dive into the actual code, as I find that the API functions are often, like in this case, too low-level. Thanks! |
|
Mar 6 |
comment |
In the Wordpress admin, how can I find out which page (themes.php, widgets.php, etc.) I'm on? I meant admin_head works. For some reason, admin_menu does not seem to work. Thanks! |
|
Mar 6 |
comment |
In the Wordpress admin, how can I find out which page (themes.php, widgets.php, etc.) I'm on? Which action do you hook it to? I tried hooking it up to admin_init, but apparently global $current_screen; is still unset at that point. |