WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] "view site" code (6 posts)

  1. aquariachat.com
    Member
    Posted 5 years ago #

    Can some one tell me which file the link for "view site" is in on the dashboard please? i'm having trouble with it not directing properly so just want to link it to the main page

  2. whooami
    Member
    Posted 5 years ago #

    you dont want to do that. If that is not sending you to the right place, you need to investigate why -- that's symptomatic of something else, not a problem in and of itself.

  3. moshu
    Member
    Posted 5 years ago #

    If this is your WP blog:
    http://aquariachat.com/home/articles.php
    do NOT use a file that has other name than "index.php"!

  4. aquariachat.com
    Member
    Posted 5 years ago #

    moshu no its not

    whooami i do want to do that! ha ha i've asked in a previous post for help on it but there was no answer. basically its because im using a mod to link it to my phpBB forums but its not working for whatever reason. So i just want to link it directly to the blog home page now

  5. whooami
    Member
    Posted 5 years ago #

    admin-header.php:

    <h1><?php bloginfo('name'); ?><span id="viewsite"><a href="<?php echo trailingslashit( get_option('home') ); ?>"><?php _e('Visit Site') ?></a></span></h1>

  6. aquariachat.com
    Member
    Posted 5 years ago #

    Thanks for that :D

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags