al-c
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Pages Questionthese 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 Questionxdesi,
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 QuestionYes, 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.Forum: Fixing WordPress
In reply to: where did comment box go?Forum: Fixing WordPress
In reply to: Header QuestionChris,
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 Questionhere 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 19here 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 QuestionI’ll put in the code again and let you know
Forum: Fixing WordPress
In reply to: Header QuestionOk, 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 QuestionChris,
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 QuestionChris, 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 youForum: Fixing WordPress
In reply to: Header QuestionThank 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('«', 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 pagesBelieve the above link will not take you to my site.
Probably should read: Rhymes For All TimesForum: Fixing WordPress
In reply to: Plugin Questionyes, 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