Change description

  • Hi!

    A question: there’s a way to show, with %TEXT% message format, the description of “All in one seo” for every post?

    Usually, I insert the All In One Seo’s description of a post with this:

    <?php if(function_exists('aiosp_meta')) : ?>
    				<?php $description = stripcslashes(get_post_meta($post->ID, '_aioseop_description', true)); ?>
    				<?php if(!empty($description)) : ?>
    						<div id="text_content">
    							<p> <?php echo $description; ?></p>
    				<?php endif; ?>
    			<?php endif; ?>

    How can I show this description with %TEXT% message format? Thanks!


  • The topic ‘Change description’ is closed to new replies.
Skip to toolbar