ronzcani
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Lost Pictures!Did you update your wordpress installation?
Forum: Fixing WordPress
In reply to: How to remove sidebar from portfolio itemsYou can center it through css. Below is not the right way to do it but it will solve your problem
Change
<div class="col-left col-cl"> <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
To
<div style="margin: 0pt auto; display: block; width: 660px;"> <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
Forum: Fixing WordPress
In reply to: Active "edit" bar/link at bottom of first published postWhy do you want to do this? Only logged in users can see the “Edit” link
But if you want to remove the “Edit” link for single posts, go to Dashboard > Appearance > Edit > content-single.php
Then delete this line of code
<?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
Forum: Fixing WordPress
In reply to: Empty White SpaceChange the width on this CSS on your style.css
#access .menu-header, div.menu, #colophon, #branding, #main, #wrapper { margin: 0 auto; width: 940px; }
Forum: Fixing WordPress
In reply to: is_home works….is_front_page doesn'tWhat is selected on your Settings >> Reading ? “Your Latest posts” or “static page (Home, Blog)”. If “Your Latest posts” is selected you have to use is_home() instead.
Forum: Fixing WordPress
In reply to: How to remove sidebar from portfolio itemsOn single-portflio.php please try to delete this whole code to remove details and copyright
<div id="p-left-wrap"> <?php $custom_fields = get_post_custom(); if (strlen($custom_fields["details"][0]) > 0){ $my_custom_field_details = $custom_fields['details']; foreach ( $my_custom_field_details as $key => $value ) echo "<div class=\"p-left pinner\"><h4>Details:</h4> " . $value ."</div>"; } ?> <?php $custom_fields = get_post_custom(); if (strlen($custom_fields["copyright"][0]) > 0){ $my_custom_field_copyright = $custom_fields['copyright']; foreach ( $my_custom_field_copyright as $key => $value ) echo "<div class=\"p-left pinner\"><strong>Copyright:</strong> " . $value ."</div>"; } ?> <?php $custom_fields = get_post_custom(); if (strlen($custom_fields["location"][0]) > 0){ $my_custom_field_location = $custom_fields['location']; foreach ( $my_custom_field_location as $key => $value ) echo "<div class=\"p-left pinner\"><strong>Location:</strong> " . $value ."</div>"; } ?> <?php $custom_fields = get_post_custom(); if (strlen($custom_fields["models"][0]) > 0){ $my_custom_field_models = $custom_fields['models']; foreach ( $my_custom_field_models as $key => $value ) echo "<div class=\"p-left pinner\"><strong>Models:</strong> " . $value ."</div>"; } ?> <?php $custom_fields = get_post_custom(); if (strlen($custom_fields["year_completed"][0]) > 0){ $my_custom_field_year_completed = $custom_fields['year_completed']; foreach ( $my_custom_field_year_completed as $key => $value ) echo "<div class=\"p-left pinner\"><strong>Date:</strong> " . $value ."</div>"; } ?> </div>
Forum: Fixing WordPress
In reply to: How to remove sidebar from portfolio itemsDoes it work on the single-portfolio.php?
Forum: Fixing WordPress
In reply to: How to remove sidebar from portfolio itemsDon’t you have any Custom css options on your theme? MAybe on the theme options? But if you want to do this here, you can achieve this by adding this after get_header(); ?>
<style type=”text/css”>
body.single-portfolio #content #p-left-wrap {
display:none;
}
</style>But this not the right way to do this.
Forum: Fixing WordPress
In reply to: How to remove sidebar from portfolio itemsTry Adding this on Dashboard >> Appearance >> Editor >>style.css to hide the Details and COpyright for Single portfolio items
body.single-portfolio #content #p-left-wrap {
display:none;
}Forum: Fixing WordPress
In reply to: Can't replace page sidebars anymoreWhat plugin are you using?
Forum: Fixing WordPress
In reply to: How to remove sidebar from portfolio itemsYou can remove copyright on the the theme file or hide it using CSS, Do you want to do that only for that page?
Forum: Fixing WordPress
In reply to: adding meta tags to headerYou can add the meta tag below or after this:
<meta name=”p:domain_verify” [moderated content] />