• Resolved 2oldfarmers

    (@2oldfarmers)


    Nice theme….

    How do I… Set Fulltext on All Posts and Remove Read More button ?

    There does not appear to be this option in the dashboard….

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author WP Puzzle

    (@wppuzzle)

    @2oldfarmers,

    add the following snippet to file functions.php of child theme or plugin FunctionsPHP:

    // remove excerpt
    function myslug_remove_the_excerpt(){
    	ob_start();
    }
    add_action( 'basic_before_post_excerpt', 'myslug_remove_the_excerpt' );
    
    // echo content
    function myslug_add_the_content(){
    	ob_get_clean();
    	the_content();
    }
    add_action( 'basic_after_post_excerpt', 'myslug_add_the_content' );
    
    // remove read more link
    function slug_remove_morelink(){
        remove_action( 'basic_after_post_excerpt', 'basic_the_more_link' );
    }
    add_action( 'init', 'slug_remove_morelink', 20 );
    Thread Starter 2oldfarmers

    (@2oldfarmers)

    Works like a charm…

    Thanks wpPuzzle!

    Thread Starter 2oldfarmers

    (@2oldfarmers)

    Works like a charm….

    Thanks!!!

    Theme Author WP Puzzle

    (@wppuzzle)

    We are always happy to help!

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

The topic ‘Set Fulltext on Posts and Remove Read More button….’ is closed to new replies.