Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • Forum: Fixing WordPress
    In reply to: Pages Question
    Thread Starter al-c

    (@al-c)

    these are the files in my template
    Templates
    404 Template (404.php)
    Comments (comments.php)
    Footer (footer.php)
    Header (header.php)
    Main Index Template (index.php)
    Page Template (page.php)
    Search Form (searchform.php)
    Search Results (search.php)
    Sidebar (sidebar.php)
    Single Post (single.php)
    Theme Functions (functions.php)
    Styles
    Stylesheet (style.css)

    Forum: Fixing WordPress
    In reply to: Pages Question
    Thread Starter al-c

    (@al-c)

    xdesi,
    unfortunately, I do not see the <h1>Testing</h1> code in my page.php.
    Here is how my page.php looks
    <?php get_header(); ?>
    <!– LEFTBAR –>
    <div id=”leftbar”>
    <?php while (have_posts()) : the_post(); ?>
    <div id=”post”>
    <h1>“><?php the_title(); ?></h1>
    <!–<h2>By <span style=”color:#0066FF”>
    <?php the_author() ?>
    <?php if(function_exists(‘the_views’)) { the_views(); } ?></span></h2>–>
    <p> <?php the_content(”); ?> </p>
    </div>
    <?php comments_template(); ?>
    <div id=”links”><?php wp_link_pages(); ?></div>
    <?php endwhile; ?>

    </div>
    <!– END LEFTBAR –>

    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    Is there a way of knowing whether any other template lets me have “comments” on blog page without downloading the template and then looking at it’s code?

    Forum: Fixing WordPress
    In reply to: Pages Question
    Thread Starter al-c

    (@al-c)

    Yes, allow comments is checked on the blog page.
    Is there an easy fix to this issue?
    There has been a alot of questions regarding allowing comments by my search of this forum but no definitive answers.
    If you know how to edit the page.php or template, I would love to hear it.

    Thread Starter al-c

    (@al-c)

    website is rhymesforalltimes.com/blog

    Forum: Fixing WordPress
    In reply to: Header Question
    Thread Starter al-c

    (@al-c)

    Chris,
    somehow, I fixed it by going to page.php with original code
    <h2>By <span style=”color:#0066FF”><?php the_author() ?> <?php if(function_exists(‘the_views’)) { the_views(); } ?></span></h2>
    I put <!– before code and –> after code and now it shows just as I wanted it with Author only showing on home page.
    Thank you very much and am sure will benefit from your help in future as still have a few unresolved issues but tortured you enough tonite.

    Forum: Fixing WordPress
    In reply to: Header Question
    Thread Starter al-c

    (@al-c)

    here is the error message
    Parse error: syntax error, unexpected T_ENDWHILE in /home/nyres2/public_html/rhymesforalltimes/blog/wp-content/themes/skinbu/index.php on line 19

    here is how the index php is coded
    <?php get_header(); ?>
    <!– LEFTBAR –>
    <div id=”leftbar”>
    <?php while (have_posts()) : the_post(); ?>
    <div id=”post”>
    <h1>“><?php the_title(); ?></h1>
    <h2>By <span style=”color:#0066FF”><?php if (is_home()) {
    the_author() ?>
    } ?><?php if(function_exists(‘the_views’)) { the_views(); } ?></span></h2>

    <div id=”postcontent”><p> <?php the_content(”); ?> </p></div>

    Forum: Fixing WordPress
    In reply to: Header Question
    Thread Starter al-c

    (@al-c)

    I’ll put in the code again and let you know

    Forum: Fixing WordPress
    In reply to: Header Question
    Thread Starter al-c

    (@al-c)

    Ok, we’re only batting 50%- that one didn’t work as got error message when I visited the site. Any other thoughts
    Thank you.
    If other thoughts fail, do you think I could just eliminate that code <h2>By <span style=”color:#0066FF”><?php the_author() ?> <?php if(function_exists(‘the_views’)) { the_views(); } ?></span></h2>
    from the index php file and just put my name on the top of each post as they are done on home page?

    Forum: Fixing WordPress
    In reply to: Header Question
    Thread Starter al-c

    (@al-c)

    Chris,
    This looks like the place in the index php file to make the change.
    Can you hold my hand again and tell me what to do.
    thanks
    <h2>By <span style=”color:#0066FF”><?php the_author() ?> <?php if(function_exists(‘the_views’)) { the_views(); } ?></span></h2>

    Forum: Fixing WordPress
    In reply to: Header Question
    Thread Starter al-c

    (@al-c)

    Chris, thank you very much. It worked great! I would have never been able to figure that one out myself. Now that we’re on a roll- how about another.
    How do you get the author name to only show up on the home page and not on any other pages.
    Thank you

    Forum: Fixing WordPress
    In reply to: Header Question
    Thread Starter al-c

    (@al-c)

    Thank you Chris but I am not sure where this change is inserted.
    Here is a copy of my Header code
    Thank you very much

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    
    <head>
    <title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" />
    <link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/favicon.ico" />
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
    <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="<?php bloginfo('atom_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php wp_head(); ?>
    </head>
    
    <body>
    <!-- HEADER -->
    <div id="wrapper">
    
    	<div id="header">
    
    		<div id="raccoglitore">
    			<div id="logo"><h1><a>" title="<?php bloginfo('description'); ?>"><?php bloginfo('name'); ?></a></h1><h2><?php bloginfo('description'); ?></h2></div>
    			<div id="rss"><a>" ><img alt="Tieniti sempre aggiornato sulle ultime di Skimbu!" src="<?php bloginfo('template_directory'); ?>/images/rss.png" /></a></div>
    		</div>
    		<div id="navbar_top"></div>
    		<div id="navbar">
    
    <ul>
    				<li class="page_item"><a>">Home</a> <?php wp_list_pages('sort_order=desc&title_li='); ?>
    			</ul>
    		</div>
    		<div id="navbar_bottom"></div>
    	</div>
    
    	<div id="content">
    	<!-- END HEADER -->

    Forum: Fixing WordPress
    In reply to: tweaking my pages
    Thread Starter al-c

    (@al-c)

    Believe the above link will not take you to my site.
    Probably should read: Rhymes For All Times

    Forum: Fixing WordPress
    In reply to: Plugin Question
    Thread Starter al-c

    (@al-c)

    yes, actually I am referring to widgets.
    I did download plugin “widget-logic” to my site but really don’t know how to use it.
    I would like my home page (…com/blog) and pages 2,3,4 to have same widgets and pages 5,6,7 to have other widgets but I don’t know how to place this code in the sidebar using “conditional tags”. Could you provide the code?
    Is it also possible to have certain plugins +/- advertisements on certain pages and not on others. What would the code be for this?
    Thank you very much

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