WordPress.org

Ready to get started?Download WordPress

Forums

How to link widget html to one or more authors (3 posts)

  1. xzoom
    Member
    Posted 9 months ago #

    Hello!

    I need to show different html widget for each author.

    Each widget should be linked to one or more author at sidebar.

    Do you know any plugin that may help me?

    Thanks a lot!

  2. lettergrade
    Member
    Posted 9 months ago #

    I don't know of any plugins, but if you are editing your own themes, you could use a conditional statement to determine which widgets are shown on each author's archive page: Conditional Tags

    If you provide more information, I could try to help a bit better:
    –url of the site
    –setup (are you editing your own theme? a child theme?)
    –where do these widgets need to appear? (single post page, author archive, etc)
    –how many authors are we talking about?
    –what is the content for the widgets like?

  3. xzoom
    Member
    Posted 9 months ago #

    Hello lettergrade,

    Yes, I'm editing my own themes, particulary I use a twenty twelve child theme.

    The widget must appear at single post page and the content is html.
    I'm talking about so many authors as the multisite network can support.

    I would like to manage different "html content boxes" and each author will can associate one from his profile.

    The rest is easy, template sidebar will show each html content linked with author.

    I don't know if there is a plugin that works in a similar way.... and save lot of time :) or if I have to program it.

    Thanks!

Reply

You must log in to post.

About this Topic

Tags

No tags yet.