WordPress.org

Ready to get started?Download WordPress

Forums

Changing 'Read More' Button (4 posts)

  1. jimmy1234678
    Member
    Posted 1 year ago #

    I've recently installed a new theme and have been trying to alter some of the design features on the front page.

    I have the most up to date posts, listed under a feature box, each with a read more button next to them by default.

    I want to change this 'Read More' text to something else but am having great difficulty attempting it.

    I've tried playing around with this code I have found

    [please use the code button to mark any posted code - the sections below are broken]

    <?php if($theme->display('read_more')) { ?>
    <div class="readmore">
    #more-<?php the_ID(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'themater' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php $theme->option('read_more'); ?>
    </div>
    <?php } ?>

    But as soon as I altered it to what I thought was right, which was this:

    [please use the code button to mark any posted code - the sections below are broken]

    <?php if($theme->display('get_it')) { ?>
    <div class="readmore">
    #more-<?php the_ID(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'themater' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php $theme->option('get_it'); ?>
    </div>
    <?php } ?>

    It disappeared. Any ideas?

  2. keesiemeijer
    moderator
    Posted 1 year ago #

    What theme are you using?

  3. jimmy1234678
    Member
    Posted 1 year ago #

    TechFront from newwpthemes(dot)com

  4. keesiemeijer
    moderator
    Posted 1 year ago #

    Since this is a commercial theme with its own functionality and support system, I recommend you contact the theme developer for assistance: http://newwpthemes.com/forum/

    If I look at the code you provided I think you can change the "read more" text in your theme's options page under Appearance > ???

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.