Viewing 14 replies - 1 through 14 (of 14 total)
  • Moderator t-p

    (@t-p)

    look into content.php and content-single.php (depending on if you want to change the line in the index page or in single posts).

    please make sure to work with a child theme https://codex.www.ads-software.com/Child_Themes instead of editing the default Twenty Eleven directly.

    Thread Starter seachen

    (@seachen)

    hi, must work with child theme? default twenty eleven cant edit directly?

    hi, must work with child theme? default twenty eleven cant edit directly?

    reasons to work with a child theme:
    a:
    an unedited default theme Twenty Eleven is important in case your site crashes, as a fallback theme for troubleshooting;
    b:
    a child theme keeps customisations safe during an upgrade of the Twenty Eleven theme, which otherwise get overwritten;
    c:
    a well organized child theme makes it easier to keep track on the edits.

    – there is no technical reason against editing Twenty Eleven directly – however, this forum will be very reluctant to help with any problems arising through editing the default Twenty Eleven.

    Thread Starter seachen

    (@seachen)

    thanks. like this case, how to create child theme?

    how to create child theme?

    @t-p already posted the link to the ‘child themes’ codex chapter https://codex.www.ads-software.com/Child_Themes

    – where are you stuck in following that?

    Thread Starter seachen

    (@seachen)

    “Create a directory, put a properly formatted style.css file in it”

    Is it mean create a directory at wp-content/themes/anyname/ ?

    Yes.

    Thread Starter seachen

    (@seachen)

    after that copy all the file from Twenty Eleven theme to new folder ?

    No. Please see the page at the link that alchymyth posted above.

    Thread Starter seachen

    (@seachen)

    may i know what mean “put a properly formatted style.css file in it, and you have a child theme”

    Moderator t-p

    (@t-p)

    In the code link I posted, please review this section:
    https://codex.www.ads-software.com/Child_Themes#Example_of_a_basic_Child_Theme

    Thread Starter seachen

    (@seachen)

    i have done below step:

    Make a new directory in wp-content/themes, and name it twentyeleven-child (or anything you like).
    Save the code below in a file named style.css, and drop this file in the new directory.
    Go to Dashboard ? Themes and activate your new theme, the Twenty Eleven Child.

    what mean “/* opens the child theme’s information header.” ?

    Moderator t-p

    (@t-p)

    I am not sure what your question is.

    Thread Starter seachen

    (@seachen)

    I have been done below step:

    Make a new directory in wp-content/themes, and name it twentyeleven-child (or anything you like).
    Save the code below in a file named style.css, and drop this file in the new directory.
    Go to Dashboard ? Themes and activate your new theme, the Twenty Eleven Child.

    After that, I wish to edit the appearance of the new theme.

    I like to hide date (Posted on …) and category (Posted in …)

    What should I do next step?

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘how to hide Twenty Eleven theme front page date and catagory’ is closed to new replies.