Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Forum: Fixing WordPress
    In reply to: Lost Pictures!
    ronzcani

    (@ronzcani)

    Did you update your wordpress installation?

    ronzcani

    (@ronzcani)

    You 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(); ?>>

    ronzcani

    (@ronzcani)

    Why 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 Space
    ronzcani

    (@ronzcani)

    Change the width on this CSS on your style.css

    #access .menu-header, div.menu, #colophon, #branding, #main, #wrapper {
        margin: 0 auto;
        width: 940px;
    }
    ronzcani

    (@ronzcani)

    What 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.

    ronzcani

    (@ronzcani)

    On 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>
    ronzcani

    (@ronzcani)

    Does it work on the single-portfolio.php?

    ronzcani

    (@ronzcani)

    Don’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.

    ronzcani

    (@ronzcani)

    Try 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;
    }

    ronzcani

    (@ronzcani)

    What plugin are you using?

    ronzcani

    (@ronzcani)

    You can remove copyright on the the theme file or hide it using CSS, Do you want to do that only for that page?

    ronzcani

    (@ronzcani)

    You can add the meta tag below or after this:
    <meta name=”p:domain_verify” [moderated content] />

Viewing 12 replies - 1 through 12 (of 12 total)