Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • I’d be interested in this answer too. I just want to use one category to display in the default calendar option.

    Is there a way to apply this to the Editor users?

    Forum: Plugins
    In reply to: Future Posts on a page?

    OK! I’ve solved my problem of future posts not showing up on the sidebar calendar and here is how. You will still need to install ‘The Future Is Now’ plugin. https://www.ads-software.com/extend/plugins/the-future-is-now/

    Activate it in your Plugin settings on your dashboard.

    Now open general-template.php which is found in the folder wp-includes

    Go to Line 639 or thereabouts… Or look for the following code;

    // Get days with posts
    
                    $dayswithposts = $wpdb->get_results("SELECT DISTINCT DAYOFMONTH(post_date)
    
                                    FROM $wpdb->posts WHERE MONTH(post_date) = '$thismonth'
    
                                    AND YEAR(post_date) = '$thisyear'
    
                                    AND post_type = 'post' AND post_status = 'publish'
    
                                    AND post_date < '" . current_time('mysql') . '\'', ARRAY_N);

    Change it to;

    // Get days with posts
    
                    $dayswithposts = $wpdb->get_results("SELECT DISTINCT DAYOFMONTH(post_date)
    
                                    FROM $wpdb->posts WHERE MONTH(post_date) = '$thismonth'
    
                                    AND YEAR(post_date) = '$thisyear'
    
                                    AND post_type = 'post' AND post_status = 'publish' "
    
                                    /*AND post_date < '" . current_time('mysql') . '\''*/, ARRAY_N);

    When you create your new future posts change the Publish Status to ‘Published’ and select the date your event/gig etc is on. Now your calendar will show future date posts. ??

    Forum: Plugins
    In reply to: Future Posts on a page?

    Thanks Michael, I’ve tried that plugin and it doesn’t work very well for what I want.

    With the ‘Future is Now’ installed I can get the future posts to show in the sidebar under ‘Archives’ as a link under the month it falls into, but it refuses to show up in the calendar in the sidebar.

    Forum: Plugins
    In reply to: Future Posts on a page?

    I’ve installed that plugin, and the future dated posts do appear under the Archives menu but do not appear on the calendar.. any ideas on what to change to allow the posts dated for future times to appear in the calendar?

    Am using it as an events calendar also.

    Cheers ??

    Forum: Plugins
    In reply to: My Link Order
    Thread Starter musik

    (@musik)

    OK I found out its actually the RATING of the link which is showing up. Does anyone know where I can edit this out so it doesn’t appear?

    <!--  START LINKS LIST  -->
    <li id="linkcat-1"><h2>Links:</h2>
    <ul class="side_bar_items">
    <?php get_links('-1', '<li>', '</li>', '<br />', FALSE, 'id', TRUE, TRUE, -1, TRUE); ?>
    </ul>
    <!--  END LINKS LIST  -->

    I think it’s somewhere in this line…

    <?php get_links('-1', '<li>', '</li>', '<br />', FALSE, 'id', TRUE, TRUE, -1, TRUE); ?>

Viewing 7 replies - 1 through 7 (of 7 total)