Okay, here’s where I catalog all the changes I made to get Cutline where I wanted it to be.
Added “Edit” link to single posts and the main page (per post):
Edited
index.phpandsingle.php, inserting following line at appropriate place (lines 13 and 11, respectively):
<br /><?php edit_post_link('Edit',''); ?>
This conditionally inserts the edit link depending on logged-in user’s permissions.
Added “Edit” link to single comments (also conditional, depending on logged-in user’s permissions):
Edited
comments.php, inserting following line at appropriate place (line 88):
<br /><?php edit_comment_link('edit comment', '', ''); ?>
Altered the no comments message so that it reads right:
Edited
comments.php, changing “below” to “above” and adding an exclamation point (line 108).
Altered the tag cloud so it looks like one again (instead of a list, as in the Cutline theme):
Changed
sidebar.php(line 42) from:
<?php wp_tag_cloud('smallest=10&largest=10&number=25&format=list'); ?>to:
<?php wp_tag_cloud('smallest=6&largest=12&number=0&format=flat'); ?>
Inserted an additional sections and links in the Sidebar for features I miss (the Akismet spam comments counter, conditional linking to Site Admin and logout).
Edited
sidebar.phpto add to end:<li class=”widget”>
<h2>Site</h2>
<?php akismet_counter(); ?>
</li><li class=”widget”>
<h2>Meta</h2>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<li><a href=”http://wordpress.org/” title=”Powered by WordPress, state-of-the-art semantic personal publishing platform.”>WordPress</a></li>
<?php wp_meta(); ?>
</ul>
</li>
Changed the theme’s CSS to add a little more color.
Edited
style.css.Changed the main linking color from dark grey to blue (line 171).
Changed the tag linking color from dark grey to dark green (line 213).
Fixed the Permalinks by adding the Permalinks class to the style.css section (lines 300-310).
The missing class in each style was “
ul.sidebar_list li.linkcat“, and the comma to delimit from the other style names, of course.
Created an Archives page according to the official WordPress instructions and tied it to the proper archive.php file.
Because I created the Archives page at the wrong page name, I had to edit the Header so it pointed to the right Page:
Edited
header.php, changing the link to the Archives page to the right page name (line 49).
Created a Sitemap page in a similar way to the above creation of an Archives page.
0 responses so far ↓
There are no comments yet...Kick things off by filling out the form above!