marksoliman
Forum Replies Created
-
Forum: Themes and Templates
In reply to: ChaoticSoul widget ready version?Thanks a lot for the help thus far…
Only problem that’s been driving me crazy is that I get my menu items bulleted! I’ve tried for hours to get rid of them, but no luck! I copied and pasted all of the above script and the widgets work fine, but that’s the only thing… Can you please help?
site: markandmary.net
Thanks in advance.
Forum: Themes and Templates
In reply to: ChaoticSoul Widgetized… Ugly Bullets?!FYI:
Below is my sidebar.php file
<div id=”sidebar”>
<?php include (TEMPLATEPATH . ‘/searchform.php’); ?>
<?php if (is_single()) { ?>
<h3>About This Post</h3>
<p class=”postmetadata alt”>
<small>
This entry was posted
<?php /* This is commented, because it requires a little adjusting sometimes.
You’ll need to download this plugin, and follow the instructions:
https://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
/* $entry_datetime = abs(strtotime($post->post_date) – (60*120)); echo time_since($entry_datetime); echo ‘ ago’; */ ?>
on <?php the_time(‘l, F jS, Y’) ?> at <?php the_time() ?>
and is filed under <?php the_category(‘, ‘) ?>.
You can follow any responses to this entry through the <?php comments_rss_link(‘RSS 2.0’); ?> feed.<?php if ((‘open’ == $post-> comment_status) && (‘open’ == $post->ping_status)) {
// Both Comments and Pings are open ?>
You can leave a response, or ” rel=”trackback”>trackback from your own site.<?php } elseif (!(‘open’ == $post-> comment_status) && (‘open’ == $post->ping_status)) {
// Only Pings are Open ?>
Responses are currently closed, but you can ” rel=”trackback”>trackback from your own site.<?php } elseif ((‘open’ == $post-> comment_status) && !(‘open’ == $post->ping_status)) {
// Comments are open, Pings are not ?>
You can skip to the end and leave a response. Pinging is currently not allowed.<?php } elseif (!(‘open’ == $post-> comment_status) && !(‘open’ == $post->ping_status)) {
// Neither Comments, nor Pings are open ?>
Both comments and pings are currently closed.<?php } edit_post_link(‘Edit this entry.’,”,”); ?>
</small>
</p><h3>Navigate</h3>
<ul class=”navigation”>
<?php previous_post_link(‘
Previous: %link ‘) ?>
<?php next_post_link(‘
Next: %link ‘) ?><?php } else { ?>
<!–Author information is disabled per default. Uncomment and fill in your details if you want to use it.
<h2>Author</h2>
<p>A little something about you, the author. Nothing lengthy, just an overview.</p>
–><?php /* If this is a 404 page */ if (is_404()) { ?>
<?php /* If this is a category archive */ } elseif (is_category()) { ?>
<h3>About This Page</h3>
<p>You are currently browsing the archives for the <?php single_cat_title(”); ?> category.</p><?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
<h3>About This Page</h3>
<p>You are currently browsing the /”><?php echo bloginfo(‘name’); ?> weblog archives
for the day <?php the_time(‘l, F jS, Y’); ?>.</p><?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
<h3>About This Page</h3>
<p>You are currently browsing the /”><?php echo bloginfo(‘name’); ?> weblog archives
for <?php the_time(‘F, Y’); ?>.</p><?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
<h3>About This Page</h3>
<p>You are currently browsing the /”><?php echo bloginfo(‘name’); ?> weblog archives
for the year <?php the_time(‘Y’); ?>.</p><?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
<h3>About This Page</h3>
<p>You have searched the /”><?php echo bloginfo(‘name’); ?> weblog archives
for ‘<?php echo wp_specialchars($s); ?>’. If you are unable to find anything in these search results, you can try one of these links.</p><?php /* If this is a monthly archive */ } elseif (isset($_GET[‘paged’]) && !empty($_GET[‘paged’])) { ?>
<h3>About This Page</h3>
<p>You are currently browsing the /”><?php echo bloginfo(‘name’); ?> weblog archives.</p><?php } ?>
<?php if ( !function_exists(‘dynamic_sidebar’)
|| !dynamic_sidebar() ) : ?><h3>Pages</h3>
<?php wp_list_pages(‘title_li=’); ?>
<h3>Archives</h3><?php wp_get_archives(‘type=monthly’); ?>
<h3>Categories</h3><?php wp_list_cats(‘sort_column=name&optioncount=1&hierarchical=0’); ?>
<?php endif; ?>
<?php } ?></div>
This is my style.css file:
/*
Theme Name: ChaoticSoul
Theme URI: https://sandbox.avalonstar.com/
Description: An old version of the beloved Avalonstar, remade into a WordPress theme.
Version: 1.0
Author: Bryan Veloso
Author URI: https://avalonstar.com/
*//* —–| Globals |—————————————————— */
body {
background-color: #161410;
color: #999;
font: 62.5%/125% ‘Trebuchet MS’, Tahoma, Arial, Helvetica, sans-serif;
margin: 0;
padding: 0;
}/* hr { display: none; } */
hr {
background-color: #22201d;
border: 1px solid #363430;
height: 10px;
margin: 10px 0;
width: 760px;
}a:link, a:visited, a:active { color: #d8d7d3; text-decoration: none; }
a:hover { color: #fff; text-decoration: none; }ul { list-style: none; }
input, textarea {
color: #9c9890;
font-size: 11px;
text-decoration: none;
background-color: #161410;
border: 1px solid #363430;
padding: 5px;
}blockquote {
background: #1b1814;
padding: 1px 15px 5px;
border-bottom: 1px solid #35302a;
}table { width: 100%; border-collapse: collapse; }
th { border-bottom: 1px solid #35302a; text-align: left; }pre {
padding: 5px 0;
border-top: 1px dotted #35302a;
border-bottom: 1px dotted #35302a;
}/* —–| Structure |—————————————————- */
#page {
margin: 50px auto 25px;
padding: 0;
width: 760px;
}#header {
text-align: center;
}#wrapper, #headerimg { width: 760px; }
#wrapper { background: url(‘images/content_bkg.gif’) repeat-y top left;}.image {
background: #22201d url(‘images/image_left.png’);
border: 1px solid #363430;
height: 149px;
width: 372px;
}.bkgleft { background: url(‘images/image_left.jpg’); float: left; }
.bkgright { background: url(‘images/image_right.jpg’); float: right; }#footer {
font-family: Georgia, ‘Times New Roman’, serif;
color: #999;
}#content, #sidebar {
border-left: 1px solid #363430;
border-right: 1px solid #363430;
padding: 0 10px;
}#content { float: left; font-size: 1.1em; width: 517px; }
#content h2 { margin: 0 0 10px; }
#content p { line-height: 1.5em; }#sidebar { border-left: 0; float: right; width: 200px; }
#sidebar h3 { color: #bd934f; margin: 15px 0 5px; font-variant: small-caps; }
#sidebar ul { margin: 0 0 10px; padding: 0; border-top: 1px solid #363430; border-bottom: 1px solid #363430; }
#sidebar li { display: block; padding: 4px 10px; background: #161410; margin: 4px 0; }#searchform { background: #22201d; padding: 10px; text-align: center; }
#s { width: 160px; }.goleft { float: left; }
.goright { float: right; }ul.navigation {
border-top: 1px solid #363430;
border-bottom: 1px solid #363430;
}ul.navigation li { display: block; padding: 4px 10px; background: #22201d; margin: 1px 0; }
ul.navigation li:hover { background: #363430; }/* Post Structure */
.post { padding: 10px 0 0; }
.widecolumn .post { padding: 0; margin: 0; }.top { padding: 15px 10px 0px; background: #1b1814; margin-bottom: 15px; border-bottom: 1px solid #35302a; }
.lastfive { padding-left: 10px; padding-right: 10px; }
.postmetadata { margin: 3px 0; padding: 0; }
.postmetadata a { font-weight: bold; }
#sidebar .postmetadata { line-height: 1.5em; }
.continue { font-weight: bold; font-size: 1.3em; }.top .entry { font-size: 1.1em; }
.entrytext { padding: 0 10px 0; line-height: 2em; font-size: 1.1em; }.entrytext h2 { border-bottom: 1px solid #bd934f; display: block; }
.entrytext ul { list-style-type: square; }/* Comments Structure */
.comments { padding: 10px; margin-top: 15px; background: #1b1814; border-top: 1px solid #35302a; position: relative; }
#commentform p { float: left; margin: 0 10px 10px 0; }.commentlist { background: #1b1814; list-style: none; margin: 0; padding: 0; }
.commentlist li { background: #161410; margin-top: 10px; padding: 5px 0 0; }
.commentlist li p { padding: 5px 10px 0; margin: 0; }
.commentlist li p.commentmetadata { border-bottom: 1px solid #35302a; background: #181612; padding: 5px 10px;margin-top: 10px; }
ul.archive { list-style: none; padding: 0; margin: 0 10px 25px; font-size: 1.3em; }
ul.archive li { display: inline; }/* —–| Typography |————————————————— */
h1, h2, h3, h4, h5, h6 { font-family: Georgia, ‘Times New Roman’, serif; font-weight: normal; }
h1 { color: #fff; font-size: 2em; margin: 0 0 8px; }
h1:before, h1:after { content: ” . . “; color: #444; }
h1 span { color: #bd934f; }h2 { color: #bd934f; font-size: 1.25em; margin: 0; padding: 1px 0; display: inline; border-bottom: 1px solid #35302a; }
.post h2 a { color: #bd934f; }
.post h2.first { font-size: 1.75em; }.widecolumn h2.title {
display: block;
padding: 13px 10px;
background: #1b1814;
margin: 0 0 15px;
border-bottom: 1px solid #35302a;
font-size: 1.75em; }h3 { color: #bd934f; font-size: 1.25em; margin: 0; padding: 1px 0; display: inline; border-bottom: 1px solid #35302a; }
.post h2 a { color: #bd934f; }
.post h2.first { font-size: 1.75em; }.description { color: #666; font-weight: bold; }
.comments h3 { margin: 0 0 10px 0; color: #bd934f; }
/* —–| Miscellaneous |———————————————— */
.clearfix:after {
content: “.”;
display: block;
height: 0;
clear: both;
visibility: hidden;
}And finally, my functions.php file:
<?php
if ( function_exists(‘register_sidebar’) )
register_sidebar();
?>