go41

the info you need to know


von Joern
Keine Kommentare

I didn't find a robots.txt file for bbpress. There are many crawlers looking for this file first so best to have one in your root folder.The content of my current robots.txt file is now:User-agent: Mediapartners-Google*Disallow:User-agent: *Disallow: /bb-admin/Disallow: /bb-cache/Disallow: /bb-includes/Disallow: /bb-plugins/Disallow: /bb-templates/Disallow: /my-plugins/Disallow: /my-templates/Disallow: /plesk-stat/sitemap: sitemap.xmlActually I disallow most of the…


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…