Remove content currently unavailable

Hi,
Is it possible to remove the text that appears

"This content is not currently available. It will be available in: 2 Days, 8 Hours, 28 Minutes, 33 Seconds"

I want to use the plugin on a radio show, it will rotate the names of the DJ's depending the day of the week, time etc. But I don't want the other not to show.

Perhaps there is a plugin that can publish posts on a weekly or hourly basis.

Thanks in advance.

    DavidM

    Hi tinsterman,

    There's not a way to remove that text without editing the plugin's core code. On line 129 of scheduled-content.php is where that message is defined, though it's not something we'd recommend changing unless you're comfortable with coding.

    I'm not aware of any other plugins like this that let you publish at timed intervals myself, I'm afraid.

    Cheers,
    David

    Ian

    Hi, I hope someone can help out on this issue, what exactly on Line 129 do I edit.

    $msg = ($onetime && $end <= time()) ? __("This content is not currently available.", 'sc') : __("This content is not currently available. It will be available in:", 'sc');

    I can get rid of the text with css, but because I'm using css with a coloured background, i get what is left to disappear as it has the same div id and the current one. I will end up have 6 different.

    Any other ideas via css?

    Ian

    aecnu

    Greetings Ian,

    You would simply remove or replace with the text of your choice of the below highlighted text:

    $msg = ($onetime && $end <= time()) ? __("This content is not currently available.", 'sc') : __("This content is not currently available. It will be available in:", 'sc');

    Thank you for being a WPMU Dev member!

    If we can be of further assistance please let us know.

    Cheers, Joe

    aecnu

    Greetings Ian,

    I cannot see the outline of a div anywhere on the page, screen shot below where I thought I should be able to see it.

    In an effort to better understand our members and self critique my support, you had mentioned that the ticket was not resolved and it was marked resolved. What was not resolved about the ticket, please advise?

    Thank you for being a WPMU Dev member!

    Cheers, Joe

    Ian

    Hi, I have another issue, Have done more testing, and another issue has cone up, When each item cycles through, 6 in total, each one gets pushed down by the countdown clock for the days that have past. Monday being 1st in the list, its exactly where I want it, by the time it gets to the weekend it is pushed so far down that half the content is missing. (Times are set to have Tuesday show at moment)

    How can I have the Timer not interfere with content?

    Here is the code in the page so you can see:

    <div id="specialOffer">[scheduled weekly="1" time="10:33 PM" length="0:0:0:2"]
    <h1>Monday Special</h1>
    <h2>Save $50 Today on all Plumbing Callouts:</h2>
    <h3>Call Ph: 1800 700 115 or 03 9879 1300 & Quote Web-Monday and you save $50.</h3>
    *Conditions do apply - Not applicable of fixed price drain unblocking
    [/scheduled]
    [scheduled weekly="1" time="10:35 PM" length="0:0:15:5"]
    <h1>Tuesday Special</h1>
    <h2>Save $50 Today on all Plumbing Callouts:</h2>
    <h3>Call Ph: 1800 700 115 or 03 9879 1300 & Quote Web-Tuesday and you save $50.</h3>
    *Conditions do apply - Not applicable of fixed price drain unblocking
    [/scheduled]
    [scheduled weekly="1" time="10:25 PM" length="0:0:0:5"]
    <h1>Wednesday Special</h1>
    <h2>Save $50 Today on all Plumbing Callouts:</h2>
    <h3>Call Ph: 1800 700 115 or 03 9879 1300 & Quote Web-Wednesday and you save $50.</h3>
    *Conditions do apply - Not applicable of fixed price drain unblocking
    [/scheduled]
    [scheduled weekly="1" time="10:30 PM" length="0:0:0:1"]
    <h1>Thurday Special</h1>
    <h2>Save $50 Today on all Plumbing Callouts:</h2>
    <h3>Call Ph: 1800 700 115 or 03 9879 1300 & Quote Web-Thursday and you save $50.</h3>
    *Conditions do apply - Not applicable of fixed price drain unblocking
    [/scheduled]
    [scheduled weekly="1" time="10:31 PM" length="0:0:0:1"]
    <h1>Friday Special</h1>
    <h2>Save $50 Today on all Plumbing Callouts:</h2>
    <h3>Call Ph: 1800 700 115 or 03 9879 1300 & Quote Web-Friday and you save $50.</h3>
    *Conditions do apply - Not applicable of fixed price drain unblocking
    [/scheduled]
    [scheduled weekly="1" time="10:32 PM" length="0:0:0:1"]
    <h1>Weekend Special</h1>
    <h2>Save $50 Today on all Plumbing Callouts:</h2>
    <h3>Call Ph: 1800 700 115 or 03 9879 1300 & Quote Web-Weekend and you save $50.</h3>
    *Conditions do apply - Not applicable of fixed price drain unblocking
    [/scheduled]

    </div>

    Here is the CSS if it is of Help, Note that I have a display:none on the timer.

    #specialOffer {
    width: 750px;
    height: 270px;
    margin-left: 20px;
    border-radius:12px;
    background:#0085c2 ;
    background-image: linear-gradient(bottom, rgb(66,197,237) 7%, rgb(0,133,194) 54%);
    background-image: -o-linear-gradient(bottom, rgb(66,197,237) 7%, rgb(0,133,194) 54%);
    background-image: -moz-linear-gradient(bottom, rgb(66,197,237) 7%, rgb(0,133,194) 54%);
    background-image: -webkit-linear-gradient(bottom, rgb(66,197,237) 7%, rgb(0,133,194) 54%);
    background-image: -ms-linear-gradient(bottom, rgb(66,197,237) 7%, rgb(0,133,194) 54%);

    background-image: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(0.07, rgb(66,197,237)),
    color-stop(0.54, rgb(0,133,194))
    );
    padding: 10px 20px;
    margin-bottom: 20px;
    margin-top: 20px;
    }

    #specialOffer h1 {
    font-size: 2.5em;
    background: white;
    padding: 1em 1em;
    border-radius:8px;
    color: black;
    text-align: center;
    margin-bottom: 5px;
    }
    #specialOffer h2 {
    font-size: 2em;
    color: #fff;
    text-align: center;
    margin: 5px;
    line-height: 1.6em;
    }
    #specialOffer h3 {
    font-size: 1.7em;
    color: #fff;
    text-align: center;
    line-height: 1.6em;
    }
    #specialOffer p {
    font-size:0.9em;
    color: beige;
    text-align: right;
    margin-bottom: 0px;

    }
    p.scheduled-closed, .scheduled-timer {
    display: none;
    font-size: 0.1em;
    line-height: 0.1em;
    }