• Hello Everyone.

    I have a simple problem. I would like for my posts to be displayed fully, without the “read more” option.

    I have already changed my reading settings to full text, but no luck.

    I am using the shop isle theme.

    Here is the example from my webpage: https://www.thadopeman.com/category/culture/

    My two questions to anyone who can help, is what shall I enter into my child theme page, functions.php section

    And Since I already have one function in functions.php section, would i just enter it after the first beginning with <?php

    I really appreciate it guys, thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • check archive.php ; find and delete “, ‘<!–more–>'”

    $shop_isleismore = @strpos( $post->post_content, '<!--more-->');
    TO
    $shop_isleismore = @strpos( $post->post_content);

    Let me know how it works ??

    PS: I think you should copy the archive.php file in your child folder, and make the edits there.

    Thread Starter Tha Dopeman

    (@donpeoples89)

    I haven’t gotten this to work. Perhaps I am doing something wrong because I am unfamiliar with coding.

    When I added the archive.php from the parent theme to the functions. php of the child theme, the website crashed. Luckily, I don’t have much content to begin with.

    Any suggestions why this may be happening? Before I am copying the archive.php into the child theme, my function .php is as follows

    <?php
    // Exit if accessed directly
    if ( !defined( ‘ABSPATH’ ) ) exit;

    // BEGIN ENQUEUE PARENT ACTION
    // AUTO GENERATED – Do not modify or remove comment markers above or below:

    // END ENQUEUE PARENT ACTION
    add_filter( ‘get_the_archive_title’, function ($title) {
    if ( is_category() ) {
    $title = single_cat_title( ”, false );
    } elseif ( is_tag() ) {
    $title = single_tag_title( ”, false );
    } elseif ( is_author() ) {
    $title = ‘<span class=”vcard”>’ . get_the_author() . ‘</span>’ ;
    }
    return $title;
    });

    Don’t copy archive.php into functions.php, that’s not what you want.

    Can you share the contents of archive.php? Place it inside `s to properly format it, or if it’s long, add it to something like a <a href=”https://gist.github.com”>gist</a&gt; or <a href=”https://jsfiddle.net”>fiddle</a&gt;.

    I suspect it’s just a matter of replacing any reference to the_excerpt() to the_content().

    Thread Starter Tha Dopeman

    (@donpeoples89)

    Thanks guys. I did a little research and was able to fix it.

    It was a combination of what you both said.

    Much Appreciated

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Displaying Full Posts and Removing "Read More"’ is closed to new replies.