Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • So it has been almost 4 weeks and no fix yet? I can confirm this is happening, it is even happening on a client’s site that bought cera from you. Really need a fix for this asap.

    Thread Starter storm180

    (@storm180)

    Figured it out.

    [button link="#contact_form_pop" class="fancybox"] Book a Golf Lesson [/button]
    
    <div style="display:none" class="fancybox-hidden">
       <div id="contact_form_pop">
        [contact-form-7 id="753" title="Contact form 1"]
    Thread Starter storm180

    (@storm180)

    Ok so through some trial and error I found which file controls that page. Its the blogcat.php. I made some changes to it but I didn’t get what I was looking for.

    Here’s the code.

    <span class="current-category">
    <?php single_cat_title('Currently Browsing: ', 'display'); ?>
    </span>
    
    <?php if (have_posts()) : while (have_posts()) : the_post();
      if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts); ?>
    
      <?php $thumb = get_post_meta($post->ID, 'Thumbnail', $single = true); ?>
        <div class="post-wrapper" style="margin-bottom: 15px;">
            <h1 class="post-title" style="margin-top: 0px"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
                <?php the_title(); ?>
                </a></h1>
            <div class="post-info" style="margin-bottom: 15px;">Posted by
               <?php the_author_posts_link(); ?>
                on
                <?php the_time('M jS, Y') ?>
                | <a href="#respond" title="<?php _e("Leave a comment"); ?>">
                <?php comments_number('no responses','one response','% responses'); ?>
                </a></div>
            <div style="clear: both;"></div>
    
            <?php if($thumb !== '') { ?>
    <a href="<?php the_permalink() ?>" title="Permanent Link to <?php the_title(); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php echo $thumb; ?>&h=200&w=200&zc=1" alt="<?php if($thumb_alt !== '') { echo $thumb_alt; } else { echo the_title(); } ?>"  class="blogthumbnail" /></a>
    <?php } else { echo ''; } ?>
    
            <?php the_content_limit(600); ?>
    
        </div>
                <div style="clear: both;"></div>
            <?php endwhile; ?>
    
    <div style="clear: both;"></div>
    <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
    else { ?>
    <p class="pagination">
        <?php next_posts_link('&laquo; Previous Entries') ?>
        <?php previous_posts_link('Next Entries &raquo;') ?>
    </p>
    <?php } ?>
    <?php else : ?>
    <!--If no results are found-->
    <h1>No Results Found</h1>
    <p>The page you requested could not be found. Try refining your search, or use the navigation above to locate the post.</p>
    <!--End if no results are found-->
    <?php endif; ?>

    I tried replacing the line <?php the_content_limit(600); ?> with the_content and my results were not what I wanted. When I made this change the text under the titles disappeared. Any ideas?

    Thread Starter storm180

    (@storm180)

    So I checked home.php and none of them referenced any of the php’s that you listed. Have any idea what I might be looking for in those file to figure out why I have no formatting on the main page and then how to fix it?

    Thread Starter storm180

    (@storm180)

    Files in the root directory of the theme

    404.php
    category.php
    comments.php
    comments-popup.php
    footer.php
    header.php
    home.php
    searchform.php
    sidebar.php
    simple_recent_comments.php
    single.php
    timthumb.php

    In the /include section of the theme I have these.

    about.php
    about-home.php
    ads.php
    blogcat.php
    default.php
    deafaultcat.php
    defaultindex.php
    featured.php
    popular.php
    single-blog.php
    single-photo.php
    thumbnail.php

    Thread Starter storm180

    (@storm180)

    Nope there is no wordpress page called blog under pages. The setup for the blog page is actually controlled through the themes control panel under appearance. Under page navigation in this panel I have the option to turn on and off the blog link and change the what the blog page tab says and thats about it.

    Thread Starter storm180

    (@storm180)

    So I have only two instances of the the_content in the theme one is in includes/single-blog.php

    <!--Begin Post-->
    
      <?php $thumb = get_post_meta($post->ID, 'Thumbnail', $single = true); ?>
        <div class="post-wrapper">
            <h1 class="post-title" style="margin-top: 0px;"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
                <?php the_title(); ?>
                </a></h1>
            <div class="post-info" style="margin-bottom: 15px;">Posted by
               <?php the_author_posts_link(); ?>
                on
                <?php the_time('M jS, Y') ?>
                | <a href="#respond" title="<?php _e("Leave a comment"); ?>">
                <?php comments_number('no comments','one comment','% comments'); ?>
                </a></div>
            <div style="clear: both;"></div>
    <?php if($thumb !== '') { ?>
    <a href="<?php the_permalink() ?>" title="Permanent Link to <?php the_title(); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php echo $thumb; ?>&h=200&w=200&zc=1" alt="<?php if($thumb_alt !== '') { echo $thumb_alt; } else { echo the_title(); } ?>"  class="blogthumbnail" /></a>
    <?php } else { echo ''; } ?>
            <?php the_content(); ?>
            <div class="comments-wrapper">
            <?php comments_template(); ?>
            </div>
            <img src="<?php bloginfo('stylesheet_directory'); ?>/images/comments-bottom-<?php echo $artsee_ephoto_color; ?>.gif" alt="comments-bottom" style="float: left;" />
            <?php endwhile; ?>
        </div>
        <?php else : ?>
        <!--If no results are found-->

    The other instance is in the main theme folder called page.php

    <?php get_header(); ?>
    
    <div id="container2">
    <div id="left-div2">
        <?php if (have_posts()) : ?>
        <?php while (have_posts()) : the_post(); ?>
        <!--Start Post-->
        <div class="post-wrapper">
            <h1 class="post-title2"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
                <?php the_title(); ?>
                </a></h1>
            <div style="clear: both;"></div>
            <?php the_content(); ?>
        </div>
        <?php endwhile; ?>
        <!--End Post-->
        <?php else : ?>
        <!--If no results are found-->
        <h1>No Results Found</h1>
        <p>The page you requested could not be found. Try refining your search, or use the navigation above to locate the post.</p>
        <!--End if no results are found-->
        <?php endif; ?>
    </div>

    There is nothing in any other file with the_content in the theme and none with the_excerpt.

    Thread Starter storm180

    (@storm180)

    So I just tried to add an excerpt to a post and the theme ignores the excerpt completely. I even tried typing in something totally different and it ignores that field completely. I am not sure if its actually using the excerpt feature when it makes it own because it brings over more than 55 words. It will bring over my entire post to the main page but its totally unformatted.

    Any other ideas? Or what file do I need to look at to figure out whats up with theme.

    Thread Starter storm180

    (@storm180)

    Yeh I was referring to the front page posts. Thanks for the article is was useful. I will add a excerpt next time I make a post.

    Thanks.

    Thread Starter storm180

    (@storm180)

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