• I am developing a WP 3.0 site for a client. I have Admin privileges to configure the site, and I have given the client an Editor account so they can create/edit posts and edit pages, but not change more fundamental settings.

    There is one blog-like page with a sidebar, which includes the Text widget. I’d like the user to be able to update the text is in this widget, but that falls under Admin privilege.

    What would be the best technique to give the Editor the ability to change content? I’d like not to let them edit widgets/sidebars. I guess if there was a widget that displayed the contents of a specified post (or a post of a specified category), that would do it: the Editor could update a designated post to customize the widget.

    Or I could edit the sidebar code directly, and load in the post directly.

    Any suggestions?

    thanks

Viewing 1 replies (of 1 total)
  • Thread Starter oxfordian3

    (@oxfordian3)

    I found my solution, so no response needed.

    I am using the “twenty ten” theme. I edited sidebar.php and added custom code to look for a post with a specified Tag. If it exists, then I output the Title and Content (using same CSS as used for the Text widget). Works great.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Widget containing specified Post’ is closed to new replies.