Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter ganesh.india

    (@ganeshindia)

    Thank you very much it worked……

    Thread Starter ganesh.india

    (@ganeshindia)

    i did but its not working…..

    <?php global $post; $myposts = get_posts('numberposts=3&category=1'); foreach($myposts as $post) :setup_postdata($post);?>
    
    	<div class="sec-post">
    	    <h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
    		<?php the_excerpt(); ?>
    	</div>
    <?php endforeach; ?>

    this is the code block for that….i tired the same earlier but didn’t get the desired output….nothing displayed in this section….

    Thread Starter ganesh.india

    (@ganeshindia)

    For the latest post which are displayed on home page for that 50 and at the bottom i’m querying post from category for which i want 30.

    Basically both are on the same page…..

    Thread Starter ganesh.india

    (@ganeshindia)

    The problem is that both are on the same page….now what to do….the one which you have suggest will alter page to page….

    In my case both the excerpt are used on the same page….:(

    Thread Starter ganesh.india

    (@ganeshindia)

    ———————————————————————–

    #content {
    background: transparent url(‘images/bg_middle.jpg’) repeat-y;
    float: left;
    width: 100%;
    }
    #Topsidebar li{
    list-style-type: none;
    }
    #content-left {
    margin: 0px 10px 0px 20px;
    width: 65%;
    float: left;
    }
    .entry-index p {
    padding: 0px;
    margin:0px 0px 10px 0px;
    }
    #content-right {
    margin: 0px 20px 0px 10px;
    width: 28%;
    float: right;
    }
    #rightsidebar li {
    list-style-type: none;
    }
    #content-bottom {
    background: transparent url(‘images/bg_middle.jpg’) repeat-y;
    float: left;
    width: 100%;
    list-style-type: none;
    clear: both;
    }
    #bottomfirst {
    width: 30%;
    float: left;
    margin: 0px 10px 0px 20px;
    }
    #bottomfirst li {
    list-style-type: none;
    }
    #bottomsecond {
    width: 30%;
    float: left;
    margin: 0px 10px 0px 10px;
    }
    #bottomsecond li {
    list-style-type: none;
    }
    #bottomthird {
    width: 31%;
    float: left;
    margin: 0px 20px 0px 10px;
    }
    #bottomthird li {
    list-style-type: none;
    }

    ———————————————————————–
    this is the relevent CSS that i use

    Thread Starter ganesh.india

    (@ganeshindia)

    This is my Index.php
    ———————————————————————–
    <?php get_header(); ?>
    <div id=”content”>
    <div id=”Topsidebar”>
    <?php if ( !function_exists(‘dynamic_sidebar’)
    || !dynamic_sidebar(‘TopSidebar’) ) : ?><?php endif; ?>
    </div>
    <div id=”content-left”>
    <?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>
    <div id=”post-<?php the_ID(); ?>” <?php post_class() ?>=””>
    <h2>
    ” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”>
    <?php the_title(); ?>
    </h2>
    <div class=”entry-index”>
    <?php the_content(‘[Read more]’); ?>
    </div>
    </div>
    <?php endwhile; ?><?php else : ?>
    <h2 class=”center”>Not Found</h2>
    <p class=”center”>Sorry, but you are looking for something that isn’t here.</p>
    <?php get_search_form(); ?><?php endif; ?>
    </div>
    <div id=”content-right”>
    <div id=”rightsidebar”>
    <?php if ( !function_exists(‘dynamic_sidebar’)
    || !dynamic_sidebar(‘rightsidebar’) ) : ?><?php endif; ?>
    </div>
    </div>
    <div id=”content-bottom”>
    <div id=”bottomfirst”>
    <?php if ( !function_exists(‘dynamic_sidebar’)
    || !dynamic_sidebar(‘bottomfirst’) ) : ?><?php endif; ?>
    </div>
    <div id=”bottomsecond”>
    <?php if ( !function_exists(‘dynamic_sidebar’)
    || !dynamic_sidebar(‘bottomsecond’) ) : ?><?php endif; ?>
    </div>
    <div id=”bottomthird”>
    <?php if ( !function_exists(‘dynamic_sidebar’)
    || !dynamic_sidebar(‘bottomthird’) ) : ?><?php endif; ?>
    </div>
    </div>
    </div>
    <?php get_footer(); ?>

    ——————————————————————-

    Thread Starter ganesh.india

    (@ganeshindia)

    i m testing it on localhost..
    here is the screenshot of the division structure in different explorer

    IE8
    [IMG]http://i28.tinypic.com/1zx9ikk.png[/IMG]

    IE7
    [IMG]http://i25.tinypic.com/207q902.png[/IMG]

    Thread Starter ganesh.india

    (@ganeshindia)

    Thanks it works….

    Thread Starter ganesh.india

    (@ganeshindia)

    i m not upgrading anything….i just click on activate…then all this happen.

    One more thing whenever i m try to configure or click on anyone of the GD Star Rating Tab, i am getting error like this…

    Error Summary
    HTTP Error 500.0 – Internal Server Error
    C:\Program Files (x86)\PHP\php-cgi.exe – The FastCGI process exited unexpectedly

    Detailed Error Information
    Module FastCgiModule
    Notification ExecuteRequestHandler
    Handler PHP_via_FastCGI
    Error Code 0x000000ff
    Requested URL http://localhost:80/blog/wp-admin/admin.php?page=gd-star-rating/gd-star-rating.php
    Physical Path C:\Users\[Username]\blog\wp-admin\admin.php
    Logon Method Anonymous
    Logon User Anonymous

    Thread Starter ganesh.india

    (@ganeshindia)

    it doesn’t help a lot…..
    and that plugin….i m not able to use it….i think the i need a guide to use it….if you know about it then please share.

    i have just noticed how fusion theme works and i found that function which toggle its width but there also the same problem how can i use it..

    Thread Starter ganesh.india

    (@ganeshindia)

    where is the tutorial……both links have only plugin.

    Thread Starter ganesh.india

    (@ganeshindia)

    Thanks a lot…..it worked.

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