go41

the info you need to know


von Joern
Keine Kommentare

Right - nearly there! The only thing is that now the iframe is much wider than the page, which seems to be back to 590px?This is the code I've got - in pagenosidebar.phpCode:<?php/*Template Name: pagenosidebar*/?><?php get_header(); ?>   <div id="content" class="nosidebar">      <?php if (have_posts()) : while (have_posts()) : the_post(); ?> …


von Joern
Keine Kommentare

@cat:to get the posts of the current month and current year you find this code in WordPress Codex:Code:<?php $current_month = date('m'); ?><?php $current_year = date('Y'); ?><?php query_posts("cat=22&year=$current_year&monthnum=$current_month&order=ASC"); ?><!-- put your loop here -->With this code and a modified current_year variable you can get wordpress query the posts for the same…