Support » Fixing WordPress » WordPress loop in multiple css divisions

  • I’m working on a new website and I’m 17 year old now . I choose WordPress as my CMS because there’s a lot of chance to get ripped premium themes . But unfortunately our site is growing and we got about two thousand views within two days of launch . We’re students and making this website for making money for our researches on Voice Processing and Artificial Intelligence . So we decided to make our own theme and we started making it . I got the charge to make the WordPress theme . But I am not familiar with WordPress development so here’s my problem :
    In a division called Left_loop I’m adding two different CSS divisions . One is recent and other one is Main . I need a loop of recently added posts here but the most recent one in the first division which is DIV recent and other posts in the next division . But the posts must not be duplicate . I know that stuffs will make good attraction to my users ! Any experts can help me please…. Now i’m using one ripped theme , Feeling so sorry to the developer who developed this theme . So need to develop a new theme as fast as I can please ….check my website :

Viewing 14 replies - 1 through 14 (of 14 total)
  • What do you mean “ripped theme”? Are you talking about getting a premium theme and not paying for it?

    Yes , Really nice , You can checkout my own theme here : While searching about wordpress theme download i got a download link of that theme and I downloaded and installed that .

    I hope your not on her asking for help for a theme that you s should have paid for since that would be theft.

    Also, your site also shows issues at Sucuri.

    Sucuri ??


    There’s lots of good info here on how to make a theme –

    Oh god , How to know the reason of this blacklisting ?? I were using a free server and recently switched to new paid server because facebook blocked my website because of the server . How do I get unblocked sir ? As i already said you We’re doing all these works to make some money and start our research project in Artificial Intelligence . Please ..

    Looks like you need to use the info on Securi to contact McAfee –

    Thanks for that . I’m using the following code now for showing loop in my homepage :

    <?php query_posts('showposts=1'); ?>
    <?php $posts = get_posts('numberposts=1&offset=0'); foreach ($posts as $post) : start_wp(); ?>
    <?php static $count1 = 0; if ($count1 == "1") { break; } else { ?>
    								<a>" title="<?php printf(esc_attr('Permalink to %s'), the_title_attribute('echo=0')); ?>" rel="bookmark">
        <?php if (has_post_thumbnail( $post->ID ) ): ?>
               <?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ?>
                                    <?php else :
                                    $image = get_bloginfo( 'stylesheet_directory') . '/images/default_cat_img.jpg'; ?>
                                    <?php endif; ?>
                                    <div class="postima1" style="background-image: url('<?php echo $image[0]; ?>')">
                                    </div><!-- end #category-name -->
                                    <span class="hp1">
                                    <?php the_title(); ?>

    But when i use the same script in my category.php for getting the posts of that directory in the same view it shows whole website posts there instead of that categories posts ! Please give me some easy methods I’m using a premium theme and I didn’t paid for that . I got some links from Google and got a zipped file , Really worried about that .. please …

    So why not start with one of the many FREE, GPL themes from here:

    Those are the only themes supported on these forums – we do not support commercial themes here (and not paid for is a whole other not good issue) –

    Oh . We can talk about making a new own theme right ? I wrote that code in my new themes homepage (front-page.php )

    Yes, if you are creating a new theme, then that’s a different question – but I think you already have a thread on this topic — which I will reopen so you can continue there ?

    Yes . I’m asking about how to get same loop in different css divisions . You may check this address : .
    I need that kind of things , It’s my blog and I developed that theme , But don’t know how to get the same kind of things in my category.php pls

    Moderator Andrew Nevins


    Is your category.php file something you’ve created or something that has come from a theme?

    While checking about creating new theme in i found one list of .php files and i created these files in my theme directory !

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘WordPress loop in multiple css divisions’ is closed to new replies.