• Hi,

    I’ve found here three posts about my problem. And one in the forum “WordPress Germany”. I’ve tried all the things they said and some more. But there are no answers to resolve it.

    Iam working with WP 4.2.2 (multisite) and minamaze 1.1.9 and child. I want to change the text “read more”.

    I know, the code is in ‘/../parent_theme/admin/main/options/02.homepage.php’
    There I’ve changed it and it works.

    But I want to change it with the child. All other modifications in style.css and some pages.php – saved in ‘/../child_theme/…’ – working fine.

    My problem is how to tell WP, that I don’t want to use ’02.homepage.php’ from parent but from child. I know that first WP asks the child-infos and then the parent-infos.

    1) I’ve copied in my child – ‘/../child_theme/admin/main/options/02.homepage.php’ – and changed the text and nothing happens, shows the parent.

    2) Then I added a functions.php in my child:

    <?php
    	require_once( get_template_directory() . '/admin/main/options/02.homepage.php' );
    ?>

    (This is the same code as in functions.php-parent to include ’02.homepage.php’.) No error, but shows the parent.

    Changing code to
    require_once( get_stylesheet_directory() . '/admin/main/options/02.homepage.php' );
    –> Fatal error: Cannot redeclare thinkup_input_sliderhome() (previously declared in …/wp-content/themes/child/admin/main/options/02.homepage.php:14) in …/wp-content/themes/minamaze/admin/main/options/02.homepage.php on line 73

    I’ve tried many more. It’s to much to write it here. But I’ve got no success.

    So what can I do? Iam not well versed in php or programming themes and templates. Just learning by doing.

    Perhaps it’s only a problem in the free-version? Somewhere I’ve read that’s the problem of the code in parent. There is no if-exist-routine to make it possible to take the child-version of ’02.homepage.php’.

    Has anyone the answer to resolve this Problem?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi KuniTau,

    I use same theme on my wordpress website. I was searching same problem on google and I saw your message. Thank I fixed that problem.

    step 1: find 02.homepage.php and run it. “/admin/main/options/02.homepage.php”
    step 2: search “Read More” and find the div tags. And you will find 4 results. 1st one is on “slider”, other results for section button. You should change 3 of them and save it.

    ‘<p>‘ . __( ‘Read More’, ‘lan-thinkupthemes’ ) . ‘</p>’,
    ‘</div>’,
    ‘</div>’,
    ‘</article>’;

    echo ‘<article class=”section2 one_third”>’,
    ‘<div class=”section”>’,
    ‘<div class=”entry-header”>’;
    if ( empty( $thinkup_homepage_section2_image ) ) {
    echo ‘<img src=”‘ . get_template_directory_uri() . ‘/images/slideshow/featured2.png’ . ‘” alt=”” />’;
    } else {
    echo ‘<img src=”‘ . $thinkup_homepage_section2_image[0] . ‘” alt=”” />’;
    }
    echo ‘</div>’,
    ‘<div class=”entry-content”>’,
    ‘<h3>’ . esc_html( $thinkup_homepage_section2_title ) . ‘</h3>’ . wpautop( do_shortcode ( esc_html( $thinkup_homepage_section2_desc ) ) ),
    ‘<p>‘ . __( ‘Read More’, ‘lan-thinkupthemes’ ) . ‘</p>’,
    ‘</div>’,
    ‘</div>’,
    ‘</article>’;

    echo ‘<article class=”section3 one_third last”>’,
    ‘<div class=”section”>’,
    ‘<div class=”entry-header”>’;
    if ( empty( $thinkup_homepage_section3_image ) ) {
    echo ‘<img src=”‘ . get_template_directory_uri() . ‘/images/slideshow/featured3.png’ . ‘” alt=”” />’;
    } else {
    echo ‘<img src=”‘ . $thinkup_homepage_section3_image[0] . ‘” alt=”” />’;
    }
    echo ‘</div>’,
    ‘<div class=”entry-content”>’,
    ‘<h3>’ . esc_html( $thinkup_homepage_section3_title ) . ‘</h3>’ . wpautop( do_shortcode ( esc_html( $thinkup_homepage_section3_desc ) ) ),
    ‘<p>‘ . __( ‘Read More’, ‘lan-thinkupthemes’ ) . ‘</p>’,

    My new codes:

    ‘<p>‘ . __( ‘Walnut Size ‘, ‘lan-thinkupthemes’ ) . ‘</p>’,
    ‘</div>’,
    ‘</div>’,
    ‘</article>’;

    echo ‘<article class=”section2 one_third”>’,
    ‘<div class=”section”>’,
    ‘<div class=”entry-header”>’;
    if ( empty( $thinkup_homepage_section2_image ) ) {
    echo ‘<img src=”‘ . get_template_directory_uri() . ‘/images/slideshow/featured2.png’ . ‘” alt=”” />’;
    } else {
    echo ‘<img src=”‘ . $thinkup_homepage_section2_image[0] . ‘” alt=”” />’;
    }
    echo ‘</div>’,
    ‘<div class=”entry-content”>’,
    ‘<h3>’ . esc_html( $thinkup_homepage_section2_title ) . ‘</h3>’ . wpautop( do_shortcode ( esc_html( $thinkup_homepage_section2_desc ) ) ),
    ‘<p>‘ . __( ‘Almond Size’, ‘lan-thinkupthemes’ ) . ‘</p>’,
    ‘</div>’,
    ‘</div>’,
    ‘</article>’;

    echo ‘<article class=”section3 one_third last”>’,
    ‘<div class=”section”>’,
    ‘<div class=”entry-header”>’;
    if ( empty( $thinkup_homepage_section3_image ) ) {
    echo ‘<img src=”‘ . get_template_directory_uri() . ‘/images/slideshow/featured3.png’ . ‘” alt=”” />’;
    } else {
    echo ‘<img src=”‘ . $thinkup_homepage_section3_image[0] . ‘” alt=”” />’;
    }
    echo ‘</div>’,
    ‘<div class=”entry-content”>’,
    ‘<h3>’ . esc_html( $thinkup_homepage_section3_title ) . ‘</h3>’ . wpautop( do_shortcode ( esc_html( $thinkup_homepage_section3_desc ) ) ),
    ‘<p>‘ . __( ‘Hazel Nut Size’, ‘lan-thinkupthemes’ ) . ‘</p>’,

    He cambiado en homepage02 las 4 opciones de read more pero todavia no puedo cambiarlo en la entradas porque es eso??? No me deja ver las entradas con Leer más.
    Alguna solucion

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘change text from 'read more'-Button’ is closed to new replies.