How To Install Wordpress?

How to install a child theme in WordPress.

  • Two part WordPress question (child themes and Twenty Eleven template.) 1. How do I install a child theme? (specifically for the Twenty Eleven default template) (Where do I get one?) I need to make some customizations to Twenty Eleven, specifically resizing the header and including a sidebar on single pages. From reading around it appears I should install a child theme 1st before customizing in order to ensure my changes are still there when the WP (theme?) is updated. 2. For the WP Twenty Eleven theme, the static Home page can be updated with as many posts as you want. (It is a setting.) How do I make it display so the 1st post is fully readable, and all the posts after that are just a summary that states 'read more' at the end? Sorry for the lengthy details! Thank You in advance! And god help me trying to figure this out!

  • Answer:

    1. Here's a http://themeshaper.com/modify-wordpress-themes/. Basically you install one as a separate theme directory, but it has code that explicitly references the parent theme in it. 2. You'd probably want to implement a new index.php file in your child theme with a different http://codex.wordpress.org/The_Loop. I've done something like this before. http://pastebin.com/UBSVnUH3. Note that this is hard-coded to do one post in full + 5 excerpts. This would replace everything in the 2011 index.php file after <?php if ( have_posts() ) : ?> and before <?php else : ?>. Note that I've used some classes and IDs differently in my code, so you'd probably want to make appropriate changes.

modoriculous at Ask.Metafilter.Com Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.