Title: omm2018's Replies | WordPress.org

---

# omm2018

  [  ](https://wordpress.org/support/users/omm2018/)

 *   [Profile](https://wordpress.org/support/users/omm2018/)
 *   [Topics Started](https://wordpress.org/support/users/omm2018/topics/)
 *   [Replies Created](https://wordpress.org/support/users/omm2018/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/omm2018/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/omm2018/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/omm2018/engagements/)
 *   [Favorites](https://wordpress.org/support/users/omm2018/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[GeneratePress] How to resize the content](https://wordpress.org/support/topic/how-to-resize-the-content/)
 *  Thread Starter [omm2018](https://wordpress.org/support/users/omm2018/)
 * (@omm2018)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/how-to-resize-the-content/#post-10754751)
 * Thanks Leo,
    I didn’t change any of the setting on the setting menu you mentioned.
   I mean it was default. But I was able to fix this problem through page builder.
   Thanks again,
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[GeneratePress] How to change footer display](https://wordpress.org/support/topic/how-to-change-footer-display/)
 *  Thread Starter [omm2018](https://wordpress.org/support/users/omm2018/)
 * (@omm2018)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/how-to-change-footer-display/#post-10745834)
 * Ok. Thanks,Tom.
    It’s OK now. I appreciate it. Thanks for your time again.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[GeneratePress] How to change footer display](https://wordpress.org/support/topic/how-to-change-footer-display/)
 *  Thread Starter [omm2018](https://wordpress.org/support/users/omm2018/)
 * (@omm2018)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/how-to-change-footer-display/#post-10744108)
 * Yes. But there is no code in child theme now. Simply, I tried to put the code
   above.
 * Parent’s functions.php is
 *     ```
       <?php
       /**
        * GeneratePress.
        *
        * Please do not make any edits to this file. All edits should be done in a child theme.
        *
        * @package GeneratePress
        */
   
       if ( ! defined( 'ABSPATH' ) ) {
       	exit; // Exit if accessed directly.
       }
   
       // Set our theme version.
       define( 'GENERATE_VERSION', '2.1.4' );
   
       if ( ! function_exists( 'generate_setup' ) ) {
       	add_action( 'after_setup_theme', 'generate_setup' );
       	/**
       	 * Sets up theme defaults and registers support for various WordPress features.
       	 *
       	 * @since 0.1
       	 */
       	function generate_setup() {
       		// Make theme available for translation.
       		load_theme_textdomain( 'generatepress' );
   
       		// Add theme support for various features.
       		add_theme_support( 'automatic-feed-links' );
       		add_theme_support( 'post-thumbnails' );
       		add_theme_support( 'post-formats', array( 'aside', 'image', 'video', 'quote', 'link', 'status' ) );
       		add_theme_support( 'woocommerce' );
       		add_theme_support( 'title-tag' );
       		add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption' ) );
       		add_theme_support( 'customize-selective-refresh-widgets' );
   
       		add_theme_support( 'custom-logo', array(
       			'height' => 70,
       			'width' => 350,
       			'flex-height' => true,
       			'flex-width' => true,
       		) );
   
       		// Register primary menu.
       		register_nav_menus( array(
       			'primary' => __( 'Primary Menu', 'generatepress' ),
       		) );
   
       		/**
       		 * Set the content width to something large
       		 * We set a more accurate width in generate_smart_content_width()
       		 */
       		global $content_width;
       		if ( ! isset( $content_width ) ) {
       			$content_width = 1200; /* pixels */
       		}
   
       		// This theme styles the visual editor to resemble the theme style.
       		add_editor_style( 'css/admin/editor-style.css' );
       	}
       }
   
       /**
        * Get all necessary theme files
        */
       require get_template_directory() . '/inc/theme-functions.php';
       require get_template_directory() . '/inc/defaults.php';
       require get_template_directory() . '/inc/class-css.php';
       require get_template_directory() . '/inc/css-output.php';
       require get_template_directory() . '/inc/general.php';
       require get_template_directory() . '/inc/customizer.php';
       require get_template_directory() . '/inc/markup.php';
       require get_template_directory() . '/inc/element-classes.php';
       require get_template_directory() . '/inc/typography.php';
       require get_template_directory() . '/inc/plugin-compat.php';
       require get_template_directory() . '/inc/migrate.php';
       require get_template_directory() . '/inc/deprecated.php';
   
       if ( is_admin() ) {
       	require get_template_directory() . '/inc/meta-box.php';
       	require get_template_directory() . '/inc/dashboard.php';
       }
   
       /**
        * Load our theme structure
        */
       require get_template_directory() . '/inc/structure/archives.php';
       require get_template_directory() . '/inc/structure/comments.php';
       require get_template_directory() . '/inc/structure/featured-images.php';
       require get_template_directory() . '/inc/structure/footer.php';
       require get_template_directory() . '/inc/structure/header.php';
       require get_template_directory() . '/inc/structure/navigation.php';
       require get_template_directory() . '/inc/structure/post-meta.php';
       require get_template_directory() . '/inc/structure/sidebars.php';
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[GeneratePress] How to change footer display](https://wordpress.org/support/topic/how-to-change-footer-display/)
 *  Thread Starter [omm2018](https://wordpress.org/support/users/omm2018/)
 * (@omm2018)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/how-to-change-footer-display/#post-10741560)
 * After the recovery, I tried again adding the script, but couldn’t make it.
    It
   returned the syntax error.
 * “Your PHP code changes were rolled back due to an error on line 6 of file wp-
   content/themes/generatepress-child/functions.php. Please fix and try saving again.
   
   syntax error, unexpected ‘}'”
 * code is:
 *     ```
       add_filter( 'generate_copyright','tu_custom_copyright' );
       function tu_custom_copyright() {
           ?>
           &copy;2018 Oriental Mobile Massage
           <?php
       }
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[GeneratePress] How to change footer display](https://wordpress.org/support/topic/how-to-change-footer-display/)
 *  Thread Starter [omm2018](https://wordpress.org/support/users/omm2018/)
 * (@omm2018)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/how-to-change-footer-display/#post-10741104)
 * Hi Tom, I tried to add the in functions.php
    Got an fatal error.
 * message is:
    “Fatal error: Cannot redeclare generate_no_cache_dynamic_css() (
   previously declared in /home/aunnatur/public_html/wp-content/themes/generatepress/
   inc/css-output.php:715) in /home/aunnatur/public_html/wp-content/themes/generatepress/
   inc/css-output.php on line 715”
 * I didn’t change any of it in css-output.php.
    Now what should I do?
 * I can access my website only from incognito window.
    I can’t go to dashboard 
   now.
    -  This reply was modified 7 years, 7 months ago by [omm2018](https://wordpress.org/support/users/omm2018/).
    -  This reply was modified 7 years, 7 months ago by [omm2018](https://wordpress.org/support/users/omm2018/).
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[GeneratePress] How to change footer display](https://wordpress.org/support/topic/how-to-change-footer-display/)
 *  Thread Starter [omm2018](https://wordpress.org/support/users/omm2018/)
 * (@omm2018)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/how-to-change-footer-display/#post-10738315)
 * Thanks, Leo and Tom.
 * I installed plugin ‘code snippets’ and inserted that code. It worked.
    But why
   didn’t work adding in function.php in my GeneratePress-child theme?
 * Maybe I should have added on parent theme?
 * Thanks.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[GeneratePress] How to change footer display](https://wordpress.org/support/topic/how-to-change-footer-display/)
 *  Thread Starter [omm2018](https://wordpress.org/support/users/omm2018/)
 * (@omm2018)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/how-to-change-footer-display/#post-10737980)
 * Hi Leo,
 * Yes I have tried that several times but it didn’t work either.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to get rid of some texts in the footer display](https://wordpress.org/support/topic/how-to-get-rid-of-some-texts-in-the-footer-display/)
 *  Thread Starter [omm2018](https://wordpress.org/support/users/omm2018/)
 * (@omm2018)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/how-to-get-rid-of-some-texts-in-the-footer-display/#post-10737747)
 * OK, Thanks.

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