Forums

Get the content of a widget (1 post)

  1. dbmartin
    Member
    Posted 2 years ago #

    Does anyone know of a way to get the content of a text widget as a variable to use in a php script?

    For example, adding a text widget to the sidebar with a title of "Terms and Conditions". Does anyone know how to call that widget and get its contents?

    the_widget() doesn't seem to pull text widgets.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.