• Resolved joncwhall

    (@joncwhall)


    Hi,

    I’m trying to use a combination of this plugin and my Event Manager plugin to show at certain times of day the details of the next event for that day.

    I can get it to work, but it creates a lot of space on the page where the hidden content is, so the one I want to see is quite a long way down.

    There’s an example of the code below.

    Do you know if I can do anything about this please?

    Thanks,

    Jon

    [time-restrict-repeat type=”weekly” onday=”Monday” offday=”Monday” ontime=”05:15:00″ offtime=”06:15:00″]
    [events_list scope=”today” post_id=”26547,26552,26557,26562,26567,26572,26577,26548,26553,26558,26563,26568,26573,26578,26549,26554,26559,26564,26569,26574,26579,26550,26555,26560,26565,26570,26575,26580,26551,26556,26561,26566,26571,26576,26581″]
    <h3 style=”text-align: center;”>#_EVENTNAME: #_EVENTTIMES</h3>
    #_ATTENDEESLIST
    [/events_list]
    [/time-restrict-repeat]

    [time-restrict-repeat type=”weekly” onday=”Tuesday” offday=”Tuesday” ontime=”05:15:00″ offtime=”06:15:00″]
    [events_list scope=”today” post_id=”26547,26552,26557,26562,26567,26572,26577,26548,26553,26558,26563,26568,26573,26578,26549,26554,26559,26564,26569,26574,26579,26550,26555,26560,26565,26570,26575,26580,26551,26556,26561,26566,26571,26576,26581″]
    <h3 style=”text-align: center;”>#_EVENTNAME: #_EVENTTIMES</h3>
    #_ATTENDEESLIST
    [/events_list]
    [/time-restrict-repeat]

    [time-restrict-repeat type=”weekly” onday=”Wednesday” offday=”Wednesday” ontime=”05:15:00″ offtime=”06:15:00″]
    [events_list scope=”today” post_id=”26547,26552,26557,26562,26567,26572,26577,26548,26553,26558,26563,26568,26573,26578,26549,26554,26559,26564,26569,26574,26579,26550,26555,26560,26565,26570,26575,26580,26551,26556,26561,26566,26571,26576,26581″]
    <h3 style=”text-align: center;”>#_EVENTNAME: #_EVENTTIMES</h3>
    #_ATTENDEESLIST
    [/events_list]
    [/time-restrict-repeat]

    [time-restrict-repeat type=”weekly” onday=”Thursday” offday=”Thursday” ontime=”05:15:00″ offtime=”06:15:00″]
    [events_list scope=”today” post_id=”26547,26552,26557,26562,26567,26572,26577,26548,26553,26558,26563,26568,26573,26578,26549,26554,26559,26564,26569,26574,26579,26550,26555,26560,26565,26570,26575,26580,26551,26556,26561,26566,26571,26576,26581″]
    <h3 style=”text-align: center;”>#_EVENTNAME: #_EVENTTIMES</h3>
    #_ATTENDEESLIST
    [/events_list]
    [/time-restrict-repeat]

    [time-restrict-repeat type=”weekly” onday=”Friday” offday=”Friday” ontime=”05:15:00″ offtime=”06:15:00″]
    [events_list scope=”today” post_id=”26547,26552,26557,26562,26567,26572,26577,26548,26553,26558,26563,26568,26573,26578,26549,26554,26559,26564,26569,26574,26579,26550,26555,26560,26565,26570,26575,26580,26551,26556,26561,26566,26571,26576,26581″]
    <h3 style=”text-align: center;”>#_EVENTNAME: #_EVENTTIMES</h3>
    #_ATTENDEESLIST
    [/events_list]
    [/time-restrict-repeat]

    [time-restrict-repeat type=”weekly” onday=”Tuesday” offday=”Tuesday” ontime=”06:15:00″ offtime=”08:00:00″]
    [events_list scope=”today” post_id=”26634,26639,26644,26649,26654,26659,26664,26635,26640,26645,26650,26655,26660,26665,26636,26641,26646,26651,26656,26661,26666,26637,26642,26647,26652,26657,26662,26667,26638,26643,26648,26653,26658,26663,26668″]
    <h3 style=”text-align: center;”>#_EVENTNAME: #_EVENTTIMES</h3>
    #_ATTENDEESLIST
    [/events_list]
    [/time-restrict-repeat]

    [time-restrict-repeat type=”weekly” onday=”Tuesday” offday=”Tuesday” ontime=”06:15:00″ offtime=”08:00:00″]
    [events_list scope=”today” post_id=”26634,26639,26644,26649,26654,26659,26664,26635,26640,26645,26650,26655,26660,26665,26636,26641,26646,26651,26656,26661,26666,26637,26642,26647,26652,26657,26662,26667,26638,26643,26648,26653,26658,26663,26668″]
    <h3 style=”text-align: center;”>#_EVENTNAME: #_EVENTTIMES</h3>
    #_ATTENDEESLIST
    [/events_list]
    [/time-restrict-repeat]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Dave Clements

    (@thewanderingbrit)

    Hi John,

    Try removing the line breaks between items. Each time you have two line breaks, WordPress automatically creates a paragraph tag. Do this loads of times and you get a huge gap in your page. So do something more like:

    [time-restrict-repeat type=”weekly” onday=”Monday” offday=”Monday” ontime=”05:15:00″ offtime=”06:15:00″]
    [events_list scope=”today” post_id=”26547,26552,26557,26562,26567,26572,26577,26548,26553,26558,26563,26568,26573,26578,26549,26554,26559,26564,26569,26574,26579,26550,26555,26560,26565,26570,26575,26580,26551,26556,26561,26566,26571,26576,26581″]
    <h3 style=”text-align: center;”>#_EVENTNAME: #_EVENTTIMES</h3>
    #_ATTENDEESLIST
    [/events_list]
    [/time-restrict-repeat][time-restrict-repeat type=”weekly” onday=”Tuesday” offday=”Tuesday” ontime=”05:15:00″ offtime=”06:15:00″]
    [events_list scope=”today” post_id=”26547,26552,26557,26562,26567,26572,26577,26548,26553,26558,26563,26568,26573,26578,26549,26554,26559,26564,26569,26574,26579,26550,26555,26560,26565,26570,26575,26580,26551,26556,26561,26566,26571,26576,26581″]
    <h3 style=”text-align: center;”>#_EVENTNAME: #_EVENTTIMES</h3>
    #_ATTENDEESLIST
    [/events_list]
    [/time-restrict-repeat][time-restrict-repeat type=”weekly” onday=”Wednesday” offday=”Wednesday” ontime=”05:15:00″ offtime=”06:15:00″]
    [events_list scope=”today” post_id=”26547,26552,26557,26562,26567,26572,26577,26548,26553,26558,26563,26568,26573,26578,26549,26554,26559,26564,26569,26574,26579,26550,26555,26560,26565,26570,26575,26580,26551,26556,26561,26566,26571,26576,26581″]
    <h3 style=”text-align: center;”>#_EVENTNAME: #_EVENTTIMES</h3>
    #_ATTENDEESLIST
    [/events_list]
    [/time-restrict-repeat][time-restrict-repeat type=”weekly” onday=”Thursday” offday=”Thursday” ontime=”05:15:00″ offtime=”06:15:00″]
    [events_list scope=”today” post_id=”26547,26552,26557,26562,26567,26572,26577,26548,26553,26558,26563,26568,26573,26578,26549,26554,26559,26564,26569,26574,26579,26550,26555,26560,26565,26570,26575,26580,26551,26556,26561,26566,26571,26576,26581″]
    <h3 style=”text-align: center;”>#_EVENTNAME: #_EVENTTIMES</h3>
    #_ATTENDEESLIST
    [/events_list]
    [/time-restrict-repeat][time-restrict-repeat type=”weekly” onday=”Friday” offday=”Friday” ontime=”05:15:00″ offtime=”06:15:00″]
    [events_list scope=”today” post_id=”26547,26552,26557,26562,26567,26572,26577,26548,26553,26558,26563,26568,26573,26578,26549,26554,26559,26564,26569,26574,26579,26550,26555,26560,26565,26570,26575,26580,26551,26556,26561,26566,26571,26576,26581″]
    <h3 style=”text-align: center;”>#_EVENTNAME: #_EVENTTIMES</h3>
    #_ATTENDEESLIST
    [/events_list]
    [/time-restrict-repeat][time-restrict-repeat type=”weekly” onday=”Tuesday” offday=”Tuesday” ontime=”06:15:00″ offtime=”08:00:00″]
    [events_list scope=”today” post_id=”26634,26639,26644,26649,26654,26659,26664,26635,26640,26645,26650,26655,26660,26665,26636,26641,26646,26651,26656,26661,26666,26637,26642,26647,26652,26657,26662,26667,26638,26643,26648,26653,26658,26663,26668″]
    <h3 style=”text-align: center;”>#_EVENTNAME: #_EVENTTIMES</h3>
    #_ATTENDEESLIST
    [/events_list]
    [/time-restrict-repeat][time-restrict-repeat type=”weekly” onday=”Tuesday” offday=”Tuesday” ontime=”06:15:00″ offtime=”08:00:00″]
    [events_list scope=”today” post_id=”26634,26639,26644,26649,26654,26659,26664,26635,26640,26645,26650,26655,26660,26665,26636,26641,26646,26651,26656,26661,26666,26637,26642,26647,26652,26657,26662,26667,26638,26643,26648,26653,26658,26663,26668″]
    <h3 style=”text-align: center;”>#_EVENTNAME: #_EVENTTIMES</h3>
    #_ATTENDEESLIST
    [/events_list]
    [/time-restrict-repeat]

    Thread Starter joncwhall

    (@joncwhall)

    Hey Dave,

    Perfect – that’s fixed it.

    Thanks very much ??

    Jon

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hidden content taking up space’ is closed to new replies.