| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 2 years, 9 months |
| seen | May 10 at 14:44 | |
| stats | profile views | 388 |
|
Apr 20 |
comment |
HTML added to editor when deleting shortcodes in Chrome browser Yes, that's exactly what's happening. |
|
Jan 13 |
comment |
Can't get jQuery to enqueue into post edit script +1 diggy! That works but now my script has apparently foobarred the wordpress admin. None of the panels will toggle open/close. My script works fine though. I'm getting a console error: Uncaught TypeError: Cannot call method 'toLowerCase' of undefined. Please post your answer so I can accept it. |
|
Jan 13 |
comment |
Can't get jQuery to enqueue into post edit script I'm not trying to use my own script. I'm trying to use the wordpress copy of jquery. Unfortunately, its not working. When I replace admin_print_scripts with admin_enqueue_scripts it does not work either. |
|
Jan 13 |
comment |
Can't get jQuery to enqueue into post edit script I'm not using the $ character in my jquery code, so this is not really pertinent to the question. My problem is that jquery is not loading at all (see updated question) |
|
Oct 14 |
comment |
How to specify the “Main Sidebar” for a theme Thanks Rarst. I've updated the question with more detail. |
|
Oct 14 |
comment |
How to specify the “Main Sidebar” for a theme The only problem I have with that is that I want the sidebars to appear top to bottom in the widget area according to how they appear in the theme. So "header" is positioned higher than "sidebar". |
|
Oct 12 |
comment |
How to specify the “Main Sidebar” for a theme I'm using my own. I've updated the post with the relevant code bits. |
|
May 21 |
comment |
How to get the theme index.php listed in appearance editor My own theme. No active plugins. |
|
May 18 |
comment |
Remove ?ver= from wp_register_script @Stephen, that's the idea exactly. However, apparently some proxy cache servers will not cache resource URLs with querystring params. That's why I'm opting to encode the params in the filename instead. Same effect, less baggage. |
|
May 16 |
comment |
How to pull a list of posts in a category while exluding posts in subcategories of the category +1 for a Great answer. Thanks! |
|
May 9 |
comment |
Add tags to pages Thanks Stephen. This works! I assume there's no need to use add_meta_box('tagsdiv-post_tag', __('Page Tags'), 'post_tags_meta_box', 'page', 'side', 'low'); |
|
May 8 |
comment |
How to tell WordPress that jQuery exists on the page to avoid duplicates via wp_enqueue_scripts Ideally, if I could load all of my scripts into a single wp_enqueue_scripts call and pass a parameter so that the end result would be a single .js consisting of all of the files, that's what I'm after. I'm fine leaving the minification to 3rd party optimizers. |
|
May 8 |
comment |
How to tell WordPress that jQuery exists on the page to avoid duplicates via wp_enqueue_scripts Ah, I understand your point better then. You aren't against the theme including jQuery, just against including it in a "non standard" way (combining template scripts into a single minified file) should be left to a plugin because its functional. I can live with that as a guiding principle, but I believe there should be a way to embrace best practices in web design/dev (minimizing http requests, minifying scripts) without requiring a plugin. |
|
May 8 |
comment |
How to tell WordPress that jQuery exists on the page to avoid duplicates via wp_enqueue_scripts Several themes (mine included) feature a slider widget that requires jQuery to operate. In your opinion, should sliders that require js always be separated into a plugin? |
|
May 8 |
comment |
How to tell WordPress that jQuery exists on the page to avoid duplicates via wp_enqueue_scripts @Chip Bennett: Yes, that's correct. I'm using the core-bundled version but rather than include it as a standalone file, I'm combining it with the other scripts that my theme relies on (slider.js, webfonts.js, etc) into a single, minified .js file. |
|
Apr 21 |
comment |
Filter to remove the default password on “Your Profile” page Must be my setup then. Maybe chrome playing tricks on me. I now see it doesn't happen in FF. Only in Chrome. |
|
Jan 17 |
comment |
How to exclude categories from get_categories() select list inside a widget admin panel Thanks OleVik, but I'm not using WP_Query, I'm using get_categories(). Its supposed to be able to take an exclude argument like so get_categories('exclude=1,2,3') |
|
Jan 17 |
comment |
WP 3.3 Tooltips API? +1 for pointer demo |
|
Dec 22 |
comment |
WP 3.3 > Still no option to enable automatic image overwrites? An image that resides on your server in the same directory and with the same filename as the one you are trying to upload. |
|
Dec 13 |
comment |
WP 3.3 How to Add Menu Items to the Admin Bar? +1 Thanks. Adding 100,100 at the end of the action moves it to the right of the core menus. |