romanczar
Forum Replies Created
-
Forum: Alpha/Beta/RC
In reply to: Using year/month/day permalinks with custom post typesI simply put the following code in my singe.php to be able to switch post_types
if ( have_posts() ) while ( have_posts() ) : the_post(); // post is a news item if (in_category("news")) include("single_news.php"); elseif (in_category("blog")) include("single_blog.php"); else include("single_standard.php"); endwhile; // end of the loop.
Forum: Plugins
In reply to: [Custom Post Permalinks] [Plugin: Custom Post Permalinks] Archive Tempaltes?That worked! Thanks!
Small hickup: no daily archives, but no problem for me.
Big question: how can I use custom templates now for these post types…. will have to play a lot I guess
Forum: Plugins
In reply to: [Custom Post Permalinks] [Plugin: Custom Post Permalinks] Archive Tempaltes?Sorry… I should have checked before writing, but I actually HAVE
/blog/%year%/%monthnum%/%blog%
So the code is correct. And also the normal post link works.Only monthly archives don’t… I could live with that, as long as there was no 404…
Forum: Plugins
In reply to: [Custom Post Permalinks] [Plugin: Custom Post Permalinks] Archive Tempaltes?No multisite.
Permalink desired would be domain.com/blog/2010/09/blog-post-name
Permalink for “normal” posts is similar, but /%category%/%year%/%month%/%postname%/
Forum: Plugins
In reply to: [Custom Post Permalinks] [Plugin: Custom Post Permalinks] Archive Tempaltes?Hm… that is a pitty…
Another question: I can get the yearly archive to load. I have a custom child theme based on 2010 base. But: only yearly archives work, no monthly archive. I just added 1 custom post entry, but I guess that should not be the point. I get a 404 when e.g. calling “../blog/2010/09” where “blog” is my post type. “…/blog/2010/” works fine. Any idea?
Forum: Alpha/Beta/RC
In reply to: Using year/month/day permalinks with custom post typesQuestion: What do you feel about having a custom post type “faq”. Each single “faq item” would get certain categories, which are equal to a product(-name).
Each product has its own subarea in the pages, and among the subpages for the product is a PAGE called “faq”. Can that create any problems?
Forum: Fixing WordPress
In reply to: Google and wp-login.phpDid you find the perfect robots.txt file settings?
Anyone knows anything form the author? future plans etc?
Forum: Everything else WordPress
In reply to: Edit own postsSorry, I was talking about THIS forum. Seems like after a while you can’t edit your posts any more…
Forum: Fixing WordPress
In reply to: wp rewrite and custom RSS feedMe too. Feed works, but rewriting fails…
Forum: Fixing WordPress
In reply to: How to disable Comments Feed in WordPress 3 TwentytenI am still looking for a solution to this… Anyone?
Forum: Themes and Templates
In reply to: Captions in custom fieldsis it really that easy?
If
$custom_field_value
contains my text with the captions code, I just put
echo $do_shortcode($custom_field_value)
???Forum: Alpha/Beta/RC
In reply to: Using year/month/day permalinks with custom post typesIs there no solution to this? I would like to have my NEWS split form my BLOG. I thought I use a NEWS custom post type, but of course I wanted the /news/YEAR/MONTH/postname structure…
No solution?
Forum: Fixing WordPress
In reply to: Not all drafts show up on DashboardHm… looked into the admin code, but I don’t want to mess with it as I would probably loose changes when updateing.
Any ideas?
Forum: Fixing WordPress
In reply to: A plugin to Duplicate and Rename a Custom FieldCan I adda question??? How could I use some SQL to change thr PREFIX of my custom fields? e.g. vom “pd_cf_xyz” to “cf_xyz”, where xyz is along list of different values…. So I assuem some regex woudl be needed?