er.deepak
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Can't believe. Future post permalinks not working only in IE 8Got No solution..but change the way..
Now i am listing my post according to event start date not by post publishing dates..
so on my way…
Forum: Fixing WordPress
In reply to: Illegal offset type in isset or emptydone…
i limit query to single if:
if ( (is_home() ) && empty( $query->query_vars[‘suppress_filters’] ) )
$query->set( ‘post_type’, array( ‘post’ , ‘events’ ) );
return $query;and used ‘post_type=events’ in custom loop (in page template)
$query = new WP_Query( ‘year=’ . $post_year . ‘&monthnum=’ . $post_month . ‘&day=’ . $post_day .’&post_status=future&post_type=events‘);
Solved
Forum: Plugins
In reply to: list of upcoming week days link with days postsolved here:
Forum: Fixing WordPress
In reply to: how to list archives/post using custom typesand template has following:
if ( ($_GET[‘eventday’]==1)) //if variable is passed 1
{
$todayDate = date(“Ymd”); //get post date
$postDate = strtotime(date(“Ymd”, strtotime($todayDate)) . “+1 day”); // add 1 day
$post_year = date(‘Y’, $postDate); //fetch which year to serve in query (tommorows year)
$post_month = date(‘m’, $postDate); // fetch which month to put in query (tommorows month)
$post_day = date(‘d’, $postDate); // fetch which date (tommorow date)
$query = new WP_Query( ‘year=’ . $post_year . ‘&monthnum=’ . $post_month . ‘&day=’ . $post_day .’&post_status=future’); //match month and use future for future date post
}<?php if ($query->have_posts()) : ?>
<?php while ($query->have_posts()) : $query->the_post(); ?>Forum: Fixing WordPress
In reply to: how to list archives/post using custom typesmade different template with own loop..
now links has this format in navigation:
Forum: Fixing WordPress
In reply to: how to list archives/post using custom typesoops…
https://localhost/sitename/?post_type=events is also not working actually..
how to get such links
Forum: Fixing WordPress
In reply to: list all post of next dayThank you.. i was doing the same..
but what i need was:
https://www.snilesh.com/resources/php/php-add-one-month-one-day-or-one-year-to-todays-date/
Forum: Fixing WordPress
In reply to: custom post type not showing in wordpress calendarFT Calendar
https://www.ads-software.com/extend/plugins/ft-calendar/
https://calendar-plugin.com/quick-start-guide/
Got it… full featured, independent..
Thanks WordPress
Forum: Fixing WordPress
In reply to: display posts in a calendar, using custom field as date[ftcalendar_thumb]
got it .. thanks
Forum: Fixing WordPress
In reply to: display posts in a calendar, using custom field as dateExactly.. what i need..
Please tell me shortcode to get widget ??
[ftcalendar] is displaying full calendar..