WordPress.org

Ready to get started?Download WordPress

Forums

Black Studio TinyMCE Widget
[resolved] Hard-code Black Studio TinyMCE Widget into sidebar? (2 posts)

  1. figure2
    Member
    Posted 2 years ago #

    I have a few widgets which for design reasons I have hard-coded into my sidebar. For instance, the paypal simple shopping cart is added via <?php echo print_wp_shopping_cart() ?> inside the widgets loop.

    Is there a similar method to add the Black Studio TinyMCE Widget? This allows me to position each widget inside an unordered list which can be styled separately.

    Thanks,
    Mark Hannon

    http://wordpress.org/extend/plugins/black-studio-tinymce-widget/

  2. Marco Chiesi
    Member
    Plugin Author

    Posted 2 years ago #

    If you want to show one or more widgets in specific places and also keep the widgets editable in the WP admin, I think it is better to create as many additional sidebars as needed, and display them in the desired position of the page using the function dynamic_sidebar. When you register a sidebar you may customize the markup.

    There's also the function the_widget, which displays a specific widget, but in that case you have to pass the title and text as parameters, so there's no real advantage over the classic text widget.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic