WordPress.org

Ready to get started?Download WordPress

Ideas

TinyMCE or similar tool for text widgets

  1. gryffonx
    Member

    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.

    Posted: 5 years ago #
  2. Pete
    Member

    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; ?>
    Posted: 5 years ago #
  3. logangreer
    Member

    12345

    There's a plugin that does this.

    Posted: 5 years ago #
  4. Llasse
    Member

    12345

    logangreer, wouldn't it be nice to tell us which plugin it is?

    Posted: 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    2 Votes
  • Status

    This is plugin territory