Thanks
https://www.ads-software.com/plugins/simple-sitemap/
]]>1. On the main index page of my site I want it to display the current posts for the month, including scheduled posts.
2. I want a sort of pagination that if you click previous (or next) it will show the posts for last month or take you back the previous month.
3. I want the pagination to work in a slider. In other words I don’t want the page to change just the posts being displayed.
I’ve read a lot about this and have found articles relating to how to show scheduled posts and posts of a certain date. However, I haven’t found the best method of pagination by month and applying all these requirements into one.
If anyone can help me out please reply.
Also I’m pretty good with the loop, but I sometimes get confused where things go. Please specify if it goes in the loop or functions or so forth.
Thank you again for your assistance.
]]>is it possible to group the list of events by month?
I’ve got my eventlist on a single page and for that I edited shortcode-event-list.php. (see: https://host4.ssl-gesichert.at/ok-it_at/zvneu/veranstaltungskalender)
I want the list to be displayed like this: https://www.ok-it.at/zv/neu/
(October 2013 – October Events, November 2013 – November events, December 2013 – December events, etc.)
My code:
<?php
global $eo_event_loop,$eo_event_loop_args;
//Date % Time format for events
$date_format = get_option('date_format');
$time_format = get_option('time_format');
//The list ID / classes
$id = ( $eo_event_loop_args['id'] ? 'id="'.$eo_event_loop_args['id'].'"' : '' );
$classes = $eo_event_loop_args['class'];
?>
<?php if( $eo_event_loop->have_posts() ): ?>
<h2>Nächste Veranstaltungen</h2>
<table <?php echo $id; ?> class="<?php echo esc_attr($classes);?>" >
<tr>
<?php while( $eo_event_loop->have_posts() ): $eo_event_loop->the_post(); ?>
<?php
//Generate HTML classes for this event
$eo_event_classes = eo_get_event_classes();
//For non-all-day events, include time format
$format = ( eo_is_all_day() ? $date_format : $date_format.' '.$time_format );
?>
<td class="<?php echo esc_attr(implode(' ',$eo_event_classes)); ?>" width="180">
<?php echo __('','eventorganiser') . ' '.eo_get_the_start('d.m. l', $post->ID,null,$post->occurrence_id) ; ?>
</td>
<td width="250">
<b><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" ><?php the_title(); ?> » </a> </b>
</td>
<td>
<?php $venue_name = eo_get_venue_name(); ?>
<?php echo $venue_name; ?>
</td>
</tr>
<?php endwhile; ?>
</table>
<?php elseif( ! empty($eo_event_loop_args['no_events']) ): ?>
<ul id="<?php echo esc_attr($id);?>" class="<?php echo esc_attr($classes);?>" >
<li class="eo-no-events" > <?php echo $eo_event_loop_args['no_events']; ?> </li>
</ul>
<?php endif; ?>
I’m an amateur in PHP Coding, so I hope to get a little help from you.
Regards,
cheasy
https://www.ads-software.com/plugins/event-organiser/
]]>I have been having problems with the wp_get_archives code and I found this on the forum that seemed to help https://www.ads-software.com/support/topic/displaying-archives-by-month-excluding-a-category?replies=5 however, now when i use this code (see below) I get a list of archives by month in my navigation but for some reason posts that have been published in January 2011 are being listed as january 2010. Following posts are listed with the correct year, it is just january that has the previous year attached, does anyone know why this might be?
[Code moderated as per the Forum Rules. Please use the pastebin]
]]>I’m new to using WordPress and whereas I’m computer literate and have some experience with coding, none of this is with WordPress…so be gentle
What I’m trying to find is a way to display an archive menu on the sidebar of my Blog page for posts on my site that are assigned to my ‘Blog’ category. Like this:
Archive
April 2010
March 2010
February 2010
etc.
I’ve tried searching this site, Google, and have installed dozens of Widgets but have yet to come across a way that works for my site.
The ‘Query Posts’ Widget has been the nearest thing to what I want, but it just lists the titles of the posts in the sidebar.
Would appreciate any help with this, or pointing in the right direction. Apologies if there’s another post here for it, but I’ve tried a number of searches with a variety of keywords and nothing that’s similar to this was coming up.
Thanks in advance.
Chris
https://www.chris-seddon.co.uk/category/blog/
WordPress version is 2.2.3
I use this to list Archives:
<?php get_archives('monthly', '', 'html', '', '', false); ?>
My permalink structure is this:
/%category%/%day%/%monthnum%/%year%/%postname%/
And this is content of my .htaccess file:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
To make example: When I click on Archive – August 2006, link looks like this:
mydomain.com/08/2006/
But the page is 404 error not found. And the same thing is happening with all other Archives by month. I really cant find solution for this, I tried everything… Can somebody help my to solve the problem?
Thank you for your time, best wishes to you all.
]]>