onocrotalus
Forum Replies Created
-
Forum: Installing WordPress
In reply to: Need Professional HelpWhat are the specific issues? If it’s just the errors generated on your homepage, it looks like you just need to close the final
tag in the
footer.php
– i.e. change from
</div><!-- end id:footer -->to..
</div><!-- end id:footer -->Forum: Fixing WordPress
In reply to: Google ads between for instance every 5 entries. How?There are lots of plugins which help you place AdSense code in the posts area. Do a search on https://wp-plugins.net or see the Codex list.
Forum: Themes and Templates
In reply to: Search form background colorYour styling for “searchdiv” is incorrect CSS code; it should be in the form
#searchdiv { border: 1px solid #000; }
or whatever colour, line thinkness, etc. Also, “searchdiv” wraps the whole of the search area in the sidebar, as the HTML of your page shows:
<div id="searchdiv">
<ul>
<form id="searchform" method="get" action="/index.php">
<li><h2>Search</h2></li>
<div>
<input type="text" name="s" id="s" size="15" />
<input type="submit" value="Search" />
</div>
</form>
</ul>
</div>The id of the search box itself is “s”. So if you add a style for “s” in your CSS file, you will be able change its appearance, e.g.
#s { border: 1px solid #000; }
See these CSS resources from the codex for more info.
See the Codex: Creating a Static Font Page.
Forum: Fixing WordPress
In reply to: Arcives On Separate Page Not DisplayingForum: Fixing WordPress
In reply to: Fake URLs go to index page, not 404.phpAfter a LOT of headscratching, I can now get my proper WP 404 page to show when it should. I made a copy of the root
index.php
file…<?php
/* Short and sweet */
define('WP_USE_THEMES', true);
require('./wp-blog-header.php');
?>…called it
404.php
, and left it in root. This meant that when I typed in https://www.onocrotalus.com/404.php the WP 404 page actually appeared – before, it just loaded the index page.Then I added a line at the top of my
.htaccess
file:ErrorDocument 404 /404.php
Trying
/index.php?error=404
as theErrorDocument
location didn’t work; a non-existent address loaded the index page. I don’t quite understand why this solution works – it mostly got to it by elimination and luck. If anyone with more knowledge can see a potential problem with this method – or understands what’s going on here and why it was necessary – I’d be interested to know.Forum: Fixing WordPress
In reply to: Cane you see It?The content area is blank white for all the video clips pages on that site; I’m running Ubuntu Linux and video playback is certainly sketchy, but videos haven’t been completely missing before. I’ve posted a screenshot.
Forum: Plugins
In reply to: Akismet/registration problemThey API key doesn’t get emailed to you – you need to log into your wordpress.com account and get it. Read the Codex instructions for setting up Akismet.
Forum: Fixing WordPress
In reply to: Backup entire WP, restore intoYou can get the WP Database Backup plugin here. It can email you a backup of all your wp tables. Not sure about the best way to transfer them to new WP install though – maybe through phpmyadmin or equivalent.
Perhaps better – you could investigate transferring the posts into the new install by importing from the old site’s RSS feed. Feedwordpress looks like it might help manipulate categories as you import the feed, but I’ve never used it.
Forum: Themes and Templates
In reply to: Pages: content disappears on sidebar moveTry fixing the validation errors, as they can often be the source of layout problems.
Forum: Installing WordPress
In reply to: How to display categories, blogroll, recent post etc… ?Features like links lists, blogroll etc. are called by template tags placed in
sidebar.php
. So to add a list of your links in the categoryBlogroll
, you might insert<?php wp_get_linksbyname('Blogroll') ?>
where you want the list to appear insidebar.php
.Plugins might be more suitable for the recent comments and recent posts features. The Recent Comments plugin is fairly popular, or you could search for alternatives at https://wp-plugins.net.
Forum: Fixing WordPress
In reply to: Cane you see It?Confirmed doesn’t appear on FF2.0; this might be connected with the 152 validation errors on the page.
Forum: Fixing WordPress
In reply to: Blank backgroundPeople can’t help much unless you post a link to the site you’re talking about. Check that the theme folder of the theme you’re using is a top-level folder in wp-content/themes, and that the main stylesheet is called style.css.
Forum: Fixing WordPress
In reply to: .htaccess redirect from generic .html link to .php?No – see here.
Forum: Fixing WordPress
In reply to: Invalid XHTML with “headerimg” DIV tagThat line doesn’t seem to be causing the page’s errors any more.