gabebecker
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Removing Individual Page TitlesYou are the man! Thanks, my client will be so happy…..it was driving her (and me) nuts.
I added the contact page like this and it works:
<?php if ( is_page(‘about tammy’, ‘contact’))
{
?>
<h2>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h2>
<?
}
?>Forum: Themes and Templates
In reply to: Removing Individual Page TitlesCool, that is what I was thinking. So, can I place your code anywhere? Also, did I add to the code correctly (i.e. contact)?
Here is the code to the index.php file:
<?php get_header(); ?>
<div id=”content”>
<?php if (is_day()) { ?>
<h2 class=”browse”>You are currently browsing the archives for <?php the_time(‘l, F jS, Y’); ?></h2><?php } elseif (is_month()) { ?>
<h2 class=”browse”>You are currently browsing the archives for <?php the_time(‘F, Y’); ?></h2><?php } elseif (is_year ()) { ?>
<h2 class=”browse”>You are currently browsing the archives for <?php the_time(‘Y’); ?></h2><?php } elseif (is_category()) { ?>
<h2 class=”browse”>You are currently browsing the <?php single_cat_title(”); ?> category</h2><?php } elseif (is_tag()) { ?>
<h2 class=”browse”>You are currently browsing posts tagged with <?php single_tag_title(); ?></h2><?php } elseif (is_search()) { ?>
<h2 class=”browse”>You are currently browsing posts that matched <?php the_search_query(); ?></h2><?php } ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class=”entry”>
<?php if(is_home()) { if ( function_exists(‘wp_list_comments’) ) { ?> <div <?php post_class(); ?>> <?php }} ?>
<h2>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h2>
<?php the_content(‘<span class=”cont”>§ Read the rest of this entry…</span>’); ?><?php if(is_home()) { if ( function_exists(‘wp_list_comments’) ) { ?></div><!– close post_class –><?php }} ?>
</div><!– close .entry –><?php if (is_single()) { ?>
<div id=”comments”><?php comments_template(); ?></div>
<?php } ?><?php endwhile; ?>
<p class=”entry_nav”>
<span class=”left”><?php next_posts_link(‘« Older Entries’) ?></span>
<span class=”right”><?php previous_posts_link(‘Newer Entries »’) ?></span>
</p><?php else : ?>
<p class=”error”>With searching comes loss
and the presence of absence:
<?php the_search_query(); ?> not found.</p><?php endif; ?>
</div><!– close content –>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Forum: Themes and Templates
In reply to: Removing Individual Page TitlesThanks, but not seeing it…..this is what I have. Thanks for your response.
Comments
(comments.php)
Footer
(footer.php)
Header
(header.php)
Main Index Template
(index.php)
Search Form
(searchform.php)
Sidebar
(sidebar.php)
Theme Functions
(functions.php)
legacy.comments.php
(legacy.comments.php)
Styles
Stylesheet
(style.css)ie.css
(ie.css)
ie6.css
(ie6.css)Forum: Themes and Templates
In reply to: Removing Individual Page TitlesI am a bit new at this, I don’t see a page template.
Also, if I want the title gone in both the About and Contact page would the code look as follows.
<?php if ( is_page(‘about’,’contact’))
{
// Dont Add <h2>Title Tag</h2>
}
else
{
?>
<h2>Title Tag</h2>
<?
}
?>Forum: Plugins
In reply to: simplemodal-contact-form-smcfHey, thanks for getting back to me. I did get rid of the @ in the @mail. I still get the message. I have a feeling this has to do with Yahoo being my host? Could the be? I always seem to have these mail issues with Yahoo.
My girlfriend’s WP site is on Go Daddy and it works perfectly.
Great looking plugin regardless.
Thanks,
Gabe