philipus
Forum Replies Created
-
Forum: Themes and Templates
In reply to: How line up adjacent text contentThank you Im impressed and very grateful that you took the time to help. I’m sort of learning as I go along which, mixed with the fact that I’ve changed a theme, is why the code looks a bit strange.
I guess the best would be to simply start it over again from the beginning, so as to get rid of unnecessary stuff in the code, but i don’t know where to start…
/p.
Forum: Themes and Templates
In reply to: How line up adjacent text contentThanks. But this doesnt answer my questions. Anymore ideas? Im very grateful.
As for the validator, that’s something I’ll have a look at later. Though I note that it mainly picks up on <br> tags which allegedly are unclosed.
Thanks again
PhilipForum: Fixing WordPress
In reply to: How remove the blogrollThat’s it! Thanks a million to all of you.
Forum: Fixing WordPress
In reply to: How remove the blogrollYeah it’s strange. The answer is probably in the code somewhere; i’m just not clever enough to see it. Here’s the full code:
<p class="cmeta"><?php bloginfo('description'); ?></p><?php if (function_exists('wp_theme_switcher')) { ?>
<li><h2><?php _e('Themes'); ?></h2>
<?php wp_theme_switcher(); ?>
</li>
<?php } ?><!-- site related posts get listed here: remove comments if you have Pages created and want them listed -->
<!--
<h3>Site Related</h3>
<ul>
<?php wp_list_pages('title_li='); ?>
</ul>
--><br><br>
<h1><strong><a href="http://philipus.com"><font color="#000066">PHILIPUS.COM</font></a></strong></h1>
<div align="center"><font color="#000066">Intermittently ranting<br>since 1999
</font></div>
<div align="center">
<br>
Welcome.
<br>
I'm Philip Dygeus
<br>
and this is my site.
<br>
<br><font color="#888888"><u>Status:</u></font><font color="#006699"> Learning manga</font><br><br>
<a href="http://philipus.com/about/"><strong>Let's talk about me</strong></a><br><a href="http://philipus.com/latest-news/"><strong>"Latest News"</strong></a><br>
<a href="mailto:blog AT philipus DOT com"><strong>Drop me a line</strong></a> <br>
<br>
</div><h3>Recent</h3>
<ul>
<?php get_archives('postbypost', 12); ?>
</ul><h3><?php _e('Categories'); ?></h3>
<ul>
<?php list_cats(0, '', 'name', 'asc', '', 1, 0, 1, 1, 1, 1, 0,'','','','','') ?>
</ul><h3><?php _e('Archives'); ?></h3>
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>
<br>
<br>
<!-- start links -->
<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?><?php
$link_cats = $wpdb->get_results("SELECT cat_id, cat_name FROM $wpdb->linkcategories");
foreach ($link_cats as $link_cat) {
?>
<h3><?php echo $link_cat->cat_name; ?></h3>
<ul>
<?php wp_get_links($link_cat->cat_id); ?>
</ul>
<?php } ?><!-- end links -->
<!-- // <?php get_calendar(); ?> -->
<!-- // <label for="s"><?php _e('Search:'); ?></label> --> <br />
<form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<div><p>
<input type="text" name="s" id="s" size="15" />
</p>
<p>
<input type="submit" value="<?php _e('search'); ?>" />
</p>
</div>
</form><?php /* If this is a category archive */ if (is_category()) { ?>
<p class="cmeta">You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p><?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
<p class="cmeta">You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
for the day <?php the_time('l, F jS, Y'); ?>.</p><?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
<p class="cmeta">You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
for <?php the_time('F, Y'); ?>.</p><?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
<p class="cmeta">You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
for the year <?php the_time('Y'); ?>.</p><?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
<p class="cmeta">You have searched the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
for <strong>'<?php echo wp_specialchars($s); ?>'</strong>. 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'])) { ?>
<p class="cmeta">You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives.</p><?php } ?>
<h3><?php _e('Meta'); ?></h3>
<br>
<a href="http://validator.w3.org/check/referer" title="<?php _e('Check it yourself'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr> 1.1'); ?></a><br>
<?php } ?><a href="http://wordpress.org">WordPress</a><br><a href="feed:<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a>
<br><a href="feed:<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a>
<!-- <?php echo $wpdb->num_queries; ?> queries. <?php timer_stop(1); ?> seconds. --><!-- This nice layout and design is by Chyetanya Kunte - http://ckunte.com/ -->
Forum: Fixing WordPress
In reply to: How remove the blogrollMost peculiar, i deleted all the default links upon WP installation and blogroll is still there…sigh
Forum: Fixing WordPress
In reply to: How remove the blogrollThe code in sidebar.php is this:
<!-- start links -->
<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?><?php
$link_cats = $wpdb->get_results("SELECT cat_id, cat_name FROM $wpdb->linkcategories");
foreach ($link_cats as $link_cat) {
?>
<h3><?php echo $link_cat->cat_name; ?></h3>
<ul>
<?php wp_get_links($link_cat->cat_id); ?>
</ul>
<?php } ?><!-- end links -->
I’ve tried several things deleting all of it and also deleting the <?php wp_get_links bit with surrounding tags. The result is always this error:
Parse error: parse error, unexpected '}' in /home/philipu/public_html/wp-content/themes/plain-vanilla/sidebar.php on line 105Deleting in wp-admin does not work. It renders this error:
Can’t delete the Blogroll link category: this is the default one
Any ideas?
Forum: Fixing WordPress
In reply to: Setting in css to move list margin to the leftGroovy, what I had to do was this:
#sidebar ul li {
margin-left:-17px;
}MANY THANKS to both of you!
Forum: Fixing WordPress
In reply to: Setting in css to move list margin to the leftThanks Monika. I had a look but cannot find anything. I’ve checked in style.css for info on what is defining that list (which is an “ordinary” ul li list). There are a few “margin” settings but none of them appears to be working…Sigh
Forum: Fixing WordPress
In reply to: Why can’t I change post time stamp to previous date?It works now, many thanks Skippy.
Forum: Fixing WordPress
In reply to: How link images to posts?Most bizarre, if I use the upload feature instead of WSFTP then I get it to display. Thanks anyway
Forum: Fixing WordPress
In reply to: How link images to posts?Thanks for responding so quickly. I realise this is a really basic question.
Unfortunately, that doesnt work either. ..
Must images that are to be displayed in posts be uploaded to a certain directory perhaps?
Forum: Fixing WordPress
In reply to: 1. Why are my own “posts” linked to my own “pages”?Thanks Skippy. Double posting was a result of accidentally pressing Enter and then Stop when posting because I hadnt included the second question. Many thanks also for the link to the pages template.
Forum: Installing WordPress
In reply to: Changed “admin” user pw in dashboard…Thank you very much for responding.
Well my problem is, and I realise I should have been clearer, when I go to philipus.com/wp-admin. That’s when I get the error message.
But now, trying again, I suddenly got in. Weeeeird.