Forum Replies Created

Viewing 15 replies - 121 through 135 (of 165 total)
  • Thread Starter JoyceD6

    (@joyced6)

    I figured this one out myself. It’s the logo in the general theme options.

    Forum: Plugins
    In reply to: instaling this plugin

    I think you should go to the plugin area, locate your plugin, look in the support area, see if anyone else has the problem, and if not, ask your question there (scroll down – the form is under the list of current support requests). Giving more information, like the error message, could be helpful. Good luck.

    Thread Starter JoyceD6

    (@joyced6)

    Well, my backtracking really did fix it. I think the browser I was using was not resolving the site right. I’d like to make my site resolve to the domain name. What’s the easiest way, under the circumstances, to make it work?

    Thread Starter JoyceD6

    (@joyced6)

    I don’t know why I didn’t notice this immediately after you posted it, but it did work. Thank you.

    Thread Starter JoyceD6

    (@joyced6)

    The person who replied to this message removed her/his posts and I haven’t been helped with this. Can anyone help?

    Thread Starter JoyceD6

    (@joyced6)

    I don’t see anything. There’s nothing in the message after “use this” and there’s only one quotation mark in the next message. Maybe you need to use the code button?

    I appreciate the effort.

    Thread Starter JoyceD6

    (@joyced6)

    The index.php is in the last post on that thread. It has the archive template in col-1 and the center of the page in col-2. I’ll repost index.php here:

    <?php get_template_part('./template/header');?>
    <body class="inner-page">
    <div id="outer-wrapper">
    <?php get_template_part('./template/navigation');?>
    <div id="wrapper">
      <!--header-->
      <div id="header">
      <!--blog title -->
      <div class="blog-title">
        <img src="<?php bloginfo('template_directory');?>/images/new/kowabunga_masthead.jpg" alt="" />
        </div>
      <!--/blog title -->
      </div>
      <!--/header-->
      <!--content-->
      <div id="content">
      <!--sidebar left -->
        <div id="col-1">
    
    <?php get_template_part('./template/archives');?>
    
        </div>
        <!--/sidebar left -->
        <!--page -->
        <div id="col-2">
        <h1><?php the_title();?></h1>
    
        <?php 
    
        if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    <p><?php the_content('Read more...'); ?>
     <?php endwhile; else: ?>
    <?php _e('Sorry, no posts matched your criteria.'); ?>
    <?php endif; ?>
    
        </div>
        <!--/page -->
    <?php get_template_part('./template/sidebar-right');?>
        <div class="clear"></div>
      </div>
      <!--/content-->
    <?php get_template_part('./template/footer');?>

    I agree there’s no text “Read more…” so that’s why I think the loop is inserting into this section as it has the code for “read more >>” which is what appears there. I don’t see it called there as other templates are called in that code, but I’m not sure how it works; that’s part of my problem. The template for loop.php:

    <!--post -->
        <div class="post">
        <a href="<?php the_permalink();?>"><h6><?php the_title();?></h6></a>
        <div class="meta-post">Posted on <?php echo get_the_date();?> </div>
    <?php the_content(); ?>
    <p><a href="<?php the_permalink();?>">read more >></a></p>
       </div>
       <!--post -->

    My list on the Templates page is:
    Theme Functions
    (functions.php)
    home.php
    Main Index Template
    (index.php)
    page-18.php
    Page Template
    (page.php)
    Single Post
    (single.php)
    add-this.php
    archives.php
    Footer
    (template/footer.php)
    Header
    (template/header.php)
    logo.php
    loop-single.php
    loop.php
    navigation.php
    post-comments.php
    sidebar-left.php
    sidebar-right.php
    Styles
    Stylesheet
    (style.css)

    The home.php is for the home page of the site and I don’t think it affects the blog pages.

    I downloaded the site to my Dreamweaver to do a text search of the source code of the entire site and could only find template/loop in page-18.php so I did a search of page-18 and found nothing. Here’s the code for page-18, though I don’t know how it’s called:

    <?php get_template_part('./template/header');?>
    <body class="inner-page">
    <div id="outer-wrapper">
    <?php get_template_part('./template/navigation');?>
    <div id="wrapper">
      <!--header-->
      <div id="header">
      <!--blog title -->
      <div class="blog-title">
        <img src="<?php bloginfo('template_directory');?>/images/new/kowabunga_masthead.jpg" alt="" />
        </div>
      <!--/blog title -->
      </div>
      <!--/header-->
      <!--content-->
      <div id="content">
      <!--sidebar left -->
        <div id="col-1">
       <?php get_template_part('./template/archives');?>
        </div>
        <!--/sidebar left -->
        <!--page -->
        <div id="col-2">
    
        <?php
    wp_reset_query();
    
    function filter_where($where = '') {
    //posts in the last 30 days
    $where .= "AND post_date > '" . date('Y-m-d', strtotime('-30 days')) . "'";
    //posts 30 to 60 days old
    //$where .= " AND post_date >= '" . date('Y-m-d', strtotime('-60 days')) . "'" . " AND post_date <= '" . date('Y-m-d', strtotime('-30 days')) . "'";
    //posts for May 8 to May 16, 2008
    //$where .= " AND post_date >= '2008-05-08' AND post_date < '2008-05-16'";
    return $where;
    }
    
    add_filter('posts_where', 'filter_where');
    $query = query_posts('post_type=post');
    $last_days = count($query);
    
    if ($last_days  > 0) {
        wp_reset_query();
        add_filter('posts_where', 'filter_where');
        query_posts( array( 'post_type' => 'post') );
    
    } else {
        wp_reset_query();
        remove_filter('posts_where', 'filter_where');
        query_posts( array( 'post_type' => 'post') );
    
    }
    
        if ( have_posts() ) : while ( have_posts() ) : the_post();
        get_template_part('./template/loop'); ?>
        <?php endwhile;
        echo "<br/>";
        //wp_pagenavi();
        else: ?>
        <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
        <?php endif; ?>
    
        </div>
        <!--/page -->
    <?php get_template_part('./template/sidebar-right');?>
        <div class="clear"></div>
      </div>
      <!--/content-->
    <?php get_template_part('./template/footer');?>

    I appreciate your continued time spent trying to figure this out with me. Any suggestions will be appreciated.

    Thread Starter JoyceD6

    (@joyced6)

    Yes, I realize changing the div to span didn’t make sense, but I was grasping at straws. I think it has to be that archive code since the middle code changes when I have the code for the category list in the left column or not.

    I have another request in on this problem for loop.php and I posted that code and the index page code there:
    https://www.ads-software.com/support/topic/loopphp-editing-for-main-blog-page-help-needed

    I hope you can glean something from that. I’m really at a loss to figure out the problem. I so much appreciate your effort to help!

    Thread Starter JoyceD6

    (@joyced6)

    I tried:

    <h6>Topical Categories</h6>
    <span class="categories-list">
    <?php
    echo "<ul class='collapsCatList'>\n";
    if (function_exists('collapsCat')) {
      collapsCat('expand=4');
    } else {
      wp_get_categories('');
    }
    echo "</ul>\n";
    ?>
    </span>
    
    <h6>Archives</h6>
    <div class="archive-list">
    
    <ul>
    <?php
    wp_get_archives('type=monthly&format=html');
    ?>
    </ul>
    </div>

    and that messed up, too, it looks like this:
    https://ridingthewave.net/ridingthewave-category-no-excerpt.jpg
    (note: category left side links with the body having post titles but no excerpts)

    but if I remove the category code entirely, then the site looks like this:
    https://ridingthewave.net/ridingthewave-no-category-excerpt.jpg
    (note: no category left side links with the body having post titles and one excerpt showing)

    Thread Starter JoyceD6

    (@joyced6)

    Thanks for the help.

    I removed the PostTitleLength, catSortOrder, and “animate=1&”. It didn’t hurt the left column view or the results view, but it didn’t improve the problem of the excerpts not showing up.

    Now the code is:

    <h6>Topical Categories</h6>
    <div class="categories-list">
    <?php
    echo "<ul class='collapsCatList'>";
    if (function_exists('collapsCat')) {
      collapsCat('expand=4&showPostCount=true&expandCatPost=0&debug=true');
    } else {
      wp_get_categories('');
    }
    echo "</ul>";
    ?>
    </div>
    
    <h6>Archives</h6>
    <div class="archive-list">
    
    <ul>
    <?php
    wp_get_archives('type=monthly&format=html&show_post_count=false');
    ?>
    </ul>
    </div>

    Also, the debugger info is listed below, but I don’t know how to correct the problems:

    Total Functions:1
    Total Arguments:2
    Total Files:0

    wp-content/plugins/wp-blocks/wp-blocks.php:53 – wp_tiny_mce is deprecated since version 3.3! Use wp_editor() instead.

    wp-admin/includes/plugin.php:1008 – Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead.

    wp-admin/menu-header.php:112 – Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead.

    The bugs are not the problem, though. It has to be in the categories-list area as I just removed it and the posts come back: https://ridingthewave.net/kowabunga-blog/

    Thread Starter JoyceD6

    (@joyced6)

    Here is the index.php code which is where the loop.php code goes to post to the blog’s main page. The <!--page --> part of this page actually seems to change the page that the blog links go to when you click the “read more” links. I changed the header size in that code and it changed on those blog pages, though those pages don’t say “Read more…” at the bottom as it says in the code; they say “Return >>”. Please let me know if something in this code might be the problem or if we need to look at something else. Thanks!:

    <?php get_template_part(‘./template/header’);?>
    <body class=”inner-page”>
    <div id=”outer-wrapper”>
    <?php get_template_part(‘./template/navigation’);?>
    <div id=”wrapper”>
    <!–header–>
    <div id=”header”>
    <!–blog title –>
    <div class=”blog-title”>
    <img src=”<?php bloginfo(‘template_directory’);?>/images/new/kowabunga_masthead.jpg” alt=”” />
    </div>
    <!–/blog title –>
    </div>
    <!–/header–>
    <!–content–>
    <div id=”content”>
    <!–sidebar left –>
    <div id=”col-1″>

    <?php get_template_part(‘./template/archives’);?>

    </div>
    <!–/sidebar left –>
    <!–page –>
    <div id=”col-2″>
    <h1><?php the_title();?></h1>

    <?php

    if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    <p><?php the_content(‘Read more…’); ?>
    <?php endwhile; else: ?>
    <?php _e(‘Sorry, no posts matched your criteria.’); ?>
    <?php endif; ?>

    </div>
    <!–/page –>
    <?php get_template_part(‘./template/sidebar-right’);?>
    <div class=”clear”></div>
    </div>
    <!–/content–>
    <?php get_template_part(‘./template/footer’);?>
    `

    Thread Starter JoyceD6

    (@joyced6)

    I deleted that part. No change. Thanks for trying, but I still need to figure this out.

    Why would <?php the_content(); ?> not work?

    Thread Starter JoyceD6

    (@joyced6)

    I never used pastebin before. Here’s the link:
    https://pastebin.com/GSLeAU7J

    BTW, I cannot contact the developer.

    Thread Starter JoyceD6

    (@joyced6)

    Yes, I had tried that. It’s set back to that now and you can see that it’s not working. Any other suggestions?

    Thread Starter JoyceD6

    (@joyced6)

    No. The collapsing categories is working fine, but I think something in that code is breaking my ability to post the_content or the_excerpt of the main blog page since it was there before I put the collapsing-categories code in. Any idea about that? Here’s the code for callapsing-categories that I put on archives.php which give me the left side bar information for all post pages (I didn’t set it up this way – someone else created this site):

    `<h6>Topical Categories</h6>
    <div class=”categories-list”>
    <?php
    echo “<ul class=’collapsCatList’>”;
    if (function_exists(‘collapsCat’)) {
    collapsCat(‘animate=1&catSort=ASC&expand=4&showPostCount=true&expandCatPost=0&PostTitleLength=0&debug=true’);
    } else {
    wp_get_categories(”);
    }
    echo “</ul>”;
    ?>
    </div>

    <h6>Archives</h6>
    <div class=”archive-list”>

    <ul>
    <?php
    wp_get_archives(‘type=monthly&format=html&show_post_count=false’);
    ?>
    </ul>
    </div>`

Viewing 15 replies - 121 through 135 (of 165 total)