Forums

Twitter Widget Pro
Username from Custom Field (2 posts)

  1. jontyh
    Member
    Posted 4 months ago #

    I've spent the best part of an evening trying to use plain text from a custom field as a twitter username.

    Can anyone identify any means to do this?

    Very simply I'd like to input the twitter username as a custom field whilst writing a page and have Twitter Widget Pro use it to display the appropriate tweets on the sidebar.

    http://wordpress.org/extend/plugins/twitter-widget-pro/

  2. Aaron D. Campbell
    Member
    Posted 4 months ago #

    Something like this would require that you pull the username from the custom field, use it to create a shortcode like this:

    [twitter-widget username="yourTwitterUsername"]

    Then pass the shortcode through do_shortcode()

Reply

You must log in to post.

About this Plugin

About this Topic