• chiossone

    (@chiossone)


    Does anyone have an idea on how I can extract into a variable the content from a sidebar widget? The API does not seem to have a way. This is what I would like to make work.
    $books = dynamic_sidebar( ‘home-book-copy’ );

    I need to be able to either separate the image that comes along with the copy. Or do a character count so I can fit it in a specific space.

    Thanks.

    [duplicate: http://ww.wp.xz.cn/support/topic/how-do-i-get-the-content-of-a-widget-or-sidebar?replies=1
    please stop to start new topics for your problem.]

The topic ‘Content from a sidebar widget?’ is closed to new replies.