danielboros
Forum Replies Created
-
Forum: Plugins
In reply to: [Co-Authors Plus] Authors' post count isn't including custom posts typesThanks for the reply – I’ll let you know if I come up with something!
Forum: Plugins
In reply to: [Co-Authors Plus] Authors' post count isn't including custom posts typesHi! I have the same problem, custom post types don’t appear for the author, not even in the authors admin page..
Did you find any solutions to this?
Forum: Plugins
In reply to: [Polylang] [Plugin: Polylang] 404 errors with /%postname%/ permalinksYou are my hero. I don’t know why I included the query_var, I guess I just copied it over from some sample code, while trying make things work..
Anyway, I’ve simplified my function and now it works like a charm:
register_post_type('wallpapers', array( 'label' => __('Wallpapers'), 'singular_label' => __('Wallpaper'), 'public' => true, '_builtin' => false, 'supports' => array('title', 'editor', 'trackbacks', 'custom-fields', 'thumbnail', 'comments') ));
I think I owe you a beer or two.
Forum: Plugins
In reply to: [Polylang] [Plugin: Polylang] 404 errors with /%postname%/ permalinksI am keeping all my slugs different. I’d like to avoid adding language information to the url.
I’ve registered my post types manually. Here’s my code:
register_post_type('wallpapers', array( 'label' => __('Wallpapers'), 'singular_label' => __('Wallpaper'), 'public' => true, '_builtin' => false, 'show_ui' => true, 'capability_type' => 'post', 'hierarchical' => false, 'query_var' => false, 'supports' => array('title', 'editor', 'trackbacks', 'custom-fields', 'thumbnail', 'comments'), 'rewrite' => array('slug' => 'wallpapers') ));
Forum: Plugins
In reply to: [Polylang] [Plugin: Polylang] 404 errors with /%postname%/ permalinksYes I’ve tried re-saving it a few times.
However I do hide the language code – i give different names to all my posts and pages in different languages. This might not be a good idea but it seemed to work out fine up to this point..
Thank you,
DabielForum: Plugins
In reply to: [Polylang] [Plugin: Polylang] 404 errors with /%postname%/ permalinksHello Chouby,
I have this problem with custom posts.
I too have /%postname%/ permalinks.
I’m getting 404 errors on all custom post type pages.For example, I have a custom post type called ‘wallpapers’, with a post called ‘time-machine’, but /wallpapers/time-machine/ throws a 404 error.
WordPress itself does have a similar problem, but none of those solutions worked for me..
Forum: Plugins
In reply to: [Polylang] [Plugin: Polylang] 0.8.4 messed it up for me..Thank you – after the update, it’s prefect again.
Let me know if I can return your help in any ways.Daniel
Forum: Plugins
In reply to: [Polylang] [Plugin: Polylang] 0.8.4 messed it up for me..Of course, I forgot:
https://tonetype.com/naplo/
this workshttps://tonetype.com/blog/
this won’t..thank you!