options_data

This function prints the value of saved theme options and other Runway specific data including extensions using core Runway data structures. Saved theme options created with the Options Builder can be printed with this function. If you want to return the value use get_options_data().

Sample use

<?php options_data( $key, $option, $default ); ?>

Parameters

See get_options_data() for parameter reference.

Examples

<?php

// Print value of a single Options Builder field.
echo '<h3>Our Goals</h3>";
options_data( 'theme-info', 'mission-statement' );

// Print "Read more" link with custom text and default fallback. 
?>
<a href="<?php the_permalink(); ?>"><?php options_data( 'blog-options', 'more-text', 'Read more...' ); ?></a>

Create a Note

Google+