sirux
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WordPress cant select my databaseI have lots of posts and pages there and i cannot afford losing them ..pls help
Forum: Fixing WordPress
In reply to: Capture UsernameHi,
I am quite new here. Can someone please give me a working code. Also I noticed that I can’t post on my blog.
I can login but one clicking to post comments, i need to login again and this keeps looping. Seems that it is not keeping my login name. Can anyone please help here?
Thanks
Forum: Fixing WordPress
In reply to: Capture UsernameHi All, Please find the code below. I have login on the my WP site. But on executing the code below, I am getting everything as blank. Can you please advise what’s wrong.
<?php
require(‘wp-config.php’);
global $userdata;
get_currentuserinfo();echo(‘Username: ‘ . $userdata->user_login . “\n”);
echo(‘User level: ‘ . $userdata->user_level . “\n”);
echo(‘User ID: ‘ . $userdata->ID . “\n”);
?>Output:
Username: User level: User ID:Forum: Fixing WordPress
In reply to: Need help about plugins and others…thanks you both …that helped a lot ..and much appreciated ??
Forum: Fixing WordPress
In reply to: Need help about plugins and others…Hi ??
ty so much for your help …i’m sorry to sound dumb but where do i insert the <?php the_author(); ?> . I tried inserting it in the blog post but i guess that doesnt work … i would like the name to ideally be shown on the line following the post title after the date … e.g. July 26th, 2007 by Sirux
And is there a way for me to limit the number of blog topics which show up per page? with a link to view previous entries at the bottom? or is that automatic? if it is automatic, upto how many blog topics are normally shown per page?
Thanks once again
SiruxForum: Fixing WordPress
In reply to: Garbage characters appearing at the bottom of my websitety so much for your reply ?? that helped ??