A little nested php question:
I want to retrieve wordpress bookmarks with a certain category:
<?php wp_list_bookmarks('title_li=&category_name=CUSTOMFIELD-ISSUE'); ?>
and this category will be set on posts with the custom field ‘issue’:
<?php global $wp_query; $postid = $wp_query->post->ID; echo get_post_meta($postid, 'issue', true); ?>
How do I merge these two functions? My php-writing needs work, I know ;O)
- The topic ‘Nested php function help!’ is closed to new replies.