If admin is signed in….show..
-
Hi,
I am creating a template based on the default and I have added the Twitter-Tools plugin.
Instead of having the widget on the sidebar, I have added my latest update in a ticker in the header and also added a “Post Tweet” text input box in the header.
What I need to do, is make it so that the box ONLY shows when Im (the admin) signed in.
Below is what I need to show when signed in, I want nothing to show when not signed in. ANy help appreciated.
<div id="tweetform"><form action="https://www.your-images.info/wordpress/index.php" method="post" id="aktt_tweet_form" onsubmit="akttPostTweet(); return false;"><fieldset><input type="text" size="18" maxlength="140" id="aktt_tweet_text" name="aktt_tweet_text" onkeyup="akttCharCount();"/><input type="hidden" name="ak_action" value="aktt_post_tweet_sidebar"/><span id="aktt_char_count"></span></fieldset></form></div>
I would also like to add that at the moment, the tweet will only submit if I am signed in. But I want it to dissapear when I am not signed in.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘If admin is signed in….show..’ is closed to new replies.