Merge lp:~sillydeveloper/osdf/wp-big-block-page into lp:osdf/wp
- wp-big-block-page
- Merge into wp
Proposed by
Andrew Ettinger
Status: | Merged |
---|---|
Merged at revision: | 5 |
Proposed branch: | lp:~sillydeveloper/osdf/wp-big-block-page |
Merge into: | lp:osdf/wp |
Diff against target: |
401 lines (+95/-56) 9 files modified
big-block-page.php (+38/-0) comments.php (+13/-13) footer.php (+1/-1) functions.php (+11/-11) header.php (+3/-4) index.php (+14/-11) page.php (+2/-2) single.php (+12/-12) style.css (+1/-2) |
To merge this branch: | bzr merge lp:~sillydeveloper/osdf/wp-big-block-page |
Related bugs: | |
Related blueprints: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Toast McFarland | Approve | ||
myddrn | Approve | ||
Toast (community) | Abstain | ||
Andrew Ettinger | Approve | ||
Review via email: mp+43144@code.launchpad.net |
Commit message
Description of the change
Add in a template for big block of text like action.php
Add in Toast as author
Remove references to 'rpac template' from code; add in osdf.
To post a comment you must log in.
Revision history for this message
Toast (swetoast-deactivatedaccount) wrote : | # |
yepp ^^
review:
Abstain
Revision history for this message
myddrn (myddrn) wrote : | # |
skimmed through, didn't see anything crazy.
review:
Approve
Revision history for this message
Toast McFarland (daimoneze) wrote : | # |
Looks good. I recommend making this the default look of the "page" content type.
review:
Approve
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === added file 'big-block-page.php' |
2 | --- big-block-page.php 1970-01-01 00:00:00 +0000 |
3 | +++ big-block-page.php 2010-12-08 23:09:57 +0000 |
4 | @@ -0,0 +1,38 @@ |
5 | +<? |
6 | +/** |
7 | + * Template Name: One large block of text |
8 | + * |
9 | + * A custom page template without sidebar. |
10 | + * |
11 | + * The "Template Name:" bit above allows this to be selectable |
12 | + * from a dropdown menu on the edit page screen. |
13 | + * |
14 | + * @package WordPress |
15 | + * @subpackage osdf |
16 | + * @since osdf 2.0 |
17 | + */ |
18 | +?> |
19 | + |
20 | +<?php get_header(); ?> |
21 | + |
22 | + <div id="container"> |
23 | + <div id="content"> |
24 | + <div class='big_block'> |
25 | + <?php the_post(); ?> |
26 | + |
27 | + <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> |
28 | + <h3><?php the_title(); ?></h3> |
29 | + <div class="entry-content"> |
30 | + <?php the_content(); ?> |
31 | + <?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'osdf' ) . '&after=</div>') ?> |
32 | + <?php edit_post_link( __( 'Edit', 'osdf' ), '<span class="edit-link">', '</span>' ) ?> |
33 | + </div><!-- .entry-content --> |
34 | + </div><!-- #post-<?php the_ID(); ?> --> |
35 | + |
36 | + <?php //if ( get_post_custom_values('comments') ) comments_template() // Add a custom field with Name and Value of "comments" to enable comments on this page ?> |
37 | + </div> |
38 | + </div><!-- #content --> |
39 | + </div><!-- #container --> |
40 | + |
41 | + <?php //get_sidebar(); ?> |
42 | + <?php get_footer(); ?> |
43 | \ No newline at end of file |
44 | |
45 | === modified file 'comments.php' |
46 | --- comments.php 2010-11-25 02:58:47 +0000 |
47 | +++ comments.php 2010-12-08 23:09:57 +0000 |
48 | @@ -8,7 +8,7 @@ |
49 | if ( ! empty($post->post_password) ) : |
50 | if ( $_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password ) : |
51 | ?> |
52 | - <div class="nopassword"><?php _e('This post is password protected. Enter the password to view any comments.', 'rpac') ?></div> |
53 | + <div class="nopassword"><?php _e('This post is password protected. Enter the password to view any comments.', 'osdf') ?></div> |
54 | </div><!-- .comments --> |
55 | <?php |
56 | return; |
57 | @@ -29,7 +29,7 @@ |
58 | <?php if ( ! empty($comments_by_type['comment']) ) : ?> |
59 | |
60 | <div id="comments-list" class="comments"> |
61 | - <h3><?php printf($comment_count > 1 ? __('<span>%d</span> Comments', 'rpac') : __('<span>One</span> Comment', 'rpac'), $comment_count) ?></h3> |
62 | + <h3><?php printf($comment_count > 1 ? __('<span>%d</span> Comments', 'osdf') : __('<span>One</span> Comment', 'osdf'), $comment_count) ?></h3> |
63 | |
64 | <?php /* If there are enough comments, build the comment navigation */ ?> |
65 | <?php $total_pages = get_comment_pages_count(); if ( $total_pages > 1 ) : ?> |
66 | @@ -58,7 +58,7 @@ |
67 | <?php if ( ! empty($comments_by_type['pings']) ) : ?> |
68 | |
69 | <div id="trackbacks-list" class="comments"> |
70 | - <h3><?php printf($ping_count > 1 ? __('<span>%d</span> Trackbacks', 'rpac') : __('<span>One</span> Trackback', 'rpac'), $ping_count) ?></h3> |
71 | + <h3><?php printf($ping_count > 1 ? __('<span>%d</span> Trackbacks', 'osdf') : __('<span>One</span> Trackback', 'osdf'), $ping_count) ?></h3> |
72 | |
73 | <?php /* An ordered list of our custom trackbacks callback, custom_pings(), in functions.php */ ?> |
74 | <ol> |
75 | @@ -74,12 +74,12 @@ |
76 | <?php /* If comments are open, build the respond form */ ?> |
77 | <?php if ( 'open' == $post->comment_status ) : ?> |
78 | <div id="respond"> |
79 | - <h3><?php comment_form_title( __('Post a Comment', 'rpac'), __('Post a Reply to %s', 'rpac') ); ?></h3> |
80 | + <h3><?php comment_form_title( __('Post a Comment', 'osdf'), __('Post a Reply to %s', 'osdf') ); ?></h3> |
81 | |
82 | <div id="cancel-comment-reply"><?php cancel_comment_reply_link() ?></div> |
83 | |
84 | <?php if ( get_option('comment_registration') && !$user_ID ) : ?> |
85 | - <p id="login-req"><?php printf(__('You must be <a href="%s" title="Log in">logged in</a> to post a comment.', 'rpac'), |
86 | + <p id="login-req"><?php printf(__('You must be <a href="%s" title="Log in">logged in</a> to post a comment.', 'osdf'), |
87 | get_option('siteurl') . '/wp-login.php?redirect_to=' . get_permalink() ) ?></p> |
88 | |
89 | <?php else : ?> |
90 | @@ -89,44 +89,44 @@ |
91 | <form id="commentform" action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post"> |
92 | |
93 | <?php if ( $user_ID ) : ?> |
94 | - <p id="login"><?php printf(__('<span class="loggedin">Logged in as <a href="%1$s" title="Logged in as %2$s">%2$s</a>.</span> <span class="logout"><a href="%3$s" title="Log out of this account">Log out?</a></span>', 'rpac'), |
95 | + <p id="login"><?php printf(__('<span class="loggedin">Logged in as <a href="%1$s" title="Logged in as %2$s">%2$s</a>.</span> <span class="logout"><a href="%3$s" title="Log out of this account">Log out?</a></span>', 'osdf'), |
96 | get_option('siteurl') . '/wp-admin/profile.php', |
97 | wp_specialchars($user_identity, true), |
98 | wp_logout_url(get_permalink()) ) ?></p> |
99 | |
100 | <?php else : ?> |
101 | |
102 | - <p id="comment-notes"><?php _e('Your email is <em>never</em> published nor shared.', 'rpac') ?> <?php if ($req) _e('Required fields are marked <span class="required">*</span>', 'rpac') ?></p> |
103 | + <p id="comment-notes"><?php _e('Your email is <em>never</em> published nor shared.', 'osdf') ?> <?php if ($req) _e('Required fields are marked <span class="required">*</span>', 'osdf') ?></p> |
104 | |
105 | <div id="form-section-author" class="form-section"> |
106 | - <div class="form-label"><label for="author"><?php _e('Name', 'rpac') ?></label> <?php if ($req) _e('<span class="required">*</span>', 'rpac') ?></div> |
107 | + <div class="form-label"><label for="author"><?php _e('Name', 'osdf') ?></label> <?php if ($req) _e('<span class="required">*</span>', 'osdf') ?></div> |
108 | <div class="form-input"><input id="author" name="author" type="text" value="<?php echo $comment_author ?>" size="30" maxlength="20" tabindex="3" /></div> |
109 | </div><!-- #form-section-author .form-section --> |
110 | |
111 | <div id="form-section-email" class="form-section"> |
112 | - <div class="form-label"><label for="email"><?php _e('Email', 'rpac') ?></label> <?php if ($req) _e('<span class="required">*</span>', 'rpac') ?></div> |
113 | + <div class="form-label"><label for="email"><?php _e('Email', 'osdf') ?></label> <?php if ($req) _e('<span class="required">*</span>', 'osdf') ?></div> |
114 | <div class="form-input"><input id="email" name="email" type="text" value="<?php echo $comment_author_email ?>" size="30" maxlength="50" tabindex="4" /></div> |
115 | </div><!-- #form-section-email .form-section --> |
116 | |
117 | <div id="form-section-url" class="form-section"> |
118 | - <div class="form-label"><label for="url"><?php _e('Website', 'rpac') ?></label></div> |
119 | + <div class="form-label"><label for="url"><?php _e('Website', 'osdf') ?></label></div> |
120 | <div class="form-input"><input id="url" name="url" type="text" value="<?php echo $comment_author_url ?>" size="30" maxlength="50" tabindex="5" /></div> |
121 | </div><!-- #form-section-url .form-section --> |
122 | |
123 | <?php endif /* if ( $user_ID ) */ ?> |
124 | |
125 | <div id="form-section-comment" class="form-section"> |
126 | - <div class="form-label"><label for="comment"><?php _e('Comment', 'rpac') ?></label></div> |
127 | + <div class="form-label"><label for="comment"><?php _e('Comment', 'osdf') ?></label></div> |
128 | <div class="form-textarea"><textarea id="comment" name="comment" cols="45" rows="8" tabindex="6"></textarea></div> |
129 | </div><!-- #form-section-comment .form-section --> |
130 | |
131 | <div id="form-allowed-tags" class="form-section"> |
132 | - <p><span><?php _e('You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:', 'rpac') ?></span> <code><?php echo allowed_tags(); ?></code></p> |
133 | + <p><span><?php _e('You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:', 'osdf') ?></span> <code><?php echo allowed_tags(); ?></code></p> |
134 | </div> |
135 | |
136 | <?php do_action('comment_form', $post->ID); ?> |
137 | |
138 | - <div class="form-submit"><input id="submit" name="submit" type="submit" value="<?php _e('Post Comment', 'rpac') ?>" tabindex="7" /><input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /></div> |
139 | + <div class="form-submit"><input id="submit" name="submit" type="submit" value="<?php _e('Post Comment', 'osdf') ?>" tabindex="7" /><input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /></div> |
140 | |
141 | <?php comment_id_fields(); ?> |
142 | |
143 | |
144 | === modified file 'footer.php' |
145 | --- footer.php 2010-12-06 23:27:50 +0000 |
146 | +++ footer.php 2010-12-08 23:09:57 +0000 |
147 | @@ -1,4 +1,4 @@ |
148 | -</div> |
149 | + |
150 | </div> |
151 | <div id="footer"> |
152 | <img src="/images/footer_logo.gif" alt="" title="" width="61" height="61" class="left" /> |
153 | |
154 | === modified file 'functions.php' |
155 | --- functions.php 2010-11-25 02:58:47 +0000 |
156 | +++ functions.php 2010-12-08 23:09:57 +0000 |
157 | @@ -1,7 +1,7 @@ |
158 | <?php |
159 | // Make theme available for translation |
160 | // Translations can be filed in the /languages/ directory |
161 | -load_theme_textdomain( 'rpac', TEMPLATEPATH . '/languages' ); |
162 | +load_theme_textdomain( 'osdf', TEMPLATEPATH . '/languages' ); |
163 | |
164 | $locale = get_locale(); |
165 | $locale_file = TEMPLATEPATH . "/languages/$locale.php"; |
166 | @@ -11,7 +11,7 @@ |
167 | // Get the page number |
168 | function get_page_number() { |
169 | if ( get_query_var('paged') ) { |
170 | - print ' | ' . __( 'Page ' , 'rpac') . get_query_var('paged'); |
171 | + print ' | ' . __( 'Page ' , 'osdf') . get_query_var('paged'); |
172 | } |
173 | } // end get_page_number |
174 | |
175 | @@ -20,12 +20,12 @@ |
176 | $GLOBALS['comment'] = $comment; |
177 | ?> |
178 | <li id="comment-<?php comment_ID() ?>" <?php comment_class() ?>> |
179 | - <div class="comment-author"><?php printf(__('By %1$s on %2$s at %3$s', 'rpac'), |
180 | + <div class="comment-author"><?php printf(__('By %1$s on %2$s at %3$s', 'osdf'), |
181 | get_comment_author_link(), |
182 | get_comment_date(), |
183 | get_comment_time() ); |
184 | - edit_comment_link(__('Edit', 'rpac'), ' <span class="meta-sep">|</span> <span class="edit-link">', '</span>'); ?></div> |
185 | - <?php if ($comment->comment_approved == '0') _e('\t\t\t\t\t<span class="unapproved">Your trackback is awaiting moderation.</span>\n', 'rpac') ?> |
186 | + edit_comment_link(__('Edit', 'osdf'), ' <span class="meta-sep">|</span> <span class="edit-link">', '</span>'); ?></div> |
187 | + <?php if ($comment->comment_approved == '0') _e('\t\t\t\t\t<span class="unapproved">Your trackback is awaiting moderation.</span>\n', 'osdf') ?> |
188 | <div class="comment-content"> |
189 | <?php comment_text() ?> |
190 | </div> |
191 | @@ -44,27 +44,27 @@ |
192 | echo $avatar . ' <span class="fn n">' . $commenter . '</span>'; |
193 | } // end commenter_link |
194 | |
195 | -// Custom callback to list comments in the rpac style |
196 | +// Custom callback to list comments in the osdf style |
197 | function custom_comments($comment, $args, $depth) { |
198 | $GLOBALS['comment'] = $comment; |
199 | $GLOBALS['comment_depth'] = $depth; |
200 | ?> |
201 | <li id="comment-<?php comment_ID() ?>" <?php comment_class() ?>> |
202 | <div class="comment-author vcard"><?php commenter_link() ?></div> |
203 | - <div class="comment-meta"><?php printf(__('Posted %1$s at %2$s <span class="meta-sep">|</span> <a href="%3$s" title="Permalink to this comment">Permalink</a>', 'rpac'), |
204 | + <div class="comment-meta"><?php printf(__('Posted %1$s at %2$s <span class="meta-sep">|</span> <a href="%3$s" title="Permalink to this comment">Permalink</a>', 'osdf'), |
205 | get_comment_date(), |
206 | get_comment_time(), |
207 | '#comment-' . get_comment_ID() ); |
208 | - edit_comment_link(__('Edit', 'rpac'), ' <span class="meta-sep">|</span> <span class="edit-link">', '</span>'); ?></div> |
209 | - <?php if ($comment->comment_approved == '0') _e("\t\t\t\t\t<span class='unapproved'>Your comment is awaiting moderation.</span>\n", 'rpac') ?> |
210 | + edit_comment_link(__('Edit', 'osdf'), ' <span class="meta-sep">|</span> <span class="edit-link">', '</span>'); ?></div> |
211 | + <?php if ($comment->comment_approved == '0') _e("\t\t\t\t\t<span class='unapproved'>Your comment is awaiting moderation.</span>\n", 'osdf') ?> |
212 | <div class="comment-content"> |
213 | <?php comment_text() ?> |
214 | </div> |
215 | <?php // echo the comment reply link |
216 | if($args['type'] == 'all' || get_comment_type() == 'comment') : |
217 | comment_reply_link(array_merge($args, array( |
218 | - 'reply_text' => __('Reply','rpac'), |
219 | - 'login_text' => __('Log in to reply.','rpac'), |
220 | + 'reply_text' => __('Reply','osdf'), |
221 | + 'login_text' => __('Log in to reply.','osdf'), |
222 | 'depth' => $depth, |
223 | 'before' => '<div class="comment-reply-link">', |
224 | 'after' => '</div>' |
225 | |
226 | === modified file 'header.php' |
227 | --- header.php 2010-12-06 23:27:50 +0000 |
228 | +++ header.php 2010-12-08 23:09:57 +0000 |
229 | @@ -18,8 +18,8 @@ |
230 | |
231 | <?php wp_head(); ?> |
232 | |
233 | - <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('rss2_url'); ?>" title="<?php printf( __( '%s latest posts', 'rpac' ), wp_specialchars( get_bloginfo('name'), 1 ) ); ?>" /> |
234 | - <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('comments_rss2_url') ?>" title="<?php printf( __( '%s latest comments', 'rpac' ), wp_specialchars( get_bloginfo('name'), 1 ) ); ?>" /> |
235 | + <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('rss2_url'); ?>" title="<?php printf( __( '%s latest posts', 'osdf' ), wp_specialchars( get_bloginfo('name'), 1 ) ); ?>" /> |
236 | + <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('comments_rss2_url') ?>" title="<?php printf( __( '%s latest comments', 'osdf' ), wp_specialchars( get_bloginfo('name'), 1 ) ); ?>" /> |
237 | <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> |
238 | </head> |
239 | <body> |
240 | @@ -48,5 +48,4 @@ |
241 | </ul> |
242 | </div> |
243 | </div> |
244 | - <div id="main_content"> |
245 | - <div class='big_block'> |
246 | \ No newline at end of file |
247 | + <div id="main_content"> |
248 | \ No newline at end of file |
249 | |
250 | === modified file 'index.php' |
251 | --- index.php 2010-11-25 02:58:47 +0000 |
252 | +++ index.php 2010-12-08 23:09:57 +0000 |
253 | @@ -1,37 +1,39 @@ |
254 | <?php get_header(); ?> |
255 | +<div class='big_block'> |
256 | <div id="container"> |
257 | <div id="left"> |
258 | + |
259 | <?php /* The Loop — with comments! */ ?> |
260 | <?php while ( have_posts() ) : the_post() ?> |
261 | |
262 | <?php /* Create a div with a unique ID thanks to the_ID() and semantic classes with post_class() */ ?> |
263 | <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> |
264 | <?php /* an h2 title */ ?> |
265 | - <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( __('Permalink to %s', 'rpac'), the_title_attribute('echo=0') ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> |
266 | + <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( __('Permalink to %s', 'osdf'), the_title_attribute('echo=0') ); ?>" rel="bookmark"><?php the_title(); ?></a></h2> |
267 | |
268 | <?php /* Microformatted, translatable post meta */ ?> |
269 | <div class="entry-meta"> |
270 | - <span class="meta-prep meta-prep-author"><?php _e('By ', 'rpac'); ?></span> |
271 | - <span class="author vcard"><a class="url fn n" href="<?php echo get_author_link( false, $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( __( 'View all posts by %s', 'rpac' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span> |
272 | + <span class="meta-prep meta-prep-author"><?php _e('By ', 'osdf'); ?></span> |
273 | + <span class="author vcard"><a class="url fn n" href="<?php echo get_author_link( false, $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( __( 'View all posts by %s', 'osdf' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span> |
274 | <span class="meta-sep"> | </span> |
275 | - <span class="meta-prep meta-prep-entry-date"><?php _e('Published ', 'rpac'); ?></span> |
276 | + <span class="meta-prep meta-prep-entry-date"><?php _e('Published ', 'osdf'); ?></span> |
277 | <span class="entry-date"><abbr class="published" title="<?php the_time('Y-m-d\TH:i:sO') ?>"><?php the_time( get_option( 'date_format' ) ); ?></abbr></span> |
278 | - <?php edit_post_link( __( 'Edit', 'rpac' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t" ) ?> |
279 | + <?php edit_post_link( __( 'Edit', 'osdf' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t" ) ?> |
280 | </div><!-- .entry-meta --> |
281 | |
282 | <?php /* The entry content */ ?> |
283 | <div class="entry-content"> |
284 | - <?php the_content( __( 'Continue reading <span class="meta-nav">»</span>', 'rpac' ) ); ?> |
285 | - <?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'rpac' ) . '&after=</div>') ?> |
286 | + <?php the_content( __( 'Continue reading <span class="meta-nav">»</span>', 'osdf' ) ); ?> |
287 | + <?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'osdf' ) . '&after=</div>') ?> |
288 | </div><!-- .entry-content --> |
289 | |
290 | <?php /* Microformatted category and tag links along with a comments link */ ?> |
291 | <div class="entry-utility"> |
292 | - <span class="cat-links"><span class="entry-utility-prep entry-utility-prep-cat-links"><?php _e( 'Posted in ', 'rpac' ); ?></span><?php echo get_the_category_list(', '); ?></span> |
293 | + <span class="cat-links"><span class="entry-utility-prep entry-utility-prep-cat-links"><?php _e( 'Posted in ', 'osdf' ); ?></span><?php echo get_the_category_list(', '); ?></span> |
294 | <span class="meta-sep"> | </span> |
295 | - <?php the_tags( '<span class="tag-links"><span class="entry-utility-prep entry-utility-prep-tag-links">' . __('Tagged ', 'rpac' ) . '</span>', ", ", "</span>\n\t\t\t\t\t\t<span class=\"meta-sep\">|</span>\n" ) ?> |
296 | - <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'rpac' ), __( '1 Comment', 'rpac' ), __( '% Comments', 'rpac' ) ) ?></span> |
297 | - <?php edit_post_link( __( 'Edit', 'rpac' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ) ?> |
298 | + <?php the_tags( '<span class="tag-links"><span class="entry-utility-prep entry-utility-prep-tag-links">' . __('Tagged ', 'osdf' ) . '</span>', ", ", "</span>\n\t\t\t\t\t\t<span class=\"meta-sep\">|</span>\n" ) ?> |
299 | + <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'osdf' ), __( '1 Comment', 'osdf' ), __( '% Comments', 'osdf' ) ) ?></span> |
300 | + <?php edit_post_link( __( 'Edit', 'osdf' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ) ?> |
301 | </div><!-- #entry-utility --> |
302 | </div><!-- #post-<?php the_ID(); ?> --> |
303 | |
304 | @@ -47,6 +49,7 @@ |
305 | |
306 | <div id="secondary" class="widget-area"> |
307 | </div><!-- #secondary --> |
308 | +</div> <!-- big block --> |
309 | |
310 | <?php get_sidebar(); ?> |
311 | <?php get_footer(); ?> |
312 | \ No newline at end of file |
313 | |
314 | === modified file 'page.php' |
315 | --- page.php 2010-11-25 02:58:47 +0000 |
316 | +++ page.php 2010-12-08 23:09:57 +0000 |
317 | @@ -9,8 +9,8 @@ |
318 | <h1 class="entry-title"><?php the_title(); ?></h1> |
319 | <div class="entry-content"> |
320 | <?php the_content(); ?> |
321 | -<?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'rpac' ) . '&after=</div>') ?> |
322 | -<?php edit_post_link( __( 'Edit', 'rpac' ), '<span class="edit-link">', '</span>' ) ?> |
323 | +<?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'osdf' ) . '&after=</div>') ?> |
324 | +<?php edit_post_link( __( 'Edit', 'osdf' ), '<span class="edit-link">', '</span>' ) ?> |
325 | </div><!-- .entry-content --> |
326 | </div><!-- #post-<?php the_ID(); ?> --> |
327 | |
328 | |
329 | === modified file 'single.php' |
330 | --- single.php 2010-11-25 02:58:47 +0000 |
331 | +++ single.php 2010-12-08 23:09:57 +0000 |
332 | @@ -7,19 +7,19 @@ |
333 | |
334 | <?php /* Microformatted, translatable post meta */ ?> |
335 | <div class="entry-meta"> |
336 | - <span class="meta-prep meta-prep-author"><?php _e('By ', 'rpac'); ?></span> |
337 | - <span class="author vcard"><a class="url fn n" href="<?php echo get_author_link( false, $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( __( 'View all posts by %s', 'rpac' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span> |
338 | + <span class="meta-prep meta-prep-author"><?php _e('By ', 'osdf'); ?></span> |
339 | + <span class="author vcard"><a class="url fn n" href="<?php echo get_author_link( false, $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( __( 'View all posts by %s', 'osdf' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span> |
340 | <span class="meta-sep"> | </span> |
341 | - <span class="meta-prep meta-prep-entry-date"><?php _e('Published ', 'rpac'); ?></span> |
342 | + <span class="meta-prep meta-prep-entry-date"><?php _e('Published ', 'osdf'); ?></span> |
343 | <span class="entry-date"><abbr class="published" title="<?php the_time('Y-m-d\TH:i:sO') ?>"><?php the_time( get_option( 'date_format' ) ); ?></abbr></span> |
344 | - <?php edit_post_link( __( 'Edit', 'rpac' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t" ) ?> |
345 | + <?php edit_post_link( __( 'Edit', 'osdf' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t" ) ?> |
346 | </div><!-- .entry-meta --> |
347 | |
348 | |
349 | |
350 | <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> |
351 | <?php the_content() ?> |
352 | - <?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'rpac' ) . '&after=</div>') ?> |
353 | + <?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'osdf' ) . '&after=</div>') ?> |
354 | </div><!-- #post-<?php the_ID(); ?> --> |
355 | |
356 | <div id="nav-below" class="navigation"> |
357 | @@ -28,23 +28,23 @@ |
358 | </div><!-- #nav-below --> |
359 | |
360 | <div class="entry-utility"> |
361 | - <?php printf( __( 'This entry was posted in %1$s%2$s. <br/>Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>. <br/>Follow any comments here with the <a href="%5$s" title="Comments RSS to %4$s" rel="alternate" type="application/rss+xml">RSS feed for this post</a>.', 'rpac' ), |
362 | + <?php printf( __( 'This entry was posted in %1$s%2$s. <br/>Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>. <br/>Follow any comments here with the <a href="%5$s" title="Comments RSS to %4$s" rel="alternate" type="application/rss+xml">RSS feed for this post</a>.', 'osdf' ), |
363 | get_the_category_list(', '), |
364 | - get_the_tag_list( __( ' and tagged ', 'rpac' ), ', ', '' ), |
365 | + get_the_tag_list( __( ' and tagged ', 'osdf' ), ', ', '' ), |
366 | get_permalink(), |
367 | the_title_attribute('echo=0'), |
368 | comments_rss() ) ?> |
369 | |
370 | <?php if ( ('open' == $post->comment_status) && ('open' == $post->ping_status) ) : // Comments and trackbacks open ?> |
371 | - <?php printf( __( '<br/><a class="comment-link" href="#respond" title="Post a comment">Post a comment</a> or leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'rpac' ), get_trackback_url() ) ?> |
372 | + <?php printf( __( '<br/><a class="comment-link" href="#respond" title="Post a comment">Post a comment</a> or leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'osdf' ), get_trackback_url() ) ?> |
373 | <?php elseif ( !('open' == $post->comment_status) && ('open' == $post->ping_status) ) : // Only trackbacks open ?> |
374 | - <?php printf( __( '<br/>Comments are closed, but you can leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'rpac' ), get_trackback_url() ) ?> |
375 | + <?php printf( __( '<br/>Comments are closed, but you can leave a trackback: <a class="trackback-link" href="%s" title="Trackback URL for your post" rel="trackback">Trackback URL</a>.', 'osdf' ), get_trackback_url() ) ?> |
376 | <?php elseif ( ('open' == $post->comment_status) && !('open' == $post->ping_status) ) : // Only comments open ?> |
377 | - <?php _e( '<br/>Trackbacks are closed, but you can <a class="comment-link" href="#respond" title="Post a comment">post a comment</a>.', 'rpac' ) ?> |
378 | + <?php _e( '<br/>Trackbacks are closed, but you can <a class="comment-link" href="#respond" title="Post a comment">post a comment</a>.', 'osdf' ) ?> |
379 | <?php elseif ( !('open' == $post->comment_status) && !('open' == $post->ping_status) ) : // Comments and trackbacks closed ?> |
380 | - <?php _e( '<br/>Both comments and trackbacks are currently closed.', 'rpac' ) ?> |
381 | + <?php _e( '<br/>Both comments and trackbacks are currently closed.', 'osdf' ) ?> |
382 | <?php endif; ?> |
383 | - <?php edit_post_link( __( 'Edit', 'rpac' ), "\n\t\t\t\t\t<span class=\"edit-link\">", "</span>" ) ?> |
384 | + <?php edit_post_link( __( 'Edit', 'osdf' ), "\n\t\t\t\t\t<span class=\"edit-link\">", "</span>" ) ?> |
385 | </div><!-- .entry-utility --> |
386 | <?php comments_template('', true); ?> |
387 | </div><!-- #left --> |
388 | |
389 | === modified file 'style.css' |
390 | --- style.css 2010-12-06 07:13:04 +0000 |
391 | +++ style.css 2010-12-08 23:09:57 +0000 |
392 | @@ -2,8 +2,7 @@ |
393 | Theme Name: Open Source Democracy Foundation |
394 | Theme URI: http://theosdf.org |
395 | Description: A search engine optimized website framework for WordPress for the OSDF. |
396 | -Author: Andrew Ettinger |
397 | -Author URI: http://andrewsbrain.com/ |
398 | +Author: Andrew Ettinger and Toast McFarland |
399 | Version: 2.0 |
400 | . |
401 | */ |
Whoops. I initially assigned to the wrong Toast!