Problem with custom modifications after update

This topic has 4 replies, 3 voices, and was last updated 9 years ago ago by Jack Richardson

  • Avatar: craftytrader
    craftytrader
    Participant
    October 22, 2015 at 21:38

    Hi,
    Every time after update I need to modifying some files to make my site look like before. It is very time-consuming and tedious operation.

    Be so kind and make my life easier and help me to save my modifications in Child Theme, to not be change after Theme upgrade.

    I mean:
    1. shortcodes.php
    2. theme-functions.php
    3. Blog site – single post (wp-picture on top of post, after hover “view large” https://dworeksiadlo.pl/komunia-darii/) – I don’t need that
    4. Blog site – suggestions (może cię zainteresować, https://dworeksiadlo.pl/komunia-darii/) – I don’t need date, author etc., and “comments are closed.
    5. Another big problem (not connecting to the theme update) is that google webmaster tool is still showing errors with hentry (microformats.org) – please check it.

    Looking for answer,

    Regards,
    Artur

    3 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    October 23, 2015 at 08:02

    Hello,

    Please specify what changes exactly were made in the files and we’ll help you to move them to child theme.

    Regards,
    Eva Kemp.

    Avatar: craftytrader
    craftytrader
    Participant
    October 23, 2015 at 20:00

    Hello,

    Language (translations to polish) made in:
    – contact form labels – shortcodes.php
    – blog and navigation labels (Site breadcrumbs) – theme-functions.php
    – Blog site – single post (wp-picture on top of post, after hover “view large” https://dworeksiadlo.pl/komunia-darii/) – removing manually by myself.
    – Blog site – suggestions (może cię zainteresować, https://dworeksiadlo.pl/komunia-darii/) – I don’t need date, author etc., and “comments are closed” – removing manually by myself.
    – every time after theme update I need to overwrite captcha file to make captcha image showing

    That all what I remember at this moment.

    Another big problem (not connecting to the theme update) is that google webmaster tool is still showing errors with hentry (microformats.org). In tags and blog posts: there are missing: author, entry-title and updated – please check it.

    Looking forward,

    Regards,
    Artur

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    October 26, 2015 at 12:33

    Hello,

    1. I’ve copied the code from shortcodes.php file to child functions.php.

    2. Please specify what code exactly you changed in theme-functions.php.

    3. I’ve copied the file single.php to wp-content/themes/royal-child directory and commented the code in line 74:

    <div class="zoom">
    									<div class="btn_group">
    										<a href="<?php echo etheme_get_image(); ?>" class="btn btn-black xmedium-btn" rel="pphoto"><span><?php _e('View large', ETHEME_DOMAIN); ?></span></a>
    									</div>
    									<i class="bg"></i>
    								</div>

    4. I’ve copied the file comments.php to wp-content/themes/royal-child directory and commented the code in line 39:
    <p><?php _e('Comments are closed', ETHEME_DOMAIN) ?></p>

    To remove date, author you need add this code in child style.css file:

    .meta-post {
       display: none;
    }

    5.

    In tags and blog posts: there are missing: author, entry-title and updated – please check it.

    We’ll fix it in the next theme update.

    Best regards,
    Jack Richardson.

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.