Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Forum: Fixing WordPress
    In reply to: Validation Error
    Thread Starter chris215

    (@chris215)

    http://samsunggalaxys2review.org/

    I checked and it’s UTF-8

    Thread Starter chris215

    (@chris215)

    Yes I am always logged in, I just logged off to see if it shows and it doesn’t.

    ///Tracking/Analytics Code
    function print_tracking() {
    	global $wp_theme_options;
    	echo stripslashes($wp_theme_options['tracking']);
    }
    if ($wp_theme_options['tracking_pos'] == "header")
    	add_action('wp_head', 'print_tracking');
    else //default
    	add_action('wp_footer', 'print_tracking');
    
    function ecommerce_header_style() {
    ?>
    <style type="text/css">
    #header {
    	width: <?php echo HEADER_IMAGE_WIDTH; ?>px;
    	height: <?php echo HEADER_IMAGE_HEIGHT; ?>px;
    	background: url(<?php header_image(); ?>) bottom left no-repeat;
    }
    </style>
    
    <?php }
    function ecommerce_admin_header_style() {
    ?>
    <style type="text/css">
    #headimg {
        display: block;
    	margin: 0px; padding: 0px;
    	width: <?php echo HEADER_IMAGE_WIDTH; ?>px;
    	height: <?php echo HEADER_IMAGE_HEIGHT; ?>px;
    	background: url(<?php header_image(); ?>) top left no-repeat;
    }
    #headimg h1, #headimg #desc {
        display: none;
    }
    </style>
    
    <?php }
    add_custom_image_header('ecommerce_header_style', 'ecommerce_admin_header_style');  //Add the custom header
    ?>

    I cut it down, but do you see anything that might be it?

    Thread Starter chris215

    (@chris215)

    Looked through functions.php nothing regarding footer. where is wp_footer.php located?

    also why can’t i see these links but elsewhere i can?

    Thread Starter chris215

    (@chris215)

    first place i’ve looked but doesn’t show anything like that,

    <div id="footer" class="clearfix">
    
    	<div class="footerleft">
    		<p><b><?php bloginfo('name'); ?></b></p>
    <p>Copyright &copy; 2010 All rights reserved.</p>
    
    	</div>
    
    	<!--necessary-->
    	<?php wp_footer(); ?>
    </div>
    </body>
    </html>

    Thread Starter chris215

    (@chris215)

    bump..

    Thread Starter chris215

    (@chris215)

    if that’s harder to do.. how can I disable clicking for Portfolio? that way they can just select which subpage they want via drop down menu.

    Thread Starter chris215

    (@chris215)

    oh I’m not building my own, I’m editing one I’m using. I just wanted to implement this gallery type into my site.

    (also nvm i got subpages to work)

    Thread Starter chris215

    (@chris215)

    anyone can give an example?

    btw when I add subpages I can’t access/see them, so I’m guessing I have to link them anyways to access them right?

    Thread Starter chris215

    (@chris215)

    thank you! worked perfectly.

    Thread Starter chris215

    (@chris215)

    yes, 3rd line. how would i adjust that to apply to page_id=2 only?

    <?php get_header(); ?>
    <!--include sidebar-->
    <?php include(TEMPLATEPATH."/page_sidebar.php");?>
    
    <div id="content">
        <!--page.php-->
    
    	<?php if (have_posts()) : while (have_posts()) : the_post(); // the loop ?>
    
    	<!--post title-->
    	<h1 id="post-<?php the_ID(); ?>"><?php the_title(); ?></h1>
    
    	<!--post text with the read more link-->
    	<?php the_content('<div class="post-more">Read the rest of this entry &raquo;</div>'); ?>
    
    	<!--for paginate posts-->
    	<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
    
        <?php //comments_template(); // uncomment this if you want to include comments template ?>
    
    	<?php endwhile; // end of one post ?>
    	<?php else : // do not delete ?>
    
    	<h3>Page Not Found</h3>
        <p>We're sorry, but the page you are looking for isn't here.</p>
        <p>Try searching for the page you are looking for or using the navigation in the header or sidebar</p>
    
        <?php endif; // do not delete ?>
    
    <!--page.php end-->
    </div>
    
    <!--include footer-->
    <?php get_footer(); ?>
Viewing 10 replies - 1 through 10 (of 10 total)