Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I would like to keep logged in Users who can write and edit their own posts from seeing the Permalink/Shortcode for the post (located under the Title field). I've been able to cut out other features but can't figure this one out.

Any ideas?

share|improve this question

2 Answers

There're two functions: is_user_logged_in() && current_user_can('capability_type') that will help you to acchieve this.

share|improve this answer

Thanks for answering. But what you told me I already understand. I should have mentioned that I know how to write the function. I don't know, however, what the tag or name is for the Permalink/Shortcode section. Any idea what that may be?

share|improve this answer
fyi- you should post responses to answers as comments, that way the person who answered will get your message in their inbox. if you have additional details relating to your question you can edit your original question. answers should be reserved for posts that answer the question. – Milo Sep 5 '11 at 5:44
OK. Umm...I only see "link" and "edit". Am I missing something? I can, obviously, comment on this, my own answer. ?? – Chad Sep 6 '11 at 0:45
hmm, maybe stackexchange doesn't let you comment on other answers if you're below a certain rep? that's... odd. the way this place works can be confusing at times. – Milo Sep 6 '11 at 1:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.