Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter sirux

    (@sirux)

    I have lots of posts and pages there and i cannot afford losing them ..pls help

    Forum: Fixing WordPress
    In reply to: Capture Username
    Thread Starter sirux

    (@sirux)

    Hi,

    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 Username
    Thread Starter sirux

    (@sirux)

    Hi 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:

    Thread Starter sirux

    (@sirux)

    thanks you both …that helped a lot ..and much appreciated ??

    Thread Starter sirux

    (@sirux)

    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
    Sirux

    Thread Starter sirux

    (@sirux)

    ty so much for your reply ?? that helped ??

Viewing 6 replies - 1 through 6 (of 6 total)