• I’m using the Mandigo Theme, and below the banner image, there are links to wordpress pages. Is there a way I can add a link to another site to that instead of a wordpress page? I’m thinking of adding a link to a picture gallery such as Flickr and Google Albums.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You should be able to hard-code an extra <li></li> with a link in it inside the <ul></ul> tags for that list (the one with the list_pages in it) but it would either have to be first or last in the list — you can’t put it anywhere else.

    The list would probably be in the header.php file, by the way.

    Thread Starter bebopblues

    (@bebopblues)

    So I don’t screw something up, here’s the bottom code of my header.php, where exactly do I add a link, say https://www.google/com?

    ?></span>
    <?php endif; ?>
    		</div>
    		<ul class="pages<?php echo (get_option('mandigo_headoverlay') ? ' head_overlay' : ''); ?>">
    			<li class="page_item"><a href="<?php echo get_settings('home'); ?>/"><?php _e('Home','mandigo'); ?></a></li>
    <?php wp_list_pages('sort_column=menu_order&depth=1&title_li=&exclude='.get_option('mandigo_exclude_pages')); ?>
    </ul>
    	</div>
    </div>
    <div id="main">

    You could only really put the link immediately before the </ul>.

    The link itself would look like this:

    <li><a href="https://www.google.com">Google</a></li>

    Woulden’t the redirct plugin work?

    Thread Starter bebopblues

    (@bebopblues)

    Thanks Haecceity, that works well.

    Terpsblog, where is this Redirect plugin? I did a search and could not find it.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Page links to another site’ is closed to new replies.