Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter minimatical

    (@minimatical)

    Oh, that was ok in Home page. But when I open a single article, in his footer I can read:

    This entry was posted in xxxxx by yyyyy

    So I have find this in content-featured.php
    and content-single.php
    so I have deleted:
    by <a href="%6$s">%5$s</a>
    (and I also have translate in my language)

    so I have put this two files in “twentyeleven-child-theme” folder, and now its ok!

    Thread Starter minimatical

    (@minimatical)

    Oh yesss!!! now all working good!!
    Realy thank you!!! have a good day

    Thread Starter minimatical

    (@minimatical)

    So it is something wrong in my functions.php

    Thread Starter minimatical

    (@minimatical)

    Thank you alchymyth !
    I have add this line in style.css:
    Template: twentyeleven
    and now I can see my custom theme in admin pannel!

    But…when I going to active it… all my website go in crash!
    and give me this message:

    Parse error: syntax error, unexpected ‘)’ in /web/htdocs/www.mywebsite.com/home/wp-content/themes/twentyeleven-child-theme/functions.php on line 9

    Thread Starter minimatical

    (@minimatical)

    Now in my wp-content/themes I have this folders:

    – “twentyeleven” (with all the original files)
    – “twentyeleven-child-theme” (my new-custom folder).

    In this folder I have put 5 files:
    style.css its equal to the original but I have just change that:

    /*
    Theme Name: Twenty Eleven (Child Theme)

    and I have change the same line also in this files: editor-style.css, editor-style-rtl.css and rtl.css.

    and in functions.php I have just put your code:

    <?php
    
    function twentyeleven_posted_on() {
      printf( __( '<span class="sep">Posted on </span><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s" pubdate>%4$s</time></a>', 'twentyeleven' ),
        esc_url( get_permalink() ),
        esc_attr( get_the_time() ),
        esc_attr( get_the_date( 'c' ) ),
        esc_html( get_the_date() ),
      );
    }
    
    ?>

    I have clean my cache browser and go in admin pannel, but I can’t see my custom theme. Just “Twenty Eleven 1.2” (the original) like default.

    Thread Starter minimatical

    (@minimatical)

    Realy thank you for the Reply!!
    I have never create a Child Theme, so it is my first!

    so I have create a new folder:
    wp-content/themes/twentyeleven-child-theme
    and I have put in it two files:

    style.css
    it’s the same of “twentyeleven” just change the “Theme Name” in the code.

    functions.php
    with that code in it:

    <?php
    
    function twentyeleven_posted_on() {
      printf( __( '<span class="sep">Posted on </span><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s" pubdate>%4$s</time></a>', 'twentyeleven' ),
        esc_url( get_permalink() ),
        esc_attr( get_the_time() ),
        esc_attr( get_the_date( 'c' ) ),
        esc_html( get_the_date() ),
      );
    }
    
    ?>

    I don’t know if it is the right procedure… for now nothing change in my website! =P

    P.S.
    Sorry for my bad english

    Thread Starter minimatical

    (@minimatical)

    I have try to remove in “wp-app.php”:

    $post_author = (int) $user_ID;

    and in “wp-content\themes\twentyeleven” in page functions.php

    I have try to remove:

    esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
    sprintf( esc_attr__( 'View all posts by %s', 'twentyeleven' ), get_the_author() ),
    esc_html( get_the_author() )

    but nothing change!

    Thread Starter minimatical

    (@minimatical)

    oh yess!!!!!!!!! it’s that!!
    realy thank you!!

    CIAO!!!

    Thread Starter minimatical

    (@minimatical)

    I’m sorry, this is a new website and I have it just in local for now!

    I have take a screenshot of menu, you can see it here:
    https://i35.photobucket.com/albums/d159/Hippyitaly/Temp/sottomenu.jpg

    I have change all the black text with a yellow/brown color (RGB: #fdf3d1), so now I need change also the submenu background color from white to red!

    I hope this is possible, but I don’t know how I can change my style.css!

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