Forum Replies Created
-
AuthorPosts
-
March 9, 2015 at 12:03 pm in reply to: Advanced Layout editor and custom post types after update #407983
Hi again,
Sorry for the request, it has been a fault of mine. I did not check the “has editor” field in CPT UI.
Now it is working correctly.Have a nice day!
March 7, 2015 at 12:08 pm in reply to: Advanced Layout editor and custom post types after update #407448This reply has been marked as private.thank you very much!
Hi Elliot,
thanks a lot, this did it :-)
In WordPress, I added some Fake Authors, Like “Author a & Author b” to have the possibility to set multiple persons as an author of a post.
So, when calling the author site, of course those posts of multiple authors do not appear. But I want to list those posts also.
Ist there something like
add_action( 'pre_get_posts', 'enfold_customization_author_archives' ); function enfold_customization_author_archives( $query ) { <strong>if ( $query -> is_author && ANOTHER_AUTHOR ) { $query -> set( 'post_type', 'any' ); }</strong> remove_action( 'pre_get_posts', 'enfold_customization_author_archives' ); }
Hi Elliott,
thanks for your reply. And yes, I did deactivate exlude from search, I activated the archive and also publiclyy queryable as you can see here : http://pl.vc/4z3xy . I created the custom post types with CPT UI. I already uninstalled and reinstalled it, without effort.
Regards,
fawnulm
-
This reply was modified 10 years, 4 months ago by
fawnulm.
-
This reply was modified 10 years, 4 months ago by
-
AuthorPosts