Sharraxaad
- Displays future/scheduled posts on single.php(Single Post Template)
- Displays future/scheduled posts using shortcode
- Enables comments for future/scheduled posts
For Developers
On your template, just simply add the string ‘post_status=future’ to your WP_Query
Example: WP_Query(‘post_status=future’);
$args = array( 'post_type' => 'post_type',
'posts_per_page' => '-99',
'post_status' => array( 'publish', 'future' )
);
$loop = new WP_Query( $args );
while ( $loop->have_posts() ) : $loop->the_post();
This displays all future and published posts.
License
Back to the Future is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Back to the Future is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Back to the Future. If not, see http://www.gnu.org/licenses/.
Sawir-shaashado
Rakibaad
- Upload ‘back-to-the-future.php’ to the /wp-content/plugins/ directory
- Go to the Plugins page in your WordPress Admin area and click ‘Activate’ for Back to the Future
SBI
- How to show future/schedules post in theme?
-
On your template, just simply add the string ‘post_status=future’ to your WP_Query
Example: WP_Query(‘post_status=future’);
$args = array( 'post_type' => 'post_type', 'post_status' => array( 'publish', 'future' ) ); $loop = new WP_Query( $args ); while ( $loop->have_posts() ) : $loop->the_post(); - How to show future/schedules post in page using shortcode?
-
On your page or post using
[backfuture]for show future posts.Parameters currently accepted in shortcode
post_type= Default: postposts_per_page= Default: Allorderby= Default: menu_orderthumbsize= Default: thumbnail
Example
[backfuture post_type="movie" posts_per_page="5" thumbsize="large"]This displays all future and published posts.
Ka-qaybgalayaasha & Horumariyayaasha
“Back to the Future” waa softiweer il furan. Dadka soo socda ayaa wax ku biiriyay kaabahan.
Ka-qaybgalayaashaKu tarjun “Back to the Future” luqaddaada.
Ma xiisaynaysaa horumarinta?
Baadh koodka, fiiri bakhaarka SVN, ama iska qor diiwaanka horumarinta adigoo adeegsanaya RSS.
Isbeddellada
1.0 – 29/01/2015
- Initial Release.


