Johannes van Poelgeest
Forum Replies Created
-
Forum: Plugins
In reply to: [Admin Options Pages] Warning: Undefined array key “DOCUMENT_URI”An update will be released soon that will fix this problem.
Forum: Plugins
In reply to: [Admin Options Pages] Lots of Deprecated warnings on PHP 8.2+These are warnings from version PHP 8.4+ and higher.
If the problem persists, can you provide more information? For example, the PHP version and how to retrieve the error.
Forum: Plugins
In reply to: [Admin Options Pages] Support for shortcodes?Yes of course.
Put this code in your
functions.phpfile.add_shortcode('option', function($atts) {
return get_option($atts['option_name']);
});use the shortcode this way.
[option option_name=your-option-name]Forum: Plugins
In reply to: [Admin Options Pages] Some of the value on this settings field is not allowedSet this one as resolved. Feel free to reopen this case if needed.
Forum: Plugins
In reply to: [Admin Options Pages] Some of the value on this settings field is not allowedHey Nicolausai,
Script tags in input fields are tricky. I hope you understand that.
But there is a way. You can use a filter to validate by yourself.greets
add_filter('aop_sanitize_option_{ your_setting_name }', function( $value ) { // Do what you want with the value return $value; }, 10, 1 );- This reply was modified 4 years, 1 month ago by Johannes van Poelgeest.
Forum: Plugins
In reply to: [Admin Options Pages] Retreive image urlMarking this ticket as resolved for now.
Forum: Plugins
In reply to: [Admin Options Pages] No zero in number fieldHey Oguido,
This bug is fixed now (version 0.9.5).
Thanks for reporting this problem.
Forum: Plugins
In reply to: [Admin Options Pages] Retreive image urlHey Tono,
Good question.
That number represents the id of the image.
You can use, for example, the wp_get_attachment_image function to get a link.
In your situation:
$imageId = get_option('banner_1'); echo wp_get_attachment_image($imageId);But there are more functions you can use.
Good luck!
- This reply was modified 5 years, 1 month ago by Johannes van Poelgeest.
Forum: Plugins
In reply to: [Admin Options Pages] Plugin is not saving the options pageSet this one as resolved. Feel free to reopen this case if needed.
Forum: Plugins
In reply to: [Admin Options Pages] A few feedbacksHey Ishko,
Nice to read that you like the plugin.
A good point to think about other languages.
For the first 2 points: I can’t replicate the issues.
Is it possible to send me some screenshots?If you are familiar with Github you can use the issue tracker.
Or you send me an email at [email protected].
Duplicated fields are maybe coming in a future (Pro) version.
Forum: Plugins
In reply to: [Admin Options Pages] Field name prefixMarking this ticket as resolved for now. Feel free to reopen it if you need to, or create a new ticket for anything else.
Forum: Plugins
In reply to: [Admin Options Pages] Error Notice: Undefined index: DOCUMENT_URIMarking this ticket as resolved for now. Feel free to reopen it if you need to, or create a new ticket for anything else.
Hi,
I can not replicate your issue.
What is your setup? PHP version?, Nginx/Apache?
And is it possible to write out the steps until you get the error?
Forum: Plugins
In reply to: [Admin Options Pages] Error Notice: Undefined index: DOCUMENT_URISo sorry for this late reaction. (Still receive no email)
The latest update (0.9.2) must have fixed the issue.