diff --git DynamicPageList.php DynamicPageList.php
index 07fa7fb..bb023fb 100644
--- DynamicPageList.php
+++ DynamicPageList.php
@@ -124,6 +124,7 @@ function renderDynamicPageList( $input, $args, $mwParser ) {
 
 	$suppressErrors = false;
 	$showNamespace = true;
+	$ignoreSubpages = false;
 	$addFirstCategoryDate = false;
 	$dateFormat = '';
 	$stripYear = false;
@@ -387,6 +388,13 @@ function renderDynamicPageList( $input, $args, $mwParser ) {
 					$showNamespace = true;
 				}
 				break;
+			case 'ignoresubpages':
+				if ( 'true' == $arg ) {
+					$ignoreSubpages = true;
+				} else {
+					$ignoreSubpages = false;
+				}
+				break;
 			case 'googlehack':
 				if ( 'false' == $arg ) {
 					$googleHack = false;
@@ -497,6 +505,10 @@ function renderDynamicPageList( $input, $args, $mwParser ) {
 			break;
 	}
 
+	if ($ignoreSubpages) {
+		$where[] = "page_title NOT LIKE '%/%'";
+	}
+
 	$currentTableNumber = 1;
 	$categorylinks = $dbr->tableName( 'categorylinks' );
 
