WordPress.org

Ready to get started?Download WordPress

Forums

'Read More' Tab/Button Giving Issues... (6 posts)

  1. rabidpictures
    Member
    Posted 2 years ago #

    Hi there,

    Relatively new when it comes to the behind-the-scenes/coding aspects of wordpress...

    My question pertains to the 'More' tab/button that you can add to posts on your homepage, that as my understanding goes, provides an excerpt that leads to the full article on it's own page. I'm implementing this by inserting <!--more--> into the HTML portion of posts.

    My issue occurs when I publish an article and press the button. It leads to the single post page for the article, however it's cropping off all the text that was displayed prior to the 'More' link. So the text that is on the main page, which is followed by the 'More' link, is not showing once I press that 'More' button...

    The only way I can get the entire article, including the text that precedes the More link on the first page, is to click on the title of the post.

    I don't think it was always like this, and I don't know why this is happening now, but I've searched quite a bit and can't find an answer... Anyone out there know what's going on? Any help would be greatly appreciated!

    http://www.rabidpictures.com/blog

  2. alchymyth
    Forum Moderator
    Posted 2 years ago #

  3. rabidpictures
    Member
    Posted 2 years ago #

    Is there a particular place within the functions.php code I'm supposed to paste that in? Am I supposed to overwrite anything? I pasted it in at the bottom but it's not changing anything... Same problem occurs.

  4. alchymyth
    Forum Moderator
    Posted 2 years ago #

    any place should do;

    if in doubt, post the full code of functions.php here - please use the pastebin; see http://codex.wordpress.org/Forum_Welcome#Posting_Code

  5. Lee Samson
    Member
    Posted 2 years ago #

    PLEASE alchymyth , I saw u teaching how to modify the footer of CalenotisMagazine THEME . Please , HELP ME WITH THIS ?
    If u can send for me the Footer.php

    Mail Me , [email address moderated - this forum does not provide support via email]

    Send for my email Please !

  6. rabidpictures
    Member
    Posted 2 years ago #

    <?php if ( function_exists('register_sidebars') )
     register_sidebars(array(
            'before_widget' => '',
        	'after_widget' => '',
     		'before_title' => '<h2>',
            'after_title' => '</h2>',
        ));
    ?>
    <?php // Search
    function widget_mytheme_search() {
    ?>
    <h2>Search</h2>
    <form id="searchform" method="get" action="<?php bloginfo('home'); ?>/"> <input type="text" value="type, hit enter" onfocus="if (this.value == 'type, hit enter') {this.value = '';}" onblur="if (this.value == '') {this.value = 'type, hit enter';}" size="18" maxlength="50" name="s" id="s" /> </form>
    <?php
    }
    if ( function_exists('register_sidebar_widget') )
        register_sidebar_widget(__('Search'), 'widget_mytheme_search');
    ?>
    <?php
    add_filter('comments_template', 'legacy_comments');
    function legacy_comments($file) {
    	if(!function_exists('wp_list_comments')) : // WP 2.7-only check
    		$file = TEMPLATEPATH . '/legacy.comments.php';
    	endif;
    	return $file;
    function remove_more_jump_link($link) {
    $offset = strpos($link, '#more-');
    if ($offset) {
    $end = strpos($link, '"',$offset);
    }
    if ($end) {
    $link = substr_replace($link, '', $offset, $end-$offset);
    }
    return $link;
    }
    add_filter('the_content_more_link', 'remove_more_jump_link');
    }?>

    [No bumping, thank you.]

Topic Closed

This topic has been closed to new replies.

About this Topic