corkstudentnews
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Logged in as username — how to?For anyone who cares/ might find this useful for future reference, the complete code I inserted into the head is:
<?php if (is_user_logged_in()) { $user = wp_get_current_user(); echo 'Welcome, <strong>'.$user->display_name.'</strong> '; echo '| <a href="https://www.corkstudentnews.com/wp-admin/post-new.php" target="_blank">Write a Post </a>'; echo '| Edit <a href="https://www.corkstudentnews.com/wp-admin/profile.php" target="_blank">user profile </a>'; echo '| <a href="https://www.corkstudentnews.com/wp-login.php?action=logout" >Logout</a>'; } else { ?> <b>Hi visitor!</b> Please <b><a href="https://www.corkstudentnews.com/wp-login.php?redirect_to=/">login</a></b> to write a post</strong> or <b><a href="https://www.corkstudentnews.com/wp-login.php?action=register" target="_blank">register</a></b> to become a member. <?php } ?>
Forum: Fixing WordPress
In reply to: Logged in as username — how to?Problem solved but I just wanted to show the answer in case anyone else was interested.
Hi,<?php global $current_user;
get_currentuserinfo();
echo ‘User first name: ‘ . $current_user->user_firstname . “\n”;
?>would be the first bit.
Forum: Fixing WordPress
In reply to: Old CSSah ok i guess ill just have to get with the times and upgrade then. no point hanging around on 2.9 for too much longer!!!
Forum: Fixing WordPress
In reply to: Old CSSthanks esmi,
i’m absolutely crazy for the little things though and its not the same in the old one (even blue).
i know this seems ridiculous but its a fairly big website and i spend about 1-2 hours every day of my life working in the backend I want it to look the way i want it to!!!!
so to come back to my original question would there by any way of exporting the 2.9’s admin css file and uploading it to the 3.0 install?
Forum: Plugins
In reply to: [Plugin: Number My Post Pages] Some positive feedback for developerthanks – worked
Forum: Fixing WordPress
In reply to: Automatically add content in category posts.understand the php but where do i add it to?
Forum: Fixing WordPress
In reply to: Automatically add content in category posts.ooh looks fancy. thanks
Forum: Plugins
In reply to: [Plugin: Number My Post Pages] Some positive feedback for developerhey,
i don’t have a dashboard admin panel in my version of wordpress for somee reason, so my only way of editing the plugin is via the code.
i’m trying to get ride of the dropdown but it’s not working. do you know what code I have to take out?
Forum: Fixing WordPress
In reply to: cumulative postshi esmi,
Could you explain that in a bit more detail please; I’m not the webmaster of the site but have admin access and a good working knowledge
Forum: Fixing WordPress
In reply to: Automatic Paginationhey zeo, thanks for writing back. yeah the weird thing is that i’ve tried that and it makes no difference? as in when i delete the wp_links_pages() alltogether it’s still there?
Forum: Fixing WordPress
In reply to: Automatic PaginationPagination links (pages within a post) are appearing both at the top and bottom of my posts. Is there any way to delete the top instance and leave the bottom.
Forum: Fixing WordPress
In reply to: Automatic Paginationyeah I know how to paginate posts but to make it so that every post automatically paginates without any user intervention after, say, a specific word-count?