| bio | website | |
|---|---|---|
| location | Belgium | |
| age | ||
| visits | member for | 1 year, 7 months |
| seen | May 15 at 12:01 | |
| stats | profile views | 36 |
|
Apr 23 |
suggested | suggested edit on implement separate templates for 1 post type |
|
Apr 23 |
accepted | implement separate templates for 1 post type |
|
Apr 23 |
comment |
implement separate templates for 1 post type Already found the fix: just had to add exit() after the include, this prevents the original template from being loaded. |
|
Apr 23 |
comment |
implement separate templates for 1 post type Could be a good workaround indeed, thanks for the suggestion. I prefer the solution by Rajeev, however, it's a bit more elegant - no need for extra post types... |
|
Apr 23 |
comment |
implement separate templates for 1 post type Also - just for future reference - I had to change $wp_query->post_type to get_post_type() to make it work... |
|
Apr 23 |
comment |
implement separate templates for 1 post type that seems like a perfect solution, thanks for pointing me to 'template_redirect', never heard of it. just one issue: for some reason, the original course template file (single-course.php) is appended after the closing body tag - I suppose I also have to 'exclude' this template file in some way - any idea how to to this? |
|
Apr 23 |
revised |
implement separate templates for 1 post type typo... |
|
Apr 23 |
asked | implement separate templates for 1 post type |
|
Mar 21 |
comment |
Meta query - How to display a null meta key thanks for sharing, works like a charm, indeed! (mind the comma's after 'numeric' and 'null' though...) |
|
Feb 23 |
comment |
Moving wordpress to an unknown outlet Works like a charm, indeed! |
|
Jan 27 |
awarded | Popular Question |
|
Oct 3 |
awarded | Yearling |
|
Aug 23 |
accepted | How to allow empty title for attachments? |
|
Aug 23 |
comment |
How to allow empty title for attachments? That makes more sense, indeed. I'll accept your answer, since it perfectly explains why the title is mandatory... Thanks! |
|
Aug 23 |
comment |
How to allow empty title for attachments? thanks, that could be a workaround - but i prefer a 'cleaner' solution, since it's for a client... |
|
Aug 23 |
comment |
How to allow empty title for attachments? Can you provide me with a reference to a blank title being a violation of html spec? I don't really think that's true - a title tag is not an alt tag... From the HTML5 spec: "The title attribute can be used for supplemental information." I agree, however, about your comment about not having a title to click on in the UI - I hadn't thought about this, that's a good explanation of why the title field is mandatory. Maybe I'll just use the Alt field instead of the Title field... |
|
Aug 23 |
asked | How to allow empty title for attachments? |
|
Aug 23 |
accepted | wp_enqueue_scripts, wp_register_scripts, wp_print_scripts: i'm confused |
|
Apr 30 |
comment |
Moving wordpress to an unknown outlet just for future reference: since a couple of months i'm using the wonderfull backupbuddy plugin for all wp migration - it's not free, but it saves me loads of time - and offers lots of other pretty interesting features (eg. automatic offsite backups) |
|
Feb 1 |
answered | How to Get a List of Sub Blogs without Using get_blog_list()? |