I gang

WP Shortcode to Parse a line seperarated / comma seperated multi-value custom field

This task would consist of developing a Wordpress Shortcode that can extract data from a line-separated custom field which also includes field separated values in each line. The number of lines would differ based on the post it was pulled from, but the field separated values would be constant.

GROUP24|Group|01-06-2014|03-19-2014|Jan 1 - Mar 19, 2014|2399|7|47|2|100|230|45|45

SINGLE10|Single|04-06-2014|06-20-2014|Apr 6 - Jun 20, 2014|2699|12|44|3|100|230|45|45

MULTIPLE20|Multiple|06-06-2014|09-20-2014|Jun 6 - Sep 20, 2014|2499|10|40|2|100|230|45|45

Initially the custom field data must be parsed to remove invalid lines. In the example above the first line would be remove due to the being in the past (01-06-2014) and producing this result in a new variable.

SINGLE10|Single|04-06-2014|06-20-2014|Apr 6 - Jun 20, 2014|2699|12|44|3|100|230|45|45

MULTIPLE20|Multiple|06-06-2014|09-20-2014|Jun 6 - Sep 20, 2014|2499|10|40|2|100|230|45|45

From this stage the data would need to be parsed into unique variables for each separated field in EACH line where the lines above extracted in 13 unique variables that contain a line number suffix to indicated which line it was taken from (i.e... variable-1,variable-2,etc.)

$id-1, $name-1, $end-1, $dates-1, $name-1, $price-1, etc...

$id-2, $name-2, $end-2, $dates-2, $name-2, $price-2, etc...

Variables such ID / name will be called as parameters i.e. [shortcode id="" name=""] and an error-check is needed to ensure validity of values entered. If parameter values are invalid than an error message would be displayed rather than the loop.

Once validated the data would extracted into a Return HTML loop that places the data from specific fields into the HTML code based on the parameters added in the shortcode.

...

Candidates who PMB us requesting our more detailed writeup will be given preference for fully reading the project scope. Included along with our notes is a PHP shortcode code base which details every single loop / validity check required in full detail.

There should be no underestimated the project scope once the PHP code base is reviewed, so please you ask for it before bidding.

Færdigheder: PHP, WordPress

Se mere: in this line, e value, above the line, single line, shortcode, parse html, parse an html, invalid project id, custom field, parse error parse error, wordpress parse data, php shortcode wordpress error, wordpress shortcode, post value, php post value, wordpress constant, html parse php, php parse error parse error, jan 2014, custom field post wordpress, value post, custom loop, php value post, multi variable, html shortcode

Om arbejdsgiveren:
( 36 bedømmelser ) Toronto, Canada

Projekt-ID: #6012754

Tildelt til:

workon

So, user will actually use [shortcode id="" name=""] and it need to display the information from a specific meta value ? Few thing i need explanation, you called 'loop', but i don't see anything about loop. As if each Mere

$100 USD på 1 dag
(135 bedømmelser)
6.8

7 freelancere byder i gennemsnit $86 for dette job

evgendob

Hello there. Wordpress expert ready to help you with shortcode parser. I have more 200 good reviews, so all will be done on highest level.

$105 USD in 3 dage
(276 bedømmelser)
7.4
petric

Hello! I am wordpress pro, have good wordpress experience, working with wordpress for more than 5 years. From my wordpress responsive projects: [url removed, login to view] [url removed, login to view] [url removed, login to view] Mere

$100 USD på 1 dag
(138 bedømmelser)
6.4
dreamci

Hello, wordpress expert here, please check my reviews, i can create the required shortcode for you, i understood what you need and can do 100%

$100 USD på 1 dag
(59 bedømmelser)
6.1
karimmughal1

Hi, I have many years of experience working with WordPress and writing custom PHP code as well as a background in design. I have worked almost exclusively with Wordpress for many years both on freelance websites li Mere

$61 USD på 1 dag
(79 bedømmelser)
5.8
suronjit

I have 3 years experience in web developing using wordpress.I have sound knowledge in php, jquery, javascript,css and html. I am ready to do this task. Pls check my previous work and hire me sir.I have completed 40 wor Mere

$72 USD på 1 dag
(8 bedømmelser)
2.7
sumanbiswas85

Hi, I have 3+ years experience in wordpress. I have created lots of wordpress theme and plugin. I can complete your requirement with my confidence. So please come on chat with me. I can start work now . Thanks,

$66 USD på 1 dag
(6 bedømmelser)
2.5
vishsoftware

We are 15+ people in team having more than 7 years experiences with web development .we are running our small company . just give us chance you will be happy with our services .

$100 USD på 1 dag
(4 bedømmelser)
2.0