Ryplej
Forum Replies Created
Viewing 1 replies (of 1 total)
-
Forum: Themes and Templates
In reply to: Removing left sidebar in gray opaque themeI’ve tied to remove it I found this somewhere on internet:
At the end of style.css add:
#content { margin: 0 255px 0 0; } .entry-actions { display: none; }
It deactivates whole left side bar but later I thought maybe to use is somehow. I did not neet those permalincks and trackbacks stuff, so I have edited functions.php and changed it just to a timestamp and “edit” active link.
In functions.php there is a “Complete infobox”
I have removed most of this part and this is all what left:
/** * Complete infobox. */ default: ?> <?php $var_sPermalink = get_permalink(); $var_sTitle = rawurlencode(get_the_title()); ?> <div class="timestamp"> <p align="center"> Added:<br /> <?php greyopaque_posted_on_timestamp(); ?> <?php /** * Attachment */ if(is_attachment()) { if(wp_attachment_is_image()) { $metadata = wp_get_attachment_metadata(); printf(__('Size: %s px', 'grey-opaque'), sprintf('<a href="%1$s" title="%2$s">%3$s × %4$s</a>', wp_get_attachment_url(), esc_attr(__('Link to full-size image', 'grey-opaque')), $metadata['width'], $metadata['height'] ) ); } } // ENDE if(is_attachment()) edit_post_link(__('Edit', 'grey-opaque'), '<span class="edit-link">', '</span>'); ?> </p> </div> <?php if(comments_open()) : ?> <li> <a class="subscribe" href="<?php echo get_post_comments_feed_link(); ?>"><?php _e('comments RSS', 'grey-opaque'); ?></a> </li> <?php endif; ?> <?php break; } echo '</div>'; }
Viewing 1 replies (of 1 total)