Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

i have created a sidebar in my wordpress site.

i want this sidebar to be displayed on each of my pages and subpages in their respective admin editors.

i want the sidebar to contain a list of specific posts with checkboxes to select them independantly or together.

each checked post must then be displayed on my site where i call the sidebar.

is this possible? can anybody direct me towards a plugin that can accomplish this?

share|improve this question

3 Answers 3

up vote 0 down vote accepted

You can use the WordPress Settings API to do what you're looking for.

You can follow this - WordPress Settings API Tutorial ( www.ottopress.com ) to setup an options page, and depending upon the options saved in database you can show different content.

Example -

<?php
// get the stored value in variable - foo
$foo = get_option('option_name');

if ( $foo == 1 ) {
    echo 'check box in CHECKED';
} else {
    echo 'check box in NOT CHECKED';
}

Update -

Yup there's Options Framework plugin plugin which can be used for this purpose.

The Options Framework Plugin makes it easy to include an options panel in any WordPress theme. It was built so developers can concentrate on making the actual theme rather than spending time creating an options panel from scratch. It's free to use in both commercial and personal projects, just like WordPress itself.

- A Quote from plugin's description

share|improve this answer
    
sorry i am searching for something more simple and fast to implement. preferably a plugin :/ –  AronChan Aug 23 '12 at 13:18
    
Ok, there's only way I could think of is - using Settings api. You can use the Options Framework plugin to achieve that. ( See my Udpdate ) –  amit Aug 23 '12 at 14:06

I don't understand your question.

You can control what is shown in your sidebar in the widgets part of your admin module.

http://codex.wordpress.org/WordPress_Widgets

-- if not please rephrase your question.

share|improve this answer
    
i need a plugin that can control the content of my own "sidebars" on my own pages. not in the admin pages –  AronChan Aug 23 '12 at 12:13
    
what do you mean by 'own' sidebars and own pages? Still not clear, but maybe it's just me, I'll see if someone else answers here –  woony Aug 23 '12 at 12:19
    
your 'own' sidebars sounds like static html, use the widget API and define additional sidebars instead –  Tom J Nowell Aug 23 '12 at 12:49
    
i tried to rephrase my question. hope this is more understandable. thank you for the patience –  AronChan Aug 23 '12 at 13:06

I found the following plugin that are cabable of doing the job somwhat.

Its called Page Per Sidebar: http://wordpress.org/extend/plugins/per-page-sidebars/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.