ifelse
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WP 1.5: 404.php not being calledAt the top of your 404.php file, you’re missing a call to
<?php get_header(); ?>Forum: Your WordPress
In reply to: Sarcasm in a Bottle: Is It Too Colorful?Whilst I’m not a fan of the background (takes too much focus), I actually like everything else. A very nice layout and the rounded corners look good in FF.
The large ‘blocks’ for the top nav-bar elements also work well though it’s a bit buggy in FF with the hover state staying on.
Just needs a bit of tuning but nice job:)
Forum: Fixing WordPress
In reply to: CHMOD refuses to play ball> “Is there a file somewhere which is deciding the CHMOD permission for me ?”
Nope. What is happening is that the CHMOD’ing hasn’t taken effect at all. CHMOD’ing via a FTP client is server dependent. SSH (or telnet) to the box and chmod it using the shell.Forum: Themes and Templates
In reply to: Rin Header ProblemsJust had a look at your site. Looks like it worked:)
Forum: Themes and Templates
In reply to: Rin Header ProblemsUnfortunately, it looks like I made some incorrect assumptions. Try the following:
Change
<div id="header">to<div id="masthead">Forum: Installing WordPress
In reply to: How to link to a second related stylesheet?Firstly, depending on the complexity of the two stylesheets, it may be easier to just copy and paste the entire content of the second stylesheet at the end of the first.
However, to answer your question.
1. Place the 2nd stylesheet in the same directory as the themes ‘main’ style sheet i.e. [blog_url]/wp-content/themes/[your_theme]/.
2. Now modify the header.php file. Change the stylesheet references to:
<style type="text/css" media="screen">
@import url( <?php bloginfo('stylesheet_url'); ?> );
@import url(<?php bloginfo('stylesheet_directory'); ?>/stylesheet2.css);
</stylewhere stylesheet2.css is obviously the name of your 2nd stylesheet.
Forum: Themes and Templates
In reply to: Rin Header ProblemsYou’ll need to modify the header.php file and replace the
<div id="header">...</div>section with:<div id="header">
<object
type="application/x-shockwave-flash"
data="/images/header1.swf"
width="750"
height="135"
>
<param name="movie" value="/images/header1.swf" />
<param name="menu" value="false">
<param name="quality" value="high">
<param name="scale" value="noscale">
<param name="wmode" value="transparent">
</object>
</div>Forum: Themes and Templates
In reply to: Rin Header ProblemsYou can’t use an object (i.e. the SWF file) as a background using CSS as only image files are accepted. Unfortunately, what you’ll need to do is mark it up specifically by using the object tag.
Forum: Your WordPress
In reply to: wordpress austriaIsn’t it bad form to take the austrian domain for WP when you don’t have any affiliation with the WP team and then add a load of ads to it?
“I’m about to wipe the databases and the install and start from scratch, but before I do — any suggestions?”
You’re jumping to the wrong conclusion. As Class has implied, this sounds like it’s almost certainly a networking issue and not a WP one.Do you have any issues viewing the default web server test page?
Forum: Plugins
In reply to: 1.5.1.3 – remote code execution 0-DDAAYY exploitBy default, register_globals is turned on with DH.
To turn it off, add
php_flag register_globals offto your .htaccess file as Lorelle mentioned.Forum: Fixing WordPress
In reply to: scrunched photo?“…why my photo in my Rural America post is all scrunched up”
Do you mean the fact that it’s small? You have explicitly set the size to display as 256×192 in the image tags width/height attributes.BTW, as a piece of advice, if you want to resize pictures for the web, I’d recommend using a image editor to resize it. The size of the photo used is 486kb(!) where instead you can easily cut it to 1/20th of that size.
If you’re using Windows, then a good freeware program to use is Irfanview.
Forum: Fixing WordPress
In reply to: Grabbing posts from 6-10To change the number of posts displayed:
- Login to your admin dashboard
- Go to Options -> Reading
- Change the number specified for “Blog Pages – Show at most”
Forum: Fixing WordPress
In reply to: Posts disappear from front pageI went to your site linked in your profile name and clicked through to the words blog and couldn’t see the behaviour described.
If this is still occuring for you, try to see if this happens when another browser/computer is used and if so, provide us with a link to check.
Forum: Your WordPress
In reply to: WordPress with “Highly critical” vulnerability From RemoteFurther discussion on this topic is likely to be counter-productive but for the purpose of closure, I’ll quickly point you to Skippy’s good response on this topic.