Kalessin
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: reading postsNot without looking at the page…
Forum: Themes and Templates
In reply to: Header Being Block by Color Blob!Yes, the Kubrick theme adds extra CSS to the header to allow users to set a custom gradient — as you have apparently done.
If you look in
wp-content/themes/default/functions.php
and comment out line 28 (add_action('wp_head', 'kubrick_head');
), I imagine that will stop it.NB: I haven’t tested this (although I expect it to work), so try it at your own risk and make a backup or something first!
Forum: Fixing WordPress
In reply to: General code / workflow questionsTo be fair, I kind of agree with you on point three. Proper documentation of a function takes a fraction of the time of the original function development. However, there may be myriad reasons for not properly documenting, such as
- a developer wrote the function(s) then lost interest in the project before writing the documentation
- many functions were written before WordPress was big enough for documentation to be important
- a non-programmer took on the task of documenting the functions and never bothered to complete
These are just guesses. My point is that for whatever reason, it hasn’t been done and berating volunteers for this being “crap” when they’ve clearly worked hard in other areas seems a little… ungrateful, I guess. Just could have been put in a more diplomatic manner.
Forum: Fixing WordPress
In reply to: How to change color on footer..It would have been nice if you had warned, “Possibly NSFW” so that people who didn’t bother to check their status bar weren’t caught out by a page called “All You Like Porn” loading while their boss stands nearby.
Anyway, the answer is in the first line of your CSS, in the body style:
background: #42afdc url(images/html-bg.gif) repeat-x;
That
#42afdc
is the blue. Change it.Forum: Fixing WordPress
In reply to: MushBlue Html codeIs it not in
/wp-content/themes/mushblue
?Forum: Plugins
In reply to: Not showing in plugins panelCheck the permissions of the plugin folder and its contents are set correctly. Compare the permissions with those of your other plugins.
Forum: Fixing WordPress
In reply to: General code / workflow questions1. You can write a quick and simple plugin to replace classnames with those you want to use, although I find it useful that every WordPress install I work on uses the same ones.
2. If you’re retrieving, for example a *list* of categories, it makes sense that it comes in ul tags. This is not presentation, this is semantically-correct markup, a benefit for which WordPress is famous. You can use CSS to style the returned list in any way you want.
3. These things take time; most of the developers are busy developing. “Crap,” eh? Way to show appreciation for the time and effort that other volunteers have put in. Think you can do better? Prove it.
Forum: Fixing WordPress
In reply to: Possible to change the admin directory?I suppose it’s technically possible, but a quick search of a site returns 127 occurrences of the string “wp-admin” which would, presumably, all have to be changed.
Perhaps a future version could define the admin directory in wp-config.php and use that throughout, enabling users to select a directory of their choice.
Forum: Installing WordPress
In reply to: Change of domain names then it stops workingDid you copy the database? Your web host probably has something like phpMyAdmin installed which will help with this. Once you’ve done that, you will need to edit the wp_options table, changing the blog URL to your new domain name in two places — probably id 1 and id 40.
Forum: Fixing WordPress
In reply to: navigation problemsThe circles are 2nd-level bullet points for the ordered list of the navigation. The problem is caused by having the list items Contact, Links, Shop, Webmiss, Website within the Pages item.
The easiest way to fix this would be to remove the code
<li class="pagenav">Pages<ul>
from the header.php, then remove the last</u>
.Forum: Themes and Templates
In reply to: Creating a search page which separates Posts from Pages?My bad: try
is_page()
instead.Forum: Themes and Templates
In reply to: Creating a search page which separates Posts from Pages?In your search.php file, just after the line
<?php while (have_posts()) : the_post(); ?>
insert the conditionif ( is_post() )
.Then get the Loop to start again with `<?php while (have_posts()) : the_post(); ?>
if ( !is_post() )`I haven’t tested it, but it seems likely that this would work. Given that WordPress doesn’t expect results to include pages it seems the only way to separate them would be to run the entire loop twice. Let me know if it works!
Forum: Fixing WordPress
In reply to: titles missingWhen you say, “on a windows” I assume you mean Internet Explorer, where the title does seem to disappear. (Firefox on Windows displays fine for me.)
The problem is not your code, the problem is IE’s implementation of CSS. Try changing the margins and padding of h2.storytitle until you find a combination that works.