Forums

Adding widgets inline - within content area? (9 posts)

  1. cazzab
    Member
    Posted 2 years ago #

    Hi
    How do i go about adding widgets into the content section of a blog rather than the sidebar? Is there a plugin for this? If not, how do you go about it?

    Any help appreciated.

  2. MichaelH
    Volunteer
    Posted 2 years ago #

    Maybe use shortcodes instead...

    One plugin that might help if you are talking about something that can be handled with template tags:
    http://wordpress.org/extend/plugins/template-tag-shortcodes/

    If not that, then a plugin to put code in a post:
    http://wordpress.org/extend/plugins/exec-php/

  3. cazzab
    Member
    Posted 2 years ago #

    Hi MichaelH

    Thanks for your response. The short codes seem to be blog specific info (I'm looking for ways to add, for example, my quote of the day or email sign up or flickr widget within a page rather than just the sidebar). Everyone & their dog has the same format - everything listed down the side.

    The plugin looks scary & seems to rely on you knowing php code - which i don't...

    Mmm

  4. MichaelH
    Volunteer
    Posted 2 years ago #

    Then configure your theme to use widget 'where ever'.

    Example:
    http://justintadlock.com/archives/2009/04/15/how-to-widgetize-your-page-menu-in-wordpress

  5. cazzab
    Member
    Posted 2 years ago #

    Thanks. I'm not sure how this is helping to put widgets inside the content area of a page though?

  6. MichaelH
    Volunteer
    Posted 2 years ago #

    I don't believe you can 'invoke' widgets inside the content area of a Page.

  7. cazzab
    Member
    Posted 2 years ago #

    ok thanks for your help. That was the gist of my original question when asking about adding inside the content section.

  8. MichaelH
    Volunteer
    Posted 2 years ago #

    Yeah I should have been more direct to begin with. Should have said, "can't do that, look at shortcodes!" ;)

  9. toddhalfpenny
    Member
    Posted 1 year ago #

    I have developed a plugin which defines a new 'widgets area' which can be included inside posts and pages through the use of a shortcode.
    See Widgets on Pages plugin.
    Note I have just committed v 0.0.2 which is simpler to use.
    Please let me know if this is helpful

Topic Closed

This topic has been closed to new replies.

About this Topic