• Hi.

    I’ve got a links page that runs:

    <?php
    /*
    Template Name: Links
    */
    ?>

    <?php get_header(); ?>

    <div id=”bloque”>
    <div id=”noticias”>
    <div class=”entrada”>
    <h2>Links:</h2>

      <?php get_links(-1, ‘

    • ‘, ‘
    • ‘, ”); ?>

    </div>
    </div>
    <?php get_footer(); ?>

    and I want to make a link from the header.php to it.
    Hoy should i do it? If I do a complete path I get a 404 error Not Found.
    And the links.php exists in my theme folder.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The path would be something like yourdomain.com/wordpress/wp-content/themes/yourthemename/links.php

    You shouldn’t be getting a 404, but you might get a PHP error saying something like “get_hearder() isn’t defined.

    In that case you need to include the files called wp-blog-header.php, but make sure the path to the that file is correct.

    Thread Starter rubenbcn

    (@rubenbcn)

    Thanks.
    That solved it ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Links page’ is closed to new replies.