I need a few lines of php written to slightly change how a WordPress plugin outputs its data.
I'm using a search directory plugin which outputs listings in a responsive grid format.
Each of my listings has a specific custom field value to categorize them. (subscription type)
Instead of all my listings being displayed in one row with lots of columns, I would like the plugin to display a new row per custom field value.
CURRENT SETUP :
ROW > COLUMNS
DESIRED SETUP :
ROW (Custom Field #1) > COLUMNS
ROW (Custom Field #2) > COLUMNS
ROW (Custom Field #3) > COLUMNS
The code will look similar to below (which works for checking field type) it's the output code that is proving difficult.
<?php foreach ($entity->field_custom_field as $category):?>
<?php if ($category === 'CustomField#1'):?>
OUTPUT ROW #1 & LISTINGS FROM CUSTOM FIELD 1
<?php if ($category === 'CustomField#2'):?>
OUTPUT ROW #2 & LISTINGS FROM CUSTOM FIELD 2
<?php if ($category === 'CustomField#3'):?>
OUTPUT ROW #3 & LISTINGS FROM CUSTOM FIELD 3
I will supply the full code and everything you need via chat.
Please only bid on this project if you are very good at PHP and have read this project brief, also include the text "New Rows" in your proposal title so I know you have read this.
This is a very simple task which will require just a few lines of code, half of which is already done for you so bid accordingly.
I will explain any further details and questions over chat.
16 Freelancer bieten im Durchschnitt $27 für diesen Job
Dear Sir, (New rows) I am really interested to work on this project . I have very good experience of doing this sort of job, I can start the work at earliest and can assure the best service from my end.
I am Rajat Srivastava From Indian We can do this for you. Give us a chance. We can do your work at very low rates Please Call Me +917398172828 Whatsaap Number +917398172828