Template Customfield
-
Hallo,
i’d like to bring this to things togehter.<?php $key_1_value = get_post_meta( get_the_ID(), 'wahlkreis', true ); // check if the custom field has a value if( ! empty( $key_1_value ) ) { echo $key_1_value; } ?> <?php echo do_shortcode('[eventlist categories="1,2,3"]') ?>
The key gives me the correct variable 10 and this is the category.
Please help me and sorry for my bed english.
- The topic ‘Template Customfield’ is closed to new replies.