Hardcode with Custom field
-
Hi Stefan,
Love this slider! It really works like a charm.
I have a question regarding hardcoding and custom fields. So I am fairly new to php, and I am trying to work out how to hardcode the gallery into my php, and then call up a specific gallery using custom fields. I am currently using a different gallery to do this, however it tends to lag when the page loads and could be a lot better.
The hardcode for the gallery I am currently using is:
<?php $gallery = get_post_meta($post->ID, 'gallery', true); ?> <?php $gal = $gallery; $gal = apply_filters('the_content', $gal ); echo $gal; ?>
Is there anyway to do this?
Thank you very much for any help or advice!https://www.ads-software.com/extend/plugins/slideshow-jquery-image-gallery/
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Hardcode with Custom field’ is closed to new replies.