WordPress.org

Ready to get started?Download WordPress

Forums

If custom field X show wp_list_bookmarks id Y (1 post)

  1. EntarteteMuzak
    Member
    Posted 5 years ago #

    I'm trying to make a page template that allows me to add a custom field with a ID-number pointing to a link category and then display that link category on the page.

    This did not work:

    <ul>
    <?php wp_list_bookmarks('category=<?php $key="Linklist"; echo get_post_meta($post->ID, $key, true); ?>&show_description=1&title_before=<h3>&title_after=</h3>'); ?>
    </ul>

    Any suggestions?
    Would be great if the script supported multiple instances of wp_list_bookmarks and Linklist custom field.

Topic Closed

This topic has been closed to new replies.

About this Topic