Nested php function help!
-
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)
Thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Nested php function help!’ is closed to new replies.