WordPress.org

Ready to get started?Download WordPress

Forums

Show link manager category (2 posts)

  1. pauljohns
    Member
    Posted 7 years ago #

    Hello everyone.

    I'm building a new template for my blog, and I need some help in coding something with links manager, please.

    I have a few different link categories in my links manager.
    I have it set to display 5 random links from random categories. So, for example, the front page will display a link from category A, a link from category C, and maybe 3 links from category D, and each time the page is reloaded, it randomizes categories and links and displays 5 random links again.

    All I want to add to this is the ability to somehow pull the category name and add it to each link displayed. Here's an example:

    Random Link 1
    Link description goes here.
    In category: Videos

    Random Link 2
    Link description goes here.
    In category: Food

    Random Link 3
    Link description goes here.
    In category: Design

    I hope this makes sense. I just want a random list of links, but no matter how they are displayed I want people to know what type of link it is, based on category description.

    Thank you very much to anyone who can help.

  2. pauljohns
    Member
    Posted 7 years ago #

    bump.

Topic Closed

This topic has been closed to new replies.

About this Topic