Could someone please give me a clue how to add a custom field php code to jQuery? I need to add:
<?php $key="price"; echo get_post_meta($post->ID, $key, true); ?>
at the begenning ot this search result:
renderedResult += '<a href="' + searchResult.permalink + '">' + searchResult.post_title + '</a>';
Thanks a lot for any help!
- The topic ‘[Plugin: Dave's WordPress Live Search] Custom field in front of title’ is closed to new replies.