WordPress.org

Ready to get started?Download WordPress

Forums

silverOrchid
utf8 "\xE0" does not map to Unicode with SilverOrchid (7 posts)

  1. uphichet
    Member
    Posted 1 year ago #

    After checked with WC3, I got the problem as

    Sorry, I am unable to validate this document because on line 96 it contained one or more bytes that I cannot interpret as utf-8 (in other words, the bytes found are not valid values in the specified Character Encoding). Please check both the content of the file and the character encoding indication.
    The error was: utf8 "\xE0" does not map to Unicode

    Also, in my front-page has some characters occurred, that seem difficul to read. Please see my webpage http://www.babyhunsa.com
    Can someone tell me how to solve the problem?
    Regards,
    Uphichet

    http://wordpress.org/extend/themes/silverorchid/

  2. gpsy1
    Member
    Posted 1 year ago #

    Hello, sorry i was reading your thread and check your blog link, can you please tell me how did you get by two posts in a row on this theme?

  3. kostas12345
    Member
    Posted 1 year ago #

    Dear uphichet, can u please help me out with how to manage my category like this? http://www.babyhunsa.com/%E0%B8%AB%E0%B8%A1%E0%B8%A7%E0%B8%94%E0%B8%AB%E0%B8%A1%E0%B8%B9%E0%B9%88/%E0%B9%80%E0%B8%A1%E0%B8%99%E0%B8%B9%E0%B8%AD%E0%B8%B2%E0%B8%AB%E0%B8%B2%E0%B8%A3/

    Seperated like yours to many divs?

    Thank you in advance

  4. uphichet
    Member
    Posted 1 year ago #

    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

  5. kostas12345
    Member
    Posted 1 year ago #

    What is difficult to understand is that in the style.css when I create a content.post above content.page (already exists) every change I make in the content post seems it make the changes and in the content page. The right name for this spectacular page with archives is content.page or something like content.archive or content.category?

  6. uphichet
    Member
    Posted 1 year ago #

    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

  7. kostas12345
    Member
    Posted 1 year ago #

    uphichet thank u! you are a life saver!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic