Forum Replies Created

Viewing 15 replies - 46 through 60 (of 102 total)
  • Options > Reading > show at most: xposts works for me. But I’m on 2.1.2

    If you can’t get it to work, you could try this fix:

    https://justinblanton.com/2005/02/limit-number-of-posts-with-wordpress

    Try copy and paste this over your existing single.php content:

    <?php get_header(); ?>
    <?php $showauthor = almostspring_showauthor(); $dateformat = almostspring_dateformat(); ?>
    
    <div id="content">
    
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    
    <div class="post" id="post-<?php the_ID(); ?>">
    
    <h2 class="posttitle"> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    
    <p class="postmeta">
    <?php if ($dateformat == 'default') {
    the_time(get_settings('date_format'));
    } else {
    the_time('F j, Y');
    } ?>
    <?php _e('at'); ?> <?php the_time() ?>
    <?php if ($showauthor == 'true') {
    _e('by'); echo ' '; the_author_posts_link();
    } ?>
    · <?php _e('Filed under'); ?> <?php the_category(', ') ?>
    <?php edit_post_link(__('Edit'), ' · ', ''); ?>
    </p>
    
    <div class="postentry">
    <?php the_content(__('Read the rest of this entry &raquo;')); ?>
    <?php wp_link_pages(); ?>
    </div> <!-- end of div.postentry -->
    
    <p class="postfeedback">
    " rel="bookmark" title="<?php _e('Permanent link to'); ?> <?php the_title(); ?>" class="permalink"><?php _e('Permalink'); ?>
    </p>
    
    </div> <!-- end of div.post -->
    
    <?php comments_template(); ?>
    
    <div class="postnav">
    <div class="prev"><?php previous_post_link('? %link') ?></div>
    <div class="next"><?php next_post_link('%link ?') ?></div>
    </div> <!-- end of div.postnav -->
    
    <?php endwhile; else : ?>
    
    <h2><?php _e('Not Found'); ?></h2>
    <p><?php _e('Sorry, but the page you requested cannot be found.'); ?></p>
    <?php include (TEMPLATEPATH . '/searchform.php'); ?>
    
    <?php endif; ?>
    
    </div> <!-- end of div#content -->
    
    <?php get_sidebar(); ?>
    
    <?php get_footer(); ?>

    Take a look at this, maybe it’ll help: https://codex.www.ads-software.com/Resetting_Your_Password#Through_phpMyAdmin. Also search the support forum for ‘lost password’… there are probably several discussions.

    Problem with your php template file (which is probably single.php). A different template file is used for your home page and for single post pages. In your single post page, it looks like no sidebar is being called, and looks like no footer either.

    Go into your theme editor, and take a look at single.php

    Towards the bottom, is there <?php get_sidebar();?>
    and <?php get_footer();?>?

    Copy and paste the content of sidebar.php here if you want me to take a look.

    – John

    Can you link me or email me (amenbreaka[at]yahoo.com) your blog address so I can take a look? May need to use cat template tags instead of the permalink…

    Are your Fruit, apples, oranges static pages or categories?

    Go to the ‘presentation’ tab of your wordpress admin, and then into ‘theme editor’. On the right hand side, there will be a list of files in your wordpress installation that are available to edit. If you are wanting to change the text of the ‘more’ tag on your homepage, then the one you want is probably index.php (which may be listed here as ‘Main Index Template’). Click on this file to bring it up for editing.

    Before you edit it, it may be wise to select all of the text and copy it to the clipboard, and paste into a text document (word doc or notepad), such that you can revert your changes back to this original code if need be.

    I haven’t tried this, but wouldn’t you just edit this line in your head element (which should be in your header.php):

    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />

    Change title="<?php bloginfo('name'); ?> RSS Feed" to title="desiredRSSfeedTitle"

    Maybe?

    I can’t speak for Kaboomer, but that’s what I did, and it didn’t appear in my plugins page, whereas other plugins have in the past.

    Edit your php template file used by that the page you want this behaviour to exhibit. You want to change <?php the_content(); ?> to <?php the_content('Desired text instead of More'); ?>

    Does that work for you?

    – John

    Forum: Fixing WordPress
    In reply to: Plugins Directory

    Is normally present at https://www.yoursite.com/wp-content/plugins … is this where you looked?

    Link me your page and I’ll be able to help you better.

    Email the link to amenbreaka[at]yahoo.com if you don’t want to make it public.

    – John

    You’re welcome! ??

    In the template php file used to present archives (probably archives.php), you can control what elements of each post are displayed.

    Do you get an excerpt? If so, edit the template php file (probably archives.php, remember), and change the_excerpt to the_content, and then you may need to remove the text “‘Read Full Post &#1 87;'”.

    If you do not even get an excerpt on the archives page, then you can add this in: <?php the_excerpt(); ?> at whichever point in the template that you want the post content to appear.

    Does that help? (backup your files in case you make a mistake or in case this does not work for you). If you link me to your blog I can better help you.

    – John

    Go to your Dashboard in WP-Admin, and scroll to the footer of the page. It should be there.

    Actually should be at the bottom of any page in admin, next to the WP logo and below the link to ‘documentation’.

    Does this work?

    <h2><a href="<?php echo get_permalink($post->ID); ?>" ><?php echo apply_filters('the_title', $parent_title); ?></a></h2>

    – John

    You’re welcome, glad I could help.. Good luck with your site!
    (Doesn’t appear in the plugins page of wp-admin for me either)

Viewing 15 replies - 46 through 60 (of 102 total)