Hey, I have the code to retreive a fields value (get_option(‘manager_name’);), how do I get this as a shortcode?
]]>I’m getting the following warnings in my log after updating to PHP 8.1. Could we get an update of the plugin compatible with 8.1 as PHP 8.0 has now reached end of life?
Deprecated: Return type of AOP\Lib\Illuminate\Support\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /.../plugins/admin-options-pages/Lib/Illuminate/Support/Collection.php on line 1534
]]>
When i try to add new fields, the plugin doesn’t save the modifications.
The fix suggested in github worked for a while but not anymore.
Using PHP 8.0 on Hostinger.
WP Version 6.2
Admin Options Pages Version 0.9.7
This plugin is great in many ways – for “mocking up” a plugin’s options page(s), but there is no way to take these generated options and package them into a plugin, or even use them as designed across multiple sites.
For a plugin that I want to release in the repo, or sell, am I supposed to install this separately and somehow rebuild the options pages each time I install my plugin for each site I install it on?
It kind of makes no sense other than for mocking up, or for just one-off custom plugins used only on one site, no?
]]>I get this message: Some of the value on this settings field is not allowed
The error appears when trying to include the Google Analytics Code, I suspect it is the <script> tag that is not allowed.
Any chance to add scripts in a field?
Thanks
Seeing this error in the logs when viewing an option page.
PHP Notice: Undefined index: page in /var/www/docroot/wp-content/plugins/admin-options-pages/App/Options/OptionsPages.php on line 82
]]>Hello,
I’m looking for the last update timestamp when i save the custom admin page. It’s important to show when the fields are last modified.
Kind Regards
Richard
]]>Hello, I’ve set up a Number field with a minimum of 0 and maximum of 100, but from 1 to 100 works fine (it saves and displays the number, plus the custom field is correctly created) but with zero it shows empty right after saving, and no custom field is created (null), neither empty nor ‘0’ nor 0…
I think this is not correct, is it? Otherwise if I NEED to use zero sometimes, how can I do it?
Thank you
]]>I liked very much the idea of this plugin. I tried using it, but unfortunately the options page is not saved. I am able to do all the configuration, but the page is not saved nor added to the menu.
Any idea of what could be the issue?
]]>Hello. I’ve started using this plugin and found it very practical.
I have a queston.
When I set up an image field and try to retreive the image url, i just get a number.
This is what i do.
Create an image field with the field name “banner_1”
Then I do:
echo get_option('banner_1');
And it writes “639”
I see that this number correspond with this value:
<input type="hidden" name="banner_1" value="639" class="aop-media-attachment">
My question is, how do i get the image url?
Thanks
]]>Hi,
I am using your plugin on a website and have some comments.
– First of all, everything is working fine and I was just annoyed by a few details:
– Some languages often use accents and apostrophes in standard sentences. For example, in French. But it is not possible to use accents or single quotes for the title of a tab in the Title of menu page field (titles like Responses or Registration form </ em>)
– same problem on the “Title of the page” control. A new slash is added each time options are saved. Here is my title after saving the options several times: Formulaire d\\\\\\\’éligibilité
– It would be great to be able to duplicate a field
And that’s all ! Just details … the plugin is awesome. Many thanks for your work.
]]>HI!
After saving the Options Page (not the Settings for the Options Page but the Options Page itself) I get the following Error
[code]Error: Options page MyOptionsPage-tq49votv9l not found in the allowed options[/code].
I have the newest WordPress Version 5.6. Maybe that’s the reason why.
Just wanted to let you know & hope you can fix this soon!
Hi there,
looks like a great plugin that can help facilitate the process of setting up individual admin pages a lot.
However, I get the following error notice after setting up a single text field option, regardless of whether that is in a custom or in an existing menu:
Undefined index: DOCUMENT_URI in wp-content/plugins/admin-options-pages/App/Options/SingleOptionsPage.php on line 104
This plugin looks great!
I’m wondering if there is a possibility to set a field name prefix for a table eg at the table set a prefix such as ‘abc’ which would then auto prefix abc_1, abc_2 etc. This would help in managing the grouping of options in the table, especially if needing to remove them from database