The MU forums have moved to

Add Content to Home.php (3 posts)

  1. DailyTestimony
    Posted 15 years ago #

    Maybe I am missing something here? I try to add some content to my home.php and it does not work, I added

    get_sitestats(); i've also tried echo get_sitestats(); but all it displays on the page is "array"

    I also tried adding

    eget_last_updated($display=true); and echo get_last_updated($display=true); neither will display anything

  2. andrea_r
    Posted 15 years ago #

    gotta add more to it:

    $stats = get_sitestats();
    echo "There are currently <b>".$stats[ 'blogs' ]."</b> blogs and <b>".$stats[ 'users' ]."</b> users."; ?>

    got that from searching for get_sitestats. :) (Or I could have looked up what I did on my own site, but this was faster.)

  3. DailyTestimony
    Posted 15 years ago #

    I see my lack of PHP skills has caught up with me.

    Parse error: syntax error, unexpected $end in /home/public_html/wp-content/themes/AmazingGrace/home.php on line 91

    Line 91: <?php get_footer(); ?>

    I don't see what the issue is, *bangs head*

About this Topic

  • Started 15 years ago by DailyTestimony
  • Latest reply from DailyTestimony