Have the option to use a TinyMCE (or equivalent) editor when inserting text widgets into a layout via the design / widgets section of the admin.
Have the option to use a TinyMCE (or equivalent) editor when inserting text widgets into a layout via the design / widgets section of the admin.
It can be done another way... without widgets - this is how i do it... essentially you display a normal specified post (post # 221 in this case) depending on whether or not the custom field 'sidebar' has the custom field 'sidebar' activated on that post...
<?php $recent = new WP_Query("p=221"); while($recent->have_posts()) : $recent->the_post();?>
<?php if( get_post_meta($post->ID, "sidebar", true) ): ?>
<div class="newsletter">
<h2><?php the_title(); ?></h2>
<?php the_content(''); ?>
</div>
<?php else: ?>
<?php endif; ?>
<?php endwhile; ?>
There's a plugin that does this.
logangreer, wouldn't it be nice to tell us which plugin it is?
This topic has been closed to new replies.