Find Jobs
Hire Freelancers

Create a WordPress Template with a complex query

$30-250 USD

Cancelled
Posted almost 8 years ago

$30-250 USD

Paid on delivery
I've been trying for two weeks to get a query going with no luck. It's a complex query so hopefully you can help. I have multiple categories and they need to have separate stylings for each setting. I would like to be able to style it my own way so please just add the_title();. I have the following categories: Major, Group A, Group B, Group C, Group D and First. If posts are in those categories, they are brought to the top of the list, the rest are split into two columns (example will be provided). All posts will be using a taxonomy called post-status and the term called 'post-status-published'. Posts in Major, Group A, Group B, Group C, Group D will also use the First category slug as well will have this label -> (First) Please do your code in an easy-to-understand format like the following: <?php $args = array('tax_query' => array(array('taxonomy' => 'post-status','field' => 'slug','terms' => array ('post-status-published')))); $query = new WP_Query( $args );?> <?php if ( $query->have_posts() ) : while ($query->have_posts() ) : $query->the_post(); ?> <?php if ( in_category( 'Group A' ) ) : ?> Group A - <?php the_title(); ?><br> <?php endif; endwhile; ?> <?php endwhile; endif;?> For posts are in the 'Major' category, the first post in the Major category needs to be separated from the rest of the posts in the Major group. Posts not in the Major category should be even split into two columns. Example of major: <div class="group-major"> - Major post (first) - Major post - Major post </div> ------------------ <div class="group-remain"> Post | Post Post | Post Post </div> For posts only in Group A, the first post should be brought to the top in Group A. Posts not the group should be split into two columns. Example of Group A: <div class="group-a"> - Group A post (first) - Group A post - Group A post </div> ------------------ <div class="group-remain"> Post | Post Post | Post Post </div> For posts in Group A and/or Group B, C, D, the first post in each group gets brought to the top. Posts not in any group should be split into two columns. Example: <div class="group-multi"> <div class="group-a"> - Group A post (first) - Group A post - Group A post </div> <div class="group-b"> - Group B post (first) - Group B post - Group B post </div> </div> ------------------ <div class="group-remain"> Post | Post Post | Post Post </div> For posts not in any group but belongs in First group, all posts should be split into two columns. <div class="group-remain"> Post (first) | Post Post | Post Post </div> Thanks,
Project ID: 11035790

About the project

16 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
16 freelancers are bidding on average $176 USD for this job
User Avatar
Dear Employer, I am ready to work on your required task and can assure 100% satisfaction. You can read reviews/details about my past work on my profile http://www.freelancer.com/u/alyaspk.html Looking forward to an opportunity to work with you. Warm Regards, Muhammad Alyas
$147 USD in 3 days
5.0 (146 reviews)
7.1
7.1
User Avatar
I'm a web developer located in Canada and an expert in Wordpress and Magento. I have had experience working on Wordpress, Magento-based websites in various aspects from template theme design to extension development and speed optimization. I'll ensure efficient coding up to computer science algorithm standards. I'll complete the Mysql query required and output the data based on the template created for the required page. I've recently developed Magento extensions (CSV product export for frontend customers, order fees, lowstock product alert, new product alert, Magento API access for dropship customers), developed magento themes, installed and upgraded Magento from 1.9.1.1 to 1.9.2.4 for a client (NOT on upwork site). I helped a lot of clients with website need from simple CSS HTML bug fixes to full plug-in module development. I'll finish all the changes required by you smoothly without a hitch and specifically tailored to your requirements as I've done it in past jobs. I have experience in Zencart, Wordpress, Joomla, Prestashop, Magento, etc and I am an expert. I can start right now and finish the job quickly. I'm an expert in WordPress, Zencart, Magento and Joomla site all aspects including MySQL, custom modules, theme templates, customized HTML pages.
$155 USD in 3 days
5.0 (9 reviews)
4.6
4.6
User Avatar
Hi Thanks for your valuable time. :-) I have checked your requirements, and understood what you want. I have a deep passion for Wordpress. I claim to get it done perfectly for you EXACTLY in the way you want it - Kindly give I a chance and I will prove myself. I would like to work with you. Thanks & Best Regards
$200 USD in 3 days
5.0 (4 reviews)
3.5
3.5
User Avatar
Hi, I have gone through with the project details and i am interested to do this project. Thanks !!!
$30 USD in 3 days
5.0 (1 review)
0.0
0.0

About the client

Flag of UNITED STATES
Metairie, United States
5.0
3
Payment method verified
Member since Feb 22, 2016

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.