Find Jobs
Hire Freelancers

Advanced WordPress query using formula

$250-750 USD

Closed
Posted about 10 years ago

$250-750 USD

Paid on delivery
I am building a custom WordPress website using the Isotope masonry jquery plugin. Posts will be displayed visually using their featured images. I can set all of this up, but I need a programmer to write an advanced WP query to load the posts using a specific algorithm/formula. The main query will pull posts from a custom post type (CPT) called "Employees." We want to partially randomize the Employee posts so that more senior employees tend to show higher. There are four tiers of employees, and each employee post will be assigned a Tier Number (1 to 4, with 4 being senior level) via a custom field. Each time the employee page is generated, each post from this CPT should be assigned a Random Number (1 to 5) which will be multiplied by its pre-defined Tier Number (1 to 4). Then, using the product of "Tier x Random," the posts should be displayed in descending order. For example, a Tier 2 employee with a random 4 would equal "8". A Tier 4 employee with a random 3 would equal "12". Posts should then be assembled in descending order based on that final number. It will be different each time you view the page because the generated random numbers will be different. Adding another level of complexity, posts from another CPT (let's call it "fillers") should also be pulled into this loop and be interspersed randomly, approximately 1 post from the Fillers CPT for every 6 posts from the Employees CPT. Perhaps you use a counter that says "after every 6th post, display a post from "Fillers"?" I can provide you with access to a WordPress setup that has all the CPTs loaded in with sample posts and the relevant custom fields. I will also have the masonry script set up as well. I can give you FTP access as well. What I need you to do is write the queries to pull the posts in using the above algorithm/formula.
Project ID: 5754682

About the project

33 proposals
Remote project
Active 10 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
33 freelancers are bidding on average $571 USD for this job
User Avatar
Kindly ignore the bid amount & time-line, it is just a placeholder, as we still need to receive more detailed requirements from you to finalize it. -------- Dear Sir, I have read your Project Description and please provide me your WordPress website URL, so I can look at it and confirm you our estimate. Look forward to hearing from you and talking to you further thru' Freelancer message board. Regards, YK LEADconcept
$773 USD in 20 days
5.0 (48 reviews)
8.3
8.3
User Avatar
**********************.. YOUR SEARCH ENDS HERE .. ********************** GET IT DONE RIGHT THE FIRST TIME! My clients are first and communication is very important. Hello Sir/Ma'am, yes indeed I read descriptions however, I have 1 chance to make a first impression. I want to ensure you that I have the skill-set needed to complete your project. Once you message me, I will send more past work examples your way and more detailed info. Please note: I do Not have a dozen projects in progress. The system works in such a way that even if the projects are very old & they we're paid a different way, possibly before the new milestone setup.. that is how it looks (as ongoing). I am ready to work. I look forward to talking to you further and getting started. I've been working in simple and extensive Website Coding (PHP, MYSQL, WORDPRESS, JOOMLA, JAVASCRIPT, CSS, HTML), Website Designing and Graphic Design for ***over 10 years now. After working as a ***top sales and marketing representative for Sears, I began to independently pursue my career. I have experience in do-it-yourself CMS, Logos with flare and flash design to name a few. I went to college for business and marketing so ***I know what it takes to sell. Get it done professionally and get it done right THE FIRST TIME! Some people like to know who they are working with on the personal side. If you are one of the types of people, please watch my short video at www.blissent.net. You'll see a big reason why I work! Thank you, Timothy
$1,030 USD in 10 days
4.8 (38 reviews)
7.4
7.4
User Avatar
We are interested to write the query as per your requirements. We are well versed in wordpress and have completed more than 1000 projects here. We have some doubts and would like to discuss them once you initiate conversation with us.
$250 USD in 10 days
4.8 (651 reviews)
7.1
7.1
User Avatar
i am skilled in wordpress, i can help you on this. i am skilled in wordpress, i can help you on this. i am skilled in wordpress, i can help you on this.
$526 USD in 3 days
5.0 (215 reviews)
7.0
7.0
User Avatar
Custom sites, Wordpress Sites, All programming languages and database types. Sites include administrative back end systems. Would love to help you, contact me so we can move forward.
$526 USD in 10 days
4.9 (29 reviews)
7.0
7.0
User Avatar
Hello, My name is Faizan and I am Wordpress Developer. I can write a query to perform this algorithm. We will play with Wordpress Hooks and will hook our function with algorithm to wp hooks. The function will then sort the post or display post from fillers category after every 6 posts. Not sure why are you doing this but I am sure I can do that. Best Regards
$250 USD in 2 days
4.8 (23 reviews)
6.8
6.8
User Avatar
Hello Sir. I have carefully gone through your requirements and have understood the algorithm you want to integrate into the main Wordpress Post query for your CPTs. Everything is clear and I have a suggestion regarding the counter that says "after every 6th post, display a post from "Fillers"?" I would rather make it randomized too between numbers 3 and 6 so sometime Fillers CPT post will get displayed after 3 CPT posts of Employees and sometimes after 4, 5 or 6 posts. What do you say? Let me know if you are interested. thanks :) EDIT: Seeing the deadline of 15th April, I can deliver it within that time-frame. Just a confirmation on my end.
$412 USD in 7 days
5.0 (115 reviews)
6.6
6.6
User Avatar
Hello Hiring manager, Greetings from Evidcomm!!! Happy to have your attention on our proposal.. We have gone through your requirements and would be pleased to work on.I have read your all project detail and as per our team we can surely do this project for you with all things as you want.. As we have very good technical team so surly you will not be disappointed if you give us this opportunity. Please open private message board for genuine thread of communication, so we can discuss this project in more detail and get the ball rolling for this project. Kindly check our profile link as below...you can see there portfolio and also..we get very good reviews and ratings..which shows our dedication and service level towards client.. https://www.freelancer.com/u/evidcomm.html We have already done this kind of work in past and surely we will get finished this project as you want with perfect timeline and with perfect professionalism. We are Active in Freelancer from last 1 Year and you can see our all detail in above link..So please do not worry about service you will get perfect and professional solution from our experienced team. In portfolio..there is only few links..once you message me then I will send you more links.. If you have any questions or wish to discuss your project further then please let me know here, we will update you speedy and concise reply with proper manner. Thanks & Regards, Mustu
$400 USD in 10 days
4.5 (40 reviews)
6.1
6.1
User Avatar
Hi, I am a wordpress expert, let me take the two post types and have it in a function and give it to you, framing the query. If you want this as a shortcode also I can provide you. please reply me to discuss more in detail. Thanks Bala
$555 USD in 4 days
4.9 (14 reviews)
5.8
5.8
User Avatar
Dear Sir, We claim to get it done perfectly for you EXACTLY in the way you want it - Kindly give we a chance and we will prove myself - Ready to prove our words, let's get it done right away and I mean RIGHT AWAY !! Looking forward to hear from you soon - GOD Bless You.
$736 USD in 10 days
4.8 (43 reviews)
5.5
5.5
User Avatar
I'm experienced Wordpress developer - during which time I have build custom themes, plugins and widgets. I can create and test your custom algorithm for post generation. I look forward to hearing from you.
$444 USD in 7 days
5.0 (5 reviews)
5.0
5.0
User Avatar
Hello, We can create the based on your requirements and timeline. I primarily work with small businesses, professional services and individuals. My goal is to provide quality web solution at a reasonable price. Please let me know your availability and we can discuss the details over Skype or Phone. We have local office in US as well. Regards, Ash
$541 USD in 5 days
5.0 (4 reviews)
4.4
4.4
User Avatar
Hello! In overall not that much difficult to achieve, though there are some aspects that need further clarification. Like: 1) What would be the order amongst the "fillers" list itself prior to mering them with the employees? You want them spread following as pattern (countwise) amonghst the employees so the only option is to get them two lists separately first and then do the merging. 2) Would there be any particular ordering of the combined list of posts (after merging the fillers with the employees) that the merging itself should take into consideration when combining? We know that the employees list, on its own, is ordered by random calculated index, in ascending order, the fillers won't probably have that, but eventually their own ordering, so would the combines have a "common" order, or just whichever X-th filler from the list in its own order, after the N-th employee (where N is the give space between two fillers)? There woul dprobably be more things that need to be attenuated, but in overall what you have already written and the answers on the above would be enough to do a better assessment of the individual tasks involved into this. Kind Regards, Dobri
$250 USD in 3 days
5.0 (20 reviews)
3.9
3.9
User Avatar
A proposal has not yet been provided
$555 USD in 10 days
5.0 (14 reviews)
3.3
3.3
User Avatar
La propuesta todavía no ha sido proveída
$555 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
0.0
0
Member since Apr 2, 2014

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)
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.