• Hello,
    I have a client that basically wants a block on their site that displays one of two lines of text.. so either “Text A’ or “Text B” and they want to just be able to log-in to the admin and select whether it displays A or B.. no jumping through hoops… just toggle one or the other.. and I need to place this in a page not in the sidebar.. any ideas? Plugin? Any help is appreciated.
    Thanks,
    Steve

Viewing 2 replies - 1 through 2 (of 2 total)
  • What is the $$ value they place on having this ability? i.e. do they want it if it is going to cost them $500.

    One idea would be to use a custom field on the page – say you call it ‘which text to show A/B’ then they could enter the value A or B. Then in the themes page.php you could test to see if the field was there and if so, is it A or B and display that text.

    Of course, each time the theme is updated this will have to be redone costing them more $$ which is why I ask how much are they willing to spend.

    Another idea would be to create two page templates with the text hard coded in it and they could select the one they wanted.

    or you could code a plugin to use a shortcode

    or experiment with an existing plugin (takes time and time = $$ – use wordpress plugin add text on page’ in google)

    One way would be to create a shortcode that uses a parameter to tell the current state. You could put the different lines of text into Custom Fields. That way the client could control everything by editing the Page.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to do a widget thats in one of 2 states depending on Admin setting’ is closed to new replies.