HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: /home/mmickelson/martyknows.com/wp-content/themes/regulus/sidebar.php
<div id="sidebar">
<?php do_action( 'before_sidebar' ); ?>

		<form action="<?php bloginfo('url') ?>" method="get" id="search">
		<p><label for="s">search</label>
		<input value="" name="s" id="s" />
		<input type="submit" value="go!" class="button" id="searchbutton" name="searchbutton" /></p>
		</form>

		<ul>

		<?php

			bm_writeAbout();

			// ---------------
			// add child pages
			// ---------------
			if ( is_page() ) {
			    global $bm_pageID;
			    $bm_pages = wp_list_pages( 'sort_column=menu_order&depth=1&title_li=&echo=0&child_of=' . $bm_pageID );

			    if ( $bm_pages <> "" ) {
			        echo "<li>";
			        echo "<ul id=\"subpages\">\n";
			        echo "<li><h2>Subpages</h2></li>";
			        echo $bm_pages;
			        echo "</ul>";
					echo "</li>";
				}
			}

       		// -----------------
			// display admin bar
			// -----------------
			if( bm_getProperty( 'admin' ) == 1 ) {
				bm_admin_bar();
			}

			// -------
			// WIDGETS
			// -------

			if ( function_exists('dynamic_sidebar') && dynamic_sidebar() ) { } else {

				// ----------------
				// display calendar
				// ----------------
				if( bm_getProperty( 'calendar' ) == 1 ) {

					bm_calendar();

				}

			echo "<li>";

	   			// --------------------
				// display recent posts
	   			// --------------------
				if( bm_getProperty( 'posts' ) == 1 ) { ?>
			<h2><?php _e('Recent Posts'); ?></h2>
			<ul>
			<?php wp_get_archives('type=postbypost&limit=10'); ?>
			</ul>
			<?php

			    }

				// ---------------
				// recent comments
	   			// ---------------
				if (function_exists('get_recent_comments')) { ?>
	   		<h2><?php _e('Recent Comments:'); ?></h2>
	        <ul>
	        <?php get_recent_comments(); ?>
	        </ul>

			<?php } ?>


			<div class="col">

				<h2><?php _e('Categories'); ?></h2>
				<ul>
				<?php //list_cats(0, '', 'name', 'asc', '', 1, 0, 0, 1, 1, 1, 0,'','','','','');

				wp_list_cats( 'hierarchical=1' ); ?>
				</ul>

				<h2><?php _e('Archive'); ?></h2>
				<ul>
				<?php

				if( bm_getProperty( 'months' ) == 1 ) {
	   				wp_get_archives('type=monthly');
				} else {
					wp_get_archives('type=monthly&limit=15');
		  		}

				?>
				</ul>

			</div>

			<div class="col">

				<?php
					echo "<ul id=\"blogroll\">";
					wp_list_bookmarks();
					echo "</ul>";
				?>

			</div>

			</li>

			<?php if( bm_getProperty( 'meta' ) == 1 ) { ?>

			<li>
			<h2><?php _e('Meta'); ?></h2>
			<ul>
				<?php wp_register(); ?>
				<li><?php wp_loginout(); ?></li>
				<?php wp_meta(); ?>
			</ul>
			</li>

		<?php

				}
			}

			?>

  		</ul>

		<ul id="feeds">
		<li><h3><?php _e( 'Feeds' ); ?></h3></li>
		<li><a href="<?php bloginfo('rss2_url'); ?>"><?php _e( 'Full' ); ?></a></li>
		<li><a href="<?php bloginfo('comments_rss2_url'); ?>"><?php _e( 'Comments' ); ?></a></li>
		</ul>

</div>