Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter freakmaster

    (@freakmaster)

    Well, mercime, since you’ve seen the site, I’ve worked on piecing together the proper code and I’ve discarded the big button in favor of some nice additions to the two menu bars. Everything I needed was in the header.php but I work with this so seldom that it took some searching and general logic to figure it out…not to mention that I don’t know php!!! Thanks to you and everyone who tossed their two cents in on this.

    Thread Starter freakmaster

    (@freakmaster)

    Alright, I know this is lame but with my very limited knowledge of PHP, here’s the code containing the php bloginfo. Where would I enter the href parameters? I think I know where but there’s no sense in trashing the ‘header.php’ and having to re-install WP. Always learning you know. Here’s the beginning code:

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”https://www.w3.org/1999/xhtml&#8221; <?php language_attributes(); ?>>

    <head profile=”https://gmpg.org/xfn/11″&gt;
    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />

    <?php if(is_home() || is_single() || is_page()) { echo ‘<meta name=”robots” content=”index,follow” />’; } else { echo ‘<meta name=”robots” content=”noindex,follow” />’; } ?>

    <?php if (is_single() || is_page() ) : if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    <meta name=”description” content=”<?php metaDesc(); ?>” />
    <?php csv_tags(); ?>
    <?php endwhile; endif; elseif(is_home()) : ?>
    <meta name=”description” content=”<?php if(get_option(‘uwc_site_description’)) { echo get_option(‘uwc_site_description’); } else { bloginfo(‘description’); } ?>” />
    <meta name=”keywords” content=”<?php if(get_option(‘uwc_keywords’)) { echo get_option(‘uwc_keywords’); } else { echo ‘wordpress,c.bavota,magazine basic,custom theme,tinkerpriestmedia.com’; } ?>” />
    <?php endif; ?>

    <title><?php wp_title(”); ?><?php if(wp_title(”, false)) { echo ‘ | ‘; } ?><?php bloginfo(‘name’); if(is_home()) { echo ‘ | ‘; bloginfo(‘description’); } ?></title>

    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />
    <link rel=”alternate” type=”application/rss+xml” title=”<?php bloginfo(‘name’); ?> RSS Feed” href=”<?php bloginfo(‘rss2_url’); ?>” />
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
    <!–[if IE]>
    <link rel=”stylesheet” type=”text/css” href=”<?php bloginfo(‘template_url’); ?>/iestyles.css” />
    <![endif]–>
    <!–[if lte IE 6]>
    <script defer type=”text/javascript” src=”<?php bloginfo(‘template_url’); ?>/images/pngfix.js”></script>
    <![endif]–>

    <?php if ( is_singular() ) wp_enqueue_script( ‘comment-reply’ ); ?>
    <?php wp_head(); ?>
    </head>

    freakmaster

    (@freakmaster)

    That only attests to the fact that I check in here so seldom because WP tends to run so well. I’ll have to make more visits in the future. Then I’m unlikely to miss the sticky notes, eh?

    freakmaster

    (@freakmaster)

    Thanks whooami…that did the trick and the upgrade functioned properly. I suppose I should have thought of that but up until today I still thought that Keith Dsouza’s plug-in was still functional in the 2.7 releases. So many people have that plug-in sitting there that the ‘powers that be’ may want to post a little note on the ‘auto upgrade’ reminding folks to deactivate that older plug-in.

    Again, thanks…

    freakmaster

    (@freakmaster)

    I, and it appears, many others are getting the same type of error message and even doing the following suggestion locked me out of my WP install altogether:

    Question: How do I upgrade automatically from WordPress 2.7 to the newer versions coming out (ie: 2.7.1)?

    Answer: Upgrades are built in starting with 2.7 and up. Tools->Upgrade.

    Make sure you Create the /wp-content/upgrade directory (it was not present), set permissions to 777, then update the permissions in wp-content/plugins to 777 as well. Finally, I emptied /wp-content/cache – and plugins are now updating successfully.

    Well, I tried all of that and every time I did I was unable to get back into WP so I changed the permissions back and things were normal again, although upgrading automatically seems an impossibility at this point.

    Why is this such a kludge? I long for an update to Keith’s fabulous automatic update plug-in.

    Thanks you guys. I’d run into the same question as keress and I ended up using the snippet from apstaganha2 and it worked like a charm.

Viewing 6 replies - 1 through 6 (of 6 total)