Viewing 2 posts - 1 through 2 (of 2 total) Author Posts July 18, 2012 at 2:03 pm #14487 bnmParticipant Hi, I’m trying to add an item to fill the space below the slideshow on single portfolio items. I added a custom field to the portfolio in admin and used: get_post_meta($post->ID, ‘key’, true); in loop-portfolio-single.php which worked ok when you view portfolio entry through admin. However, how do I get a similar thing to work in the ajax version? I tried adding the code to helper-templates.php, but the get_post_meta line doesn’t work, what is the correct call/id for this? Also there are threads saying instructions to wrap text around the single portfolio image exist but I can’t find them? Thanks. July 22, 2012 at 8:35 am #83658 DudeKeymaster Hey, Instead of: get_post_meta($post->ID, 'key', true); Try to use: get_post_meta($id, 'key', true); This code will only work in the avia_check_ajax_request() function which can be found in helper-templates.php Author Posts Viewing 2 posts - 1 through 2 (of 2 total) The topic ‘Single portfolio – Add text/image below slideshow?’ is closed to new replies.