Designing the future of your business! Get a FREE quote now!

Click Here!
  • PC Support Crew

    Posted September 5th, 2011 by Dimitar with No Comments  
    Project Info
    Trough oDesk.com Create WP Theme from existing HTML site Multiple page templates Custom Widgets Client Feedback “Dimitar has been an absolute pleasure to work ...

Blog

  • How to query a loop for second time on same page?

    Posted September 18th, 2011 by Dimitar with No Comments

    Well prety easy…
    Just put  <?php rewind_posts(); ?> between the loops.
    See example bolow:
    <?php query_posts(‘posts_per_page=5′); ?>
    <?php while ( have_posts()) : the_post(); ?> <?php if (has_tag('')) { ?> <?php }; ?> <?php endwhile; ?> <?php rewind_posts(); ?> <?php query_posts('posts_per_page=5'); ?> <?php while ( have_posts()) : the_post(); ?> <?php if (has_tag('')) { ?> <?php }; ?> <?php endwhile; ?>

  • My Ping List! It’s AWERSOME!

    Posted September 12th, 2011 by Dimitar with 1 Comment

    Copy and paste this you know where!
    If I missed anything write it in comments. (more…)

  • How to get rid of duplicate posts in WordPress with MySQL Query.

    Posted September 7th, 2011 by Dimitar with No Comments

    1. Login to phpMyAdmin
    2. Click on SQL tab
    3. Copy and paste this in the query box.
    DELETE bad_rows.* from wp_posts as bad_rows inner join ( select post_title, MIN(id) as min_id from wp_posts group by post_title having count(*) > 1 ) as good_rows on good_rows.post_title = bad_rows.post_title and good_rows.min_id <> bad_rows.i
    4. Click Ok
    It should display the number of duplicated entries removed.

Testimonials

  • “Dimitar has been an absolute pleasure to work with, delivering tasks on time and as expected, as well as taking extra effort to ensure a high quality product. Will certainly look to work together again soon.”

    PC Support Crew