WordPress.org

Ready to get started?Download WordPress

Forums

echo widget contents? (4 posts)

  1. taghaboy
    Member
    Posted 3 years ago #

    is it possible to echo the title and the message of a widget in a theme?
    if yesn how?
    thanks

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    In what way "echo"? Wouldn't a simply widget-capable area in the template work?

  3. taghaboy
    Member
    Posted 3 years ago #

    yes i know, but i like to play with the widgets to achieve my need,her the exemple (w w w. k a s b a h l o c - i m m o . c o m)

    in the home page, i set a div like this:
    title (the customer can change it any time in widget area)
    photo (only the developer who can change it)
    content (the customer can change it any time in widget area)

    so i'd like to catch with the echo the data i want to show.

    Hop u understand my English ;)

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    If it's a custom widget, then perhaps you could use the Shortcode API to drop the widget's content onto a page?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags