Title: Johannes van Poelgeest's Replies | WordPress.org

---

# Johannes van Poelgeest

  [  ](https://wordpress.org/support/users/poolghost/)

 *   [Profile](https://wordpress.org/support/users/poolghost/)
 *   [Topics Started](https://wordpress.org/support/users/poolghost/topics/)
 *   [Replies Created](https://wordpress.org/support/users/poolghost/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/poolghost/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/poolghost/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/poolghost/engagements/)
 *   [Favorites](https://wordpress.org/support/users/poolghost/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/users/poolghost/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/poolghost/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Options Pages] Warning: Undefined array key “DOCUMENT_URI”](https://wordpress.org/support/topic/warning-undefined-array-key-document_uri/)
 *  Plugin Author [Johannes van Poelgeest](https://wordpress.org/support/users/poolghost/)
 * (@poolghost)
 * [8 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-document_uri/#post-18710951)
 * An update will be released soon that will fix this problem.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Options Pages] Lots of Deprecated warnings on PHP 8.2+](https://wordpress.org/support/topic/lots-of-deprecated-warnings-on-php-8-2/)
 *  Plugin Author [Johannes van Poelgeest](https://wordpress.org/support/users/poolghost/)
 * (@poolghost)
 * [8 months ago](https://wordpress.org/support/topic/lots-of-deprecated-warnings-on-php-8-2/#post-18710000)
 * 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Options Pages] Support for shortcodes?](https://wordpress.org/support/topic/support-for-shortcodes-7/)
 *  Plugin Author [Johannes van Poelgeest](https://wordpress.org/support/users/poolghost/)
 * (@poolghost)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/support-for-shortcodes-7/#post-18453265)
 * Yes of course.
 * Put this code in your `functions.php` file.
 *     ```wp-block-code
       add_shortcode('option', function($atts) {    return get_option($atts['option_name']);});
       ```
   
 * use the shortcode this way.
 * `[option option_name=your-option-name]`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Options Pages] Some of the value on this settings field is not allowed](https://wordpress.org/support/topic/some-of-the-value-on-this-settings-field-is-not-allowed/)
 *  Plugin Author [Johannes van Poelgeest](https://wordpress.org/support/users/poolghost/)
 * (@poolghost)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/some-of-the-value-on-this-settings-field-is-not-allowed/#post-15542606)
 * Set this one as resolved. Feel free to reopen this case if needed.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Options Pages] Some of the value on this settings field is not allowed](https://wordpress.org/support/topic/some-of-the-value-on-this-settings-field-is-not-allowed/)
 *  Plugin Author [Johannes van Poelgeest](https://wordpress.org/support/users/poolghost/)
 * (@poolghost)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/some-of-the-value-on-this-settings-field-is-not-allowed/#post-15537763)
 * Hey 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, 3 months ago by [Johannes van Poelgeest](https://wordpress.org/support/users/poolghost/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Options Pages] Retreive image url](https://wordpress.org/support/topic/retreive-image-url/)
 *  Plugin Author [Johannes van Poelgeest](https://wordpress.org/support/users/poolghost/)
 * (@poolghost)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/retreive-image-url/#post-14401576)
 * Marking this ticket as resolved for now.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Options Pages] No zero in number field](https://wordpress.org/support/topic/no-zero-in-number-field/)
 *  Plugin Author [Johannes van Poelgeest](https://wordpress.org/support/users/poolghost/)
 * (@poolghost)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/no-zero-in-number-field/#post-14401571)
 * Hey Oguido,
 * This bug is fixed now (version 0.9.5).
 * Thanks for reporting this problem.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Options Pages] Retreive image url](https://wordpress.org/support/topic/retreive-image-url/)
 *  Plugin Author [Johannes van Poelgeest](https://wordpress.org/support/users/poolghost/)
 * (@poolghost)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/retreive-image-url/#post-14308523)
 * Hey Tono,
 * Good question.
 * That number represents the id of the image.
 * You can use, for example, the [wp_get_attachment_image](https://developer.wordpress.org/reference/functions/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, 2 months ago by [Johannes van Poelgeest](https://wordpress.org/support/users/poolghost/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Options Pages] Plugin is not saving the options page](https://wordpress.org/support/topic/plugin-is-not-saving-the-options-page/)
 *  Plugin Author [Johannes van Poelgeest](https://wordpress.org/support/users/poolghost/)
 * (@poolghost)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/plugin-is-not-saving-the-options-page/#post-14308437)
 * See [github.com/poolghost/adminoptionspages-issues/issues/3](https://github.com/poolghost/adminoptionspages-issues/issues/3).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Options Pages] Error: Options page MyOptionsPage not found in the allowed options](https://wordpress.org/support/topic/error-options-page-myoptionspage-not-found-in-the-allowed-options/)
 *  Plugin Author [Johannes van Poelgeest](https://wordpress.org/support/users/poolghost/)
 * (@poolghost)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/error-options-page-myoptionspage-not-found-in-the-allowed-options/#post-14271852)
 * Set this one as resolved. Feel free to reopen this case if needed.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Options Pages] A few feedbacks](https://wordpress.org/support/topic/a-few-feedbacks/)
 *  Plugin Author [Johannes van Poelgeest](https://wordpress.org/support/users/poolghost/)
 * (@poolghost)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/a-few-feedbacks/#post-14271851)
 * Hey 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](https://github.com/poolghost/adminoptionspages-issues).
 * Or you send me an email at [poolghost22@gmail.com](https://wordpress.org/support/users/poolghost/replies/poolghost22@gmail.com?output_format=md).
 * Duplicated fields are maybe coming in a future (Pro) version.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Options Pages] Field name prefix](https://wordpress.org/support/topic/field-name-prefix/)
 *  Plugin Author [Johannes van Poelgeest](https://wordpress.org/support/users/poolghost/)
 * (@poolghost)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/field-name-prefix/#post-13803892)
 * Marking 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Options Pages] Error Notice: Undefined index: DOCUMENT_URI](https://wordpress.org/support/topic/error-notice-undefined-index-document_uri/)
 *  Plugin Author [Johannes van Poelgeest](https://wordpress.org/support/users/poolghost/)
 * (@poolghost)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/error-notice-undefined-index-document_uri/#post-13803891)
 * Marking 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Options Pages] Error: Options page MyOptionsPage not found in the allowed options](https://wordpress.org/support/topic/error-options-page-myoptionspage-not-found-in-the-allowed-options/)
 *  Plugin Author [Johannes van Poelgeest](https://wordpress.org/support/users/poolghost/)
 * (@poolghost)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/error-options-page-myoptionspage-not-found-in-the-allowed-options/#post-13802121)
 * 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Options Pages] Error Notice: Undefined index: DOCUMENT_URI](https://wordpress.org/support/topic/error-notice-undefined-index-document_uri/)
 *  Plugin Author [Johannes van Poelgeest](https://wordpress.org/support/users/poolghost/)
 * (@poolghost)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-notice-undefined-index-document_uri/#post-13470758)
 * So sorry for this late reaction. (Still receive no email)
 * The latest update (0.9.2) must have fixed the issue.

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/users/poolghost/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/poolghost/replies/page/2/?output_format=md)