Toms Welt

/wp-plugins/no-future-posts

No Future Posts

94 Kommentare | Kommentar schreiben

Diese Plugin ändert den Post-Status von "future" auf "publish".

Warum? Normalerweise werden Einträge, die in der Zukunft liegen von WordPress ausgefiltert. Das hat den Vorteil, dass man Beiträge schreiben kann, die automatisch erst zu einem gewählten späteren Zeitpunkt veröffentlicht werden. Nachteil des Ganzen ist aber, dass man keine Termine einblenden kann. Durch mein Plugin werden nun auch vordatierte Beiträge ganz normal angezeigt.

Ausnahmen (Status bleibt "future") können per Artikel oder per Kategorie angegeben werden.

Download

No Future Posts 1.4

Contributors: Tom Braider
Tags: posts, future, events
Requires at least: 3.0
Tested up to: 4.7
Stable tag: 1.4
License: Postcardware :)
Donate link: www.tomsdimension.de/postcards

Makes your blog to a simple "Event Calendar"

Description


Changes the status of all "future" posts to "publish".
So future posts will show in your blog like other posts.
I use it to show events. No calendar plugin is needed.

Exclude list for posts and categories.

Installation

  1. unzip plugin directory into the /wp-content/plugins/ directory
  2. activate the plugin through the Plugins menu in WordPress
  3. check and save the options page

Frequently Asked Questions


Need Help? Find Bug?


read and write comments on plugin page

Screenshots


  1. 1. Settings

Arbitrary section


Known Issues
  • Post counter in the category list not always up to date. Just save an already published post in this category.

Changelog


1.4

  • compatibility to WordPress 4
  • new language: Ukranian, thanks to Michael Yunat getvoip.com

1.3

  • bugfix: excluded categories
  • code optimization and cleanup
  • new language: Lithuanian, thanks to Vincent G host1free.com
  • new language: Romanian, thanks to Alexander Ovsov webhostinggeeks.com

1.2.1

  • new language: russian, thanks Marcis Gasuns

1.2

  • new: uninstall function for wp 2.7

1.1

  • new: exclude lists for posts and categories
  • new: languages english, german

1.0

  • first release
created by Readme Parser

RSS-Feed 94 Kommentare

Seiten: « 1 2 3 4 5 6 »
  1. ly ly sagt:

    why don't u finish your plug in, problem mit kategories und ordnung
    shade :traurig:

  2. nenya nenya sagt:

    Ich habe noch das Problem, daß, wenn man auf den Link zu einem ehemals-future-post klickt, eine Fehlermeldung kommt (wohlm weil irgendwo noch vermerkt ist, daß es ein noch ausstehender post ist?) ....das wird man auch irgendwo im Core ändern müssen, oder?

    Danke für dieses super-useful Plugin!! :D

    • Tom Tom sagt:

      Wie lautet denn die Fehlermeldung? Bei welchen Links?
      Ich ändere mit dem Plugin ja nur den Status. Kann sein, dass WP das in neueren Versionen etwas anders handhabt. Gib mir mal mehr Details, dann schaue ich es mir nochmal an.

  3. bagni bagni sagt:

    and what about wordpress 3.0? it look to not work with it yet. or which line I have to change in it?

  4. Chris Ellisom Chris Ellisom sagt:

    The code you posted to show posts in the default calendar widget saved me countless hours while working on a client's site. Danke schön.

  5. mike mike sagt:

    :thumbsup: Thanks a lot for this simple but so useful for event's blog.
    I hope one day see this feature present directly in WP .

    about WP 3 : Working perfect on the 3.0.1, for the calendar's display, use general-template.php and patch like before @ the line n° 1181 .

  6. Jennifer Jennifer sagt:

    LOVE LOVE LOVE THIS!!!

    Using posts as future assignments and due dates for students - this is PERFECT!!!!

  7. Bding Bding sagt:

    Hello!
    Really great plugin. I miss title display of future posts on calendar. Please any suggestions how to fix this?

  8. Bding Bding sagt:

    Hello Tom,

    I do enclosed general-template.php patch. Use WordPress 2.9.2.

    Please look at: http://www.zaczarowany-ogrod.pl/

    Links works but dose not display future titles on horizontal (above) as well standard WP calendar (bottom). Please look at the 10th of September.

    Really so important to me to make this work...
    :mauer: :mauer: :mauer:

    Plese, any ideas?!

    • Tom Tom sagt:

      Sorry, no idea. Is this the wordpress calendar or a plugin?
      The title in the big fields are ok and u miss the titles on mousover in the number links, right?
      Maybe this function uses the date and not the status to filter the posts. I only change the status.

      • Bding Bding sagt:

        >>>Is this the wordpress calendar or a plugin?
        horizontal calendar is kind of plugin, but at the bottom is WP, ordinary widget clendar and have the same problem...

        >>>The title in the big fields are ok and u miss the titles on mousover in the number links, right?
        exactly, titles (titles on mouse-over) of past date works fine, only future ones are disabled. as I assume it is problem only on my site?

  9. [...] ・「no future posts」というプラグインを使う。 最近wordpress3.01に対応したようだ。 [...]

  10. Marc-Olivier Marc-Olivier sagt:

    I've been problem with excluding categories. i found a way to resolve this by changing the code a little bit as follows:

    On line 17, add the following variable: $terms = $wpdb->terms;

    On line 33, update the SQL statement as follows:

    SELECT ID FROM $tposts as p
        LEFT JOIN $trel as r
        ON r.object_id = p.ID
        LEFT JOIN $ttax as t
        ON t.term_taxonomy_id = r.term_taxonomy_id
        LEFT JOIN $terms as terms
        ON t.term_id = terms.term_id
        AND t.taxonomy = 'category'
        WHERE t.term_id IN ($excluded_cats)

    Now the categories should be taken into consideration.

    Thanks!
    Marc-Olivier :-D

Seiten: « 1 2 3 4 5 6 »

Kommentar schreiben

Deine E-Mail-Adresse wird nicht veröffentlicht.

:mrgreen:  :D  :)  ;)  8-)  :O  :cry:  :(  :liebhab:  :-x  :-?  :P  :roll:  :arrow:  :schwitz:  :thumbsup:  :thumbup:  :thumbdown:  :facepalm:  :?:  :!:  :eis: