Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter uphichet

    (@uphichet)

    Dear kostas12345;
    plaese amend the code in silverorchid/includes/gazpo_loop.php as the detail below

    <?php
    /**
     * Theme:  	  silverOrchid
     * Theme URL: http://gazpo.com/2012/04/silverorchid
     * Created:   April 2012
     * Author:    Sami Ch.
     * URL: 	  http://gazpo.com
     *
     **/
    	$gazpo_settings = get_option( 'gazpo_options');
    ?>
    
    <ul class="posts-list">
    <?php
    	if (have_posts()) :
    			while (have_posts()) : the_post();
    				?>
    					<li id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    						<h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
    
    						<div class="post-meta">
    
    							<span class="info">
    								<span class="date"><?php the_time('M. d') ?></span>
    								<span class="category"><?php the_category(', ' ); ?></span>
    								<span class="comments"><?php comments_popup_link( __('no comments', 'silverorchid'), __( '1 comment', 'silverorchid'), __('% comments', 'silverorchid')); ?></span>
    							</span>								
    
    						</div> <!-- /post-meta -->
    
    						<div class="entry">
    							<div class="thumb">
    								<?php the_post_thumbnail( 'thumbnail' ); ?>
    							</div>
                                <p>
    								<?php
    									$content = get_the_content();
    									$content = strip_tags($content);
    									echo mb_substr($content, 0, 120). '...';
    								?>
    							</p>
    						</div> <!-- entry -->
    
    					</li><!-- /post-->
    
    			<?php
    				endwhile;
    			endif;
    		wp_reset_query();
    		?>
    
    </ul>

    Also in silverorchid/style.css plase add more the code below

    /* Amended By Myself */
    #content .posts-list {
    	margin: 10px 0 0 0;
    	padding: 0;
    	list-style: none;
    }
    
    #content .posts-list .post {
    	float: left;
    	width: 46.1%;
    	height: 150px;
    	margin-left: 5px;
    	margin-bottom: 10px;
    	border-bottom: 1px solid #E3E3E3;
    	padding: 10px;
    	overflow: hidden;
    	background: #ffffff;
    	background: -webkit-linear-gradient(top, #ffffff, #f6f6f6);
        background:    -moz-linear-gradient(top, #ffffff, #f6f6f6);
        background:     -ms-linear-gradient(top, #ffffff, #f6f6f6);
        background:      -o-linear-gradient(top, #ffffff, #f6f6f6);
    	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    }
    #content .posts-list .post h2 {
    	font-size: 15px;
    	line-height: 1.4em;
    	margin-bottom: 0.4em;
    }
    #content .posts-list .post .entry img {
    	float: left;
    	margin-right: 10px;
    	margin-bottom: 10px;
    }

    where width: 46.1%; is the column width you can adjust it as your request.
    Regards,
    U Phichet

    Thread Starter uphichet

    (@uphichet)

    Dear kostas12345;
    I have to apologize in replying lately. I seem difficult to do that as I’ve amended the code in php file and also CSS in style.css
    So that if you would liked to do that, you have to understand a little bit for the code

    It seems I am getting the useful information. Right now, I’m using the Article Plugin with WordPress version 3.3.1. OK! I could solve the problem as mentor told, really appreciated with the answer.
    Nevertheless, I still have a problem with the Author Panel page. When the authors have tried to add a link to their article, It could not be done with Visual Editor (Add / Edit Link Popup Panel)

    Can someone tell me how to solve the problem?

    Thread Starter uphichet

    (@uphichet)

    Dear kostas123
    My problem was already solved refer to your advice

    Really appreciated with your kind support
    Regards,
    UPhicet

    Thread Starter uphichet

    (@uphichet)

    really appreciated with your answer,
    Maybe, I wrote the unclear question, first of all, I just globally enabled comment in Discussion Tab already. The main issue is there are no any comment boxes occur in the most of old posts that I’ve written before enable the globally comment system in Discussion Tab.
    I’ve tried to to enable the comment in each old post, but I couldn’t found any bottom to do (WordPress 3.1.2).

    Really appreciated with your support,
    UPhichet

    Thread Starter uphichet

    (@uphichet)

    Excellent; The problem was solved already
    Really appreciated with your kindly support

    Regards,
    Phichet

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