描述
此插件已于 2024 年 7 月 9 日 关闭,无法下载。 此关闭是永久的。 原因:由作者请求。
评价
2022 年 2 月 10 日
J’utilise beaucoup ACF Pro pour mes développements.
Cette extension est le complément idéal pour créer facilement des pages d’options.
Merci au développeur
2021 年 9 月 15 日
Saved my time and works well!
2018 年 11 月 20 日
2 回复
Tried according to the documentation, but did not work. Trying to get the $post_id will not work.
I have a very simple Options menu with a parent and two children. Set as save to This Post for all three. I have one set of custom fields showing up on the two children option pages.
I entered the fields on a child options page, saved, then tried to run some code:
Ex:
$post_id = get_options_page_id(‘parent-options-page-slug’);
if ( have_rows( ‘repeater_field_name’, $post_id ) ):
while ( have_rows( ‘repeater_field_name’ , $post_id ) ): the_row();
$episode = get_sub_field( ‘episode_field’);
echo ‘Episode ‘ . $episode;
Does not return anything. Does not work.
UPDATE:
Have to create a shortcode attribute to grab sub-page menu slug. After that, works for me.
2018 年 1 月 16 日
Works great and saves me time. Love the extra features from ACF Pro like ‘Saving Values to the Options Page Post’.
2017 年 8 月 31 日
This feature needs to be implemented in core ACF. Special thanks for ability to add content before and after acf fields. Great work!