• Hello,
    I just installed WP on my server and can anyone tell me why the contributor link points to contact.php? Here’s the entry:

    Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!
    Filed under: Uncategorized �? Administrator @ 2:16 am

    If you click on “Administrator” it will go to a contact.php file which is not found. I’m using the “Very Simple” template. Any ideas?

Viewing 9 replies - 1 through 9 (of 9 total)
  • First, this can’t be the Very Simple theme I’m aware of, as it does not provide a link for the author. But besides that, what does the theme’s index.php source show at that point? This is what my copy of it has:

    <div class="meta"><?php _e("Filed under:"); ?> <?php the_category(',') ?> &#8212; <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(__('Edit This')); ?></div>

    Thread Starter sfoasis

    (@sfoasis)

    Here’s what mine shows:
    <div class=”meta”>Filed under: Uncategorized<b>Administrator</b> @ 3:36 pm Edit This </div>

    Kaf is looking for the code that is in your wp-content/themes/yourthemename/index.php file.

    Thread Starter sfoasis

    (@sfoasis)

    How do I show the code without executing it?

    Just read below the text input area: use backticks (it’s usually on the top left key where [~] sits)

    Use your admin panels Presentation->Theme Editor to look at index.php.

    See: Administration_Panels#Theme_Editor

    Thread Starter sfoasis

    (@sfoasis)

    Here is the code again:
    <div class="meta">Filed under: <a href="http://www.popgossips.com/?cat=1" title="View all posts in Uncategorized" rel="category tag">Uncategorized</a> — <a href='contact.php'><b>Administrator</b></a> @ 3:36 pm <a href="http://www.popgossips.com/wp-admin/post.php?action=edit&amp;post=2">Edit This</a> </div>

    Yep that’s your problem so change it to what Kaf posted above.

    Thread Starter sfoasis

    (@sfoasis)

    Thank you all, it worked!

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

The topic ‘Link pointing to contact.php’ is closed to new replies.