Forums

[constructor theme] Change "Read the rest of this entry' (2 posts)

  1. u88257
    Member
    Posted 1 year ago #

    i want to change Read the rest of this entry to read more....
    and add a post view beside it.
    but when i look at index.php i only see

    [please read the forum guidelines for posting code]

    <?php
    /**
    * @package WordPress
    * @subpackage constructor
    */
    // Stupid Parser This is Theme support the Gravatar Service
    // get_avatar();
    
    // load header.php
    get_header();
    
    // load one of layout pages (layouts/*.php) based on settings
    get_constructor_layout('index');
    
    // load footer.php
    get_footer();
    ?>

    i have try other php file like post single etc...
    but not work at all somebody help plz?

  2. Tara
    Member
    Posted 1 year ago #

    try placing this filter in your theme's functions.php

    [please read the forum guidelines for posting code - the code below is already corrupted and useless]

    function new_excerpt_more($more) {
    global $post;
    return 'ID) . '">Read More...';
    }
    add_filter('excerpt_more', 'new_excerpt_more');

Topic Closed

This topic has been closed to new replies.

About this Topic