I am trying to use the custom fields system to display a full screen background image that changes with each slide. Unfortunately I can’t seem to get anything from the custom fields within the anything slides custom post type.
Field name: “bg_images” and value: “img url”
Code inserted into template footer for testing :
<?php echo get_post_meta($post_id, "bg_images", true); ?>
This works fine for regular posts, but it doesn’t display anything for the AnythingSlides custom post type.
I’m using this bit of code, and just can’t get it to work… could someone help me out? This plugin is amazing in a lot of ways and i’d really like to be able to use it.
- The topic ‘[Plugin: AnythingSlider for WordPress] Get custom field values for anything_slides’ is closed to new replies.