Devam Ediyor

497281 Wordpress plugin add custom field variable to php code


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:


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


Beceriler: Her şey Kabul, PHP, WordPress

Daha fazlasını görün: wordpress docs, wordpress to php, WordPress post, php artists, make a wordpress plugin, custom field, add number, wordpress post http, wordpress field select, php post array, add field code, php wordpress add custom field, 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, music wordpress, wordpress artist, custom php code, wordpress plugin custom code

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

Proje NO: #2243197