Viewing 1 replies (of 1 total)
  • Hi stear, thanks for sharing 🙂

    In the development version, there is a new action hook “xmlsf_news_tags_after” which will allow you to append your own news tag without having to modify the plugin files.

    Put this in your own plugin or in your own theme’s functions.php:

    add_action('xmlsf_news_tags_after','my_stock_tickers');
    
    function my_stock_tickers() {
    	global $post;
    	$stock_tickers = get_post_meta( $post->ID, 'stock_tickers', true );
    	if ( !empty($stock_tickers) ){
    	?>
    			<news:stock_tickers><?php echo $stock_tickers; ?></news:stock_tickers>
    <?php
    	}
    }

Viewing 1 replies (of 1 total)

The topic ‘Add stock tickers’ is closed to new replies.