aw2
Forum Replies Created
-
Forum: Networking WordPress
In reply to: How to hide posts of other users?Hi David,
Thanks.
But I want more capabilities for the user’s than an author. I use the User Role Editor plugin for this. Works excellent, but somehow it’s not possible to hide others posts.
With the “Peter’s Login Redirect”-plugin it’s possible to redirect a user to their own post. This works pretty fine as well but it would be the best if it’s possible to hide with adminimize.Thanks you!
Forum: Fixing WordPress
In reply to: Restricting Users to View Only their own Media Library ItemsHi Bruha,
Thank you very much for your reply.
I’ve tried your plugin, but I get 2 problems:
1) the plugin-code is visible on the top of my website
2) my admin is gone. If I go to https://www.mydomain.com/wp-admin/ looks like this on my screen:_______________
<?php /* Plugin Name: Manage Your Media Only Version: 0.1 */ //Manage Your Media Only function mymo_parse_query_useronly( $wp_query ) { if ( strpos( $_SERVER[ 'REQUEST_URI' ], '/wp-admin/upload.php' ) !== false ) { if ( !current_user_can( 'level_5' ) ) { global $current_user; $wp_query->set( 'author', $current_user->id ); } } } add_filter('parse_query', 'mymo_parse_query_useronly' ); ?> Warning: Cannot modify header information - headers already sent by (output started at .../wp-content/plugins/manage_your_media_only.php:9) in .../public_html/wp-includes/pluggable.php on line 890
_______________
I deactivated all other plugins.
Am I doing something wrong.
I really appreciate your help.Thank you very much in advance!
ArthurForum: Themes and Templates
In reply to: hide ‘uncategorized’ in list of post’s categoriesHi there,
I’m using the excellent paragrams theme for my blog.
I want to hide certain categories from the metadata. I tried hard to do what’s described here in the forum, but it doesn’t seem to work.Here’s my code from the theme:
<div class=”postmetadata”>
<?php printf(__(‘%s’), get_the_category_list(‘ | ‘)); ?> ˑ
</div>Any help is very much appreciated.
Thanks!Arthur