Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter ellapv

    (@ellapv)

    c3mdigital, when I try to login to my blog using wp-admin, I get this error:

    Warning: Cannot modify header information – headers already sent by (output started at /customers/krismyhre.com/krismyhre.com/httpd.www/blog/wp-content/themes/autofocus/functions.php:735) in /customers/krismyhre.com/krismyhre.com/httpd.www/blog/wp-includes/pluggable.php on line 890

    Can you please help me?

    Thread Starter ellapv

    (@ellapv)

    c3mdigital, thank you so much! You really saved me! Thank you!

    Thread Starter ellapv

    (@ellapv)

    There you go, it would be very helpful! Thank you!

    Now my whole blog won’t function. I get this message when I try to load it;
    Parse error: syntax error, unexpected ‘>’ in /customers/krismyhre.com/krismyhre.com/httpd.www/blog/wp-content/themes/autofocus/functions.php on line 462

    I haven’t changed anything on this line, and I can’t find the error. The line 462 looks like this:
    echo str_replace(array("\r", "\n", "\t"), '', $menu);

    Emergency help is needed, my whole blog is down and I can’t even leave the editor and the functions.php site ??

    Thanks!

    Okay, but my big question is; where do I put this link? I can’t seem to find the code to adjust. This is the only link I found that relates to the menu, I found it in my functions.php;

    remove_filter('get_the_excerpt', 'wp_trim_excerpt');
    add_filter('get_the_excerpt', 'the_autofocus_excerpt');
    
    // Produces a list of pages in the header without whitespace -- er, I mean negative space.
    function sandbox_globalnav() {
        echo '<div id="menu"><ul><li class="page_item"><a href="'. get_settings('home') .'/" title="'. get_bloginfo('name') .'" rel="home">Home</a></li>';
        $menu = wp_list_pages('title_li=&sort_column=menu_order&echo=0'); // Params for the page list in header.php
        echo str_replace(array("\r", "\n", "\t"), '', $menu);
        echo '<li class="page_item"><a href="'. get_bloginfo_rss('rss2_url') .'"></a></li></ul></div>';
    }

    When I first have you here, do you know how I link the pages in my menu to external pages outside the “blog-site”? I am to use the blog site as the front page of my website, and need to link the menu-pages to the other pages I have on my server.

    Can you please help me?

    Thank you so much, that helped!

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="https://www.w3.org/1999/xhtml" <?php language_attributes() ?>>
    <head profile="https://gmpg.org/xfn/11">
    <title><?php bloginfo('name'); if ( is_404() ) : _e(' &raquo; ', 'sandbox'); _e('Not Found', 'sandbox'); elseif ( is_home() ) : _e(' &raquo; ', 'sandbox'); bloginfo('description'); else : wp_title(); endif; ?></title>
    <meta http-equiv="content-type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
    <meta name="description" content="<?php bloginfo('description') ?>" />
    <meta name="generator" content="WordPress <?php bloginfo('version') ?>" /><!-- Please leave for stats -->
    
    <style type="text/css" media="all"> @import url(<?php bloginfo('template_url'); ?>/css/reset.css); @import url(<?php bloginfo('template_url'); ?>/css/generic.css); </style>
    <style type="text/css" media="print"> @import url(<?php bloginfo('template_url'); ?>/css/print.css); </style>
    <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" />
    <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('rss2_url') ?>" title="<?php echo wp_specialchars(get_bloginfo('name'), 1) ?> <?php _e('Posts RSS feed', 'sandbox'); ?>" />
    <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('comments_rss2_url') ?>" title="<?php echo wp_specialchars(get_bloginfo('name'), 1) ?> <?php _e('Comments RSS feed', 'sandbox'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url') ?>" />
    
    <?php wp_head() ?>
    
    </head>
    
    <body class="<?php sandbox_body_class() ?>">
    
    <div id="wrapper" class="hfeed">
    
    	<div id="header">
    		<h1 id="blog-title"><img src="<?php bloginfo('template_url'); ?>/img/logo.png border="0" alt="logo"></h1>
    		<div id="blog-description"><?php bloginfo('description') ?></div>
    	</div><!--  #header -->
    
    	<div id="access">
    		<div class="skip-link"><a href="#content" title="<?php _e('Skip navigation to the content', 'sandbox'); ?>"><?php _e('Skip to content', 'sandbox'); ?></a></div>
    		<?php sandbox_globalnav() ?>
    	</div><!-- #access -->

    Hi, I have followed all your directions, but I still get the red cross. Can anyone help me with this?

    All help is appreciated.

    Ella

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