Forums

how to add blog roll page for links (3 posts)

  1. extremerecruitment
    Member
    Posted 1 year ago #

    my site is http://www.sportingjobs.org

    i have created a page called 'links'

    i want this page to be a blog roll of my links i have added under link manager

    can anyone advise what code to add to page template to make it a blog roll page

    i have copied the page.php file and named it links.php

    i am looking to add the code to show the links i have adeed to the site using the link manager in the dashboard.
    can anyone help me with what code i need to add .

    the links will appear by category below the text on the page abpve.. hopefully

    have pasted the links.php code onto http://pastebin.com/ZNQAU8Sm

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    http://codex.wordpress.org/Function_Reference/wp_list_bookmarks

    I believe you are after wp_list_bookmarks

    can be sorted in a variety of ways using the args, including by category

    if you add that after the_content, then you could add text to the page as normal, and it would be displayed by the_content. Then the links would show using the wp_list_bookmarks

  3. extremerecruitment
    Member
    Posted 1 year ago #

    Rev. Voodoo
    thanks

    have added the code

      <?php wp_list_bookmarks('title_li=&categorize=0'); ?>

    after

    <?php the_content(); ?>

    it now shows the links but not the link category as a header..

    i tried pasting the code you suggested and the page error'd

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags