Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter iamjace.m

    (@iamjacem)

    I see. No wonder it didn’t work. I’ll look into that Firebug tool and hopefully I’d be able to center it as well. ??

    Thread Starter iamjace.m

    (@iamjacem)

    Oh. I noticed that the title wasn’t centered along with the items in the portfolio. If I put <center> on the title i think its on H1, would it work? or is there another way of doing it?

    Thread Starter iamjace.m

    (@iamjacem)

    Hey ronzcani that was so incredible! It worked like a charm. I don’t know what happened there but it sure gave me what I wanted achieve. Thanks a lot for your help.

    @wpyogi thanks for the information. I’ll try to learn more of this coding so I can do things the right way but for the time being, I think the site is good.

    Thanks guys. ??

    Thread Starter iamjace.m

    (@iamjacem)

    Hi ronzcani, it removed the side bar but it didn’t center the images on the page. I’m hoping to have the portfolio items centered. Would that be possible?

    Thanks for all the help. you’ve been great. I hope you can help me with the alignment as well. ??

    Thread Starter iamjace.m

    (@iamjacem)

    I tried to place the code on the single-portfolio.php editor but it didnt work aswell.

    Thread Starter iamjace.m

    (@iamjacem)

    I haven’t tried it yet. I can’t go through the server as of now. It’s giving me an Internal Server Error (500) so I guess I have to contact my provider so they can check.

    Thread Starter iamjace.m

    (@iamjacem)

    I’m afraid I don’t have the custom CSS option. Well, I want to do it the right way though.

    In the style.css here’s what’s written:

    @import "css/reset.css";
    @import "css/typography.css";
    @import "css/layout.css";
    @import "css/slider.css";
    @import "css/grid-slider.css";
    @import "css/shortcodes.css";
    @import "css/buttons-shortcode.css";
    @import "css/wide-layout.css";

    So what should I be looking for at the theme editor tab?

    Thread Starter iamjace.m

    (@iamjacem)

    It didn’t work on the style.css editor.. but I did see a single-portfolio.php editable link. Would it be a good idea to paste the code there? If so? which part?

    see single-portfolio.php code below

    <?php
    /**
     * The Template for displaying all single portfolio posts.
     */
    
    get_header();
    ?>    
    
    </div> <!--end .wide-top-->
    
    <div class="content-wide">
    
    <div class="shadow-three"></div>
    
    <!--Begin Regular content-->
    <div id="content">
    <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
    <div class="ptitle-outer">
    <div class="inner">
        <div id="ptitle-wrap">
            <h1><?php the_title(); ?></h1>
            </ul>
        </div>
    </div>
    </div>
    
    <div class="post-wrap">
    
    <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>
    
    <div class="col-left col-cl">
    
    <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    
    <div class="pinner">
    
    <?php the_content(); ?>
    
    <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( '<span class="pages">Pages:</span>', 'percivale' ), 'after' => '</div>' ) ); ?>
    
    <?php endwhile; // end of the loop. ?>
    
    </div>
    
    </div><!--END POST-->   
    
    </div><!--END COL-LEFT -->   
    
    </div><!-- END POST-WRAP-->
    
    <?php  if (get_option('of_show_port_more') == 'true' ) : // show more portfolio items randomly ?>
    <div class="clear"></div>
    <div class="ptitle-outer">
    <div class="inner">
        <div id="ptitle-wrap">
            <h3><?php if ($mwk = get_option('of_more_work_text')) : ?><?php echo $mwk ?><?php else : ?>More Of My Work<?php endif; ?></h3>
            </ul>
        </div>
    </div>
    </div>
    
    <script type="text/javascript">
    jQuery(document).ready(function($){
    	$('#gs_container_portfolio').gridnav({
    		rows: 1,
    		type: {
    		mode: '<?php if ($geff = get_option('of_gs_slider_eff')) : ?><?php echo $geff ?><?php else : ?>disperse<?php endif; ?>', // use def | fade | seqfade | updown | sequpdown | showhide | disperse | rows
    		speed: <?php if ($gspd = get_option('of_gs_slider_speed')) : ?><?php echo $gspd ?><?php else : ?>400<?php endif; ?>, // for fade, seqfade, updown, sequpdown, showhide, disperse, rows
    		easing: '', // for fade, seqfade, updown, sequpdown, showhide, disperse, rows
    		factor: <?php if ($gfct = get_option('of_gs_factor')) : ?><?php echo $gfct ?><?php else : ?>50<?php endif; ?>, // for seqfade, sequpdown, rows
    		reverse: false // for sequpdown
    		}
    	});
    });
    </script>
    
    <div class="content gs-onerl">
    <div class="gs_container" id="gs_container_portfolio">
    <div class="gs_nav">
    <span class="gs_prev" id="gs_prev">Previous</span>
    <span class="gs_next" id="gs_next">Next</span>
    </div>
    <div class="gs_wrapper">
    <ul class="gs_gallery">
    <?php
    $type = 'portfolio';
    $args=array(
    'post_type' => $type,
    'post_status' => 'publish',
    'orderby' => 'rand',
    'showposts' => '12',
    'caller_get_posts'=> 1,
    );
    $temp = $wp_query;  // assign original query to temp variable for later use
    $wp_query = null;
    $wp_query = new WP_Query();
    $wp_query->query($args);
    ?>
    <?php if ($wp_query->have_posts() ) : ?>
    <?php while ( $wp_query->have_posts() ) : $wp_query->the_post(); ?>
    <?php
    $thumb = get_post_thumbnail_id();
    $postimage = vt_resize($thumb, '', 284, 190, true );
    ?>
    <li><a href="<?php the_permalink(); ?>" class="landscape"><img title="" alt="" src="<?php echo $postimage[url]; ?>" width="<?php echo $postimage[width]; ?>" height="<?php echo $postimage[height]; ?>"></a></li>
    <?php endwhile; ?>
    <?php endif; ?>
    </ul>
    </div>
    </div>
    </div>
    <?php endif; ?>
    
    <?php get_footer(); ?>

    thanks again

    Thread Starter iamjace.m

    (@iamjacem)

    Hello Ronzcani

    I want to have it applied to all the items/pages in the portfolio. How do I customize the CSS so it will hide the side bar on the right hand side of the screen (description, copyright information)? and have the photos centered on the page (I’m not really well-versed with codes)

    Thanks!

    Thread Starter iamjace.m

    (@iamjacem)

    That went well. Thanks for your help @alchymyth.

    I was having second thoughts in deleting lines on the code as I’m a major noobie. Thanks a lot for your help.

    Thread Starter iamjace.m

    (@iamjacem)

    Thanks @alchymyth

    This is what’s showing on header.php

    <title>
    
    <?php if (is_home()) { ?>
    <!-- don't display title (leave this blank) -->
    <?php } else { ?>
    <?php //the_title(); ?>
    <?php } ?>
    
    <?php
    	/*
    	 * Print the <title> tag based on what is being viewed.
    	 * We filter the output of wp_title() a bit -- see
    	 * digi_filter_wp_title() in functions.php.
    	 */
    	wp_title( '|', true, 'right' );
    
    	?></title>

    I tried editing it earlier as a few hours ago, the title is always being doubled (i.e. Portfolio Portfolio instead of just saying Portfolio) so what I did is I added the // before the title as shown above. For some reason it was corrected.

    I’m totally new to wordpress and I can’t seem to get support from the theme provider.

    You can download the theme here for free.

    Thanks a bunch.

    Thread Starter iamjace.m

    (@iamjacem)

    Thanks WordPress.

    Thread Starter iamjace.m

    (@iamjacem)

    I was able to remove the white object on the slider by deselecting the Display the Grid Slider on the homepage on the Home Slider Menu.

    Thread Starter iamjace.m

    (@iamjacem)

    Thanks @andrew. I’ve tried getting in touch with them a couple of weeks ago — but unfortunately, to date, still no answer.

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