Viewing 15 replies - 1 through 15 (of 16 total)
  • First you need make a child theme to edit default Twenty Eleven theme
    http://codex.ww.wp.xz.cn/Child_Themes
    you will need copy footer.php file in your child theme then in child theme footer.php you can edit this div

    div id="site-generator">
    				<?php do_action( 'twentyeleven_credits' ); ?>
    				<a href="<?php echo esc_url( __( 'http://ww.wp.xz.cn/', 'twentyeleven' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyeleven' ); ?>" rel="generator"><?php printf( __( 'Proudly powered by %s', 'twentyeleven' ), 'WordPress' ); ?></a>
    			</div>

    Thread Starter cxm

    (@cxm)

    Dear Govpatel,
    Thank you for the prompt response.

    As per your instruction, I have created a Twenty Eleven-Child theme in my wp_content-theme directory.

    I have follow your specific instruction however I tried to launch twenty eleven-child unfortunately, I cannot find it in my Theme: Twenty Eleven-Child (perhaps I have got it wrong)

    My website is http://cxmcapital.com/

    Should I used a different naming convention? If YES, please advise?
    My goal is to change a simple text from “Proudly powered by WordPress” to “Entire Content Copyright 2008-2012 by CXM Capital Inc”

    WordPress is a great Tool/Provider/Platform – simple to use but we try to customize to meet our local requirements.

    Thank you for assisting again. Hopefully we can get this right and move on in developing the website to be eCommerce with payment capability. Many thinks to do.

    Thanks
    CXM

    When you created the child did you add style.css file in the child theme folder and have this at top

    /*
    Theme Name: Twentyeleven Child
    Description: Child theme for the twentyeleven theme
    Author: Your name here
    Template: twentyeleven
    */
    
    @import url("../twentyeleven/style.css");

    then copy footer.php file.
    If so if you go to Appearance>>>>>Themes and you should see the child theme there.

    Thread Starter cxm

    (@cxm)

    When I created the twentyeleven child – I merely created the Directory – TwentyEleven-Child by copying over the twentyeleven Directory and rename it to twentyeleven-child as my Web Hosting is with http://www.godaddy.com

    In the wp-content -> themes Directory
    We have Sub-Directory – twentyeleven
    Newly created Sub-Directory under themes as per your instruction – was -twentyeleven-child

    In both of these Sub-Directories we have only files like
    -editor-style-rtl.css
    -editor-style.css
    -footer.php

    I am not able to find style.css file except of the above.
    I am no expert in CODEX or WORDPRESS and I am trying to make my FIRST ATTEMPT on WORDPRESS a successful experience so that we can promtply put something up while we work hard to ge the business outthere.

    I am not able to find style.css except those mentioned above in the twentyeleven main directories.

    Would appreciate if you could guide me through – after, this is only a small amendments of the footer.php file and not the entire WordPress twentyeleven program etc.

    Thank You
    CXM
    We hope

    style.css file is there in twenty eleven theme check again as the theme will not work without the file I see it in code
    /wp-content/themes/twentyeleven/style.css

    Looks like you still have parent theme active.

    Your child theme folder can only have two files style.css with the code I posted above and any changes you want to make to the theme styling you add the code in style.css and make the change.

    As for footer you need copy the file in child theme folder and then make the change in the file as I posted.

    Thread Starter cxm

    (@cxm)

    I manage to find the syle.css file in Page 2 of the twentyeleven-child directory

    I have also added the following based on your instruction in the style.css file

    *** For Your Ref ***************
    /*
    Theme Name: Twentyeleven Child
    Description: Child theme for the twentyeleven theme (modified for CXM)
    Author: CXM
    Template: twentyeleven
    */
    @import url(“../twentyeleven/style.css”);
    /*
    Theme Name: Twenty Eleven
    Theme URI: http://ww.wp.xz.cn/extend/themes/twentyeleven
    Author: the WordPress team
    Author URI: http://ww.wp.xz.cn/
    Description: The 2011 theme for WordPress is sophisticated, lightweight, and adaptable. Make it yours with a custom menu, header image, and background — then go further with available theme options for light or dark color scheme, custom link colors, and three layout choices. Twenty Eleven comes equipped with a Showcase page template that transforms your front page into a showcase to show off your best content, widget support galore (sidebar, three footer areas, and a Showcase page widget area), and a custom “Ephemera” widget to display your Aside, Link, Quote, or Status posts. Included are styles for print and for the admin editor, support for featured images (as custom header images on posts and pages and as large images on featured “sticky” posts), and special styles for six different post formats.
    Version: 1.3
    License: GNU General Public License
    License URI: license.txt
    Tags: dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
    */
    ********* End of Ref *************
    However I now experience a different problem when I try to
    http://cxmcapital.com/

    The following is the error message

    Fatal error: Cannot redeclare twentyeleven_excerpt_length() (previously declared in /home/content/30/7756930/html/wp-content/themes/twentyeleven-child/functions.php:318) in /home/content/30/7756930/html/wp-content/themes/twentyeleven/functions.php on line 320

    Really need help to fix this – otherwise I have to revert back to twentyeleven (original version)

    Thank you for your help again
    CXM

    As I said in my post you do not need the whole directory as child theme all you need is files you making changes in, and style.css is must with just what I have in post unless you making any changes in code
    and you have functions.php file in directory and you only add functions that you modify or add in child theme functions.php file.

    So Go ahead and delete all you have in child theme folder and create style.css file and add this to file

    /*
    Theme Name: Twentyeleven Child
    Description: Child theme for the twentyeleven theme
    Author: Your name here
    Template: twentyeleven
    */
    
    @import url("../twentyeleven/style.css");

    then copy footer.php file from twentyeleven theme into child theme folder

    then make the change in div at bottom

    div id="site-generator">
    				<?php do_action( 'twentyeleven_credits' ); ?>
    				<a href="<?php echo esc_url( __( 'http://cxmcapital.com/', 'twentyeleven' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyeleven' ); ?>" rel="generator"><?php printf( __( 'Entire Content Copyright 2008-2012 by CXM Capital Inc' ), 'Cxm Capital' ); ?></a>
    			</div>

    You make any changes in ‘ ‘ marks

    Thread Starter cxm

    (@cxm)

    Hi Govpatel,
    Thank you for all your advise and instruction – it is indeed super helpful. I finally got my cxmcapital.com website working again
    Only one small problem.
    The footer is not on centralize page
    http://cxmcapital.com/

    Are you able to advise where did I go wrong?
    Thanks again
    CXM

    Looks like you have changed the code from what was there as I do not see
    <div id=”site-generator”> as that site-generator div centers and styles the div

    I see this in code

    <footer id="colophon" role="contentinfo">
    <a rel="generator" title="Semantic Personal Publishing Platform" href="http://cxmcapital.com/">Entire Content Copyright © 2008-2012 by CXM CAPITAL INC</a>

    Thread Starter cxm

    (@cxm)

    I did use your proposed code earlier:
    *** Proposed by Govpatel***
    div id=”site-generator”>
    <?php do_action( ‘twentyeleven_credits’ ); ?>
    ” title=”<?php esc_attr_e( ‘Semantic Personal Publishing Platform’, ‘twentyeleven’ ); ?>” rel=”generator”><?php printf( __( ‘Proudly powered by %s’, ‘twentyeleven’ ), ‘WordPress’ ); ?>
    </div>
    *** End of Code ***
    Based on the above code
    ‘div id=”site-generator”>’ was display in the footer itself/
    Hence when I removed it – I have footer that you are now seeing – which is align to Left of the Page.
    If I follow your instruction – please visit http://cxmcapital.com
    that is the another problem which I do not know how to fix either.

    Would appreciate a line response at the soonest on how to fix the div id=”site-generator”> being display

    Thanking you in advance
    CXM

    I see the problem my mistake in that code there < missing in front of div

    <div id="site-generator">
    				<?php do_action( 'twentyeleven_credits' ); ?>
    				<a href="<?php echo esc_url( __( 'http://cxmcapital.com/', 'twentyeleven' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyeleven' ); ?>" rel="generator"><?php printf( __( 'Entire Content Copyright 2008-2012 by CXM Capital Inc' ), 'Cxm Capital' ); ?></a>
    			</div>

    Copy this code in your childtheme footer.php replacing the same code with ww.wp.xz.cn as url

    Thread Starter cxm

    (@cxm)

    Thank you so much – it is working as per your instruction.
    This is perfect.

    You are welcome I am sorry about the error

    Thread Starter cxm

    (@cxm)

    Dear govpatel,
    I have another problem that was NOT FIX on my website: http://www.cxmcapital.com

    My Entries RSS and Comments RSS when click on produces a mess of codes on the website.

    How do I fix this?
    I do not need a Entries RSS or Comments RSS on my website – Do you have any advise how I should remove it?
    I try to remove it via my WIDGET unfortunately, it still show up in my website.

    Thank you for your attention
    CXM

    That is a Meta widget you can drag it out in Appearance>>>Widgets and use login widget for your register and login if you have one if not let me know.

Viewing 15 replies - 1 through 15 (of 16 total)

The topic ‘footer.php’ is closed to new replies.