Devam Ediyor

497281 Wordpress plugin add custom field variable to php code

Hello,

we have a task for [url removed, login to view]

1) The site uses a plugin 'Gigpress' to display a schedule for music artists [url removed, login to view]

Currently our site uses this code to call data stored by gigpress:

<?php

$options = array('scope' => 'upcoming', 'artist' => 8, 'limit' => 10);

echo gigpress_shows($options);

?>

The line "'artist' => 8" tells the plugin from which artist(user) to display the data. We need to make this a variable, so that we can select which artist's data to display from a wordpress post screen (in the admin).

We have installed a custom fields plugin that can be used to enter in the artist number from the post screen.

Thanks!

Beceriler: Her şey Kabul, PHP, WordPress

Daha fazlasını görün: wordpress docs, wordpress post, php artists, make wordpress plugin, custom field, add number, wordpress field select, php post array, add field code, custom field post wordpress, schedule plugin, display field, wordpress schedule plugin, call php wordpress, call plugin wordpress, wordpress select plugin, wordpress custom field, code variable, wordpress artist, custom php code, wordpress plugin custom code, custom fields plugin, wordpress plugin custom data, scope php, need custom wordpress plugin

İşveren Hakkında:
( 31 değerlendirme )

Proje NO: #2243197