<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>

		<title>WordPress.org Forums &#187; [Admin Page Framework] Support</title>
		<atom:link href="https://wordpress.org/support/plugin/admin-page-framework/feed/" rel="self" type="application/rss+xml" />
		<link>https://wordpress.org/support/plugin/admin-page-framework/feed/</link>
		<description></description>		<lastBuildDate>Wed, 15 Apr 2026 01:48:13 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.7.0-alpha-2</generator>
		<language>en-US</language>

		
		
			
				<item>
					<guid>https://wordpress.org/support/topic/create-a-setting-form-in-taps-page/</guid>
					<title><![CDATA[Create a setting form In taps page]]></title>
					<link>https://wordpress.org/support/topic/create-a-setting-form-in-taps-page/</link>
					<pubDate>Tue, 03 Jan 2023 05:45:15 +0000</pubDate>
					<dc:creator>eiqazapp</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 0</p>
						<p class="wp-block-paragraph">How to create a setting form In taps page</p>
						]]>
					</description>

					
					
					
				</item>

				
				<item>
					<guid>https://wordpress.org/support/topic/wordpress-dot-org-plugin-directory-sanitize-validate-escape/</guid>
					<title><![CDATA[wordpress dot org plugin directory: sanitize, validate, escape]]></title>
					<link>https://wordpress.org/support/topic/wordpress-dot-org-plugin-directory-sanitize-validate-escape/</link>
					<pubDate>Thu, 15 Dec 2022 07:44:39 +0000</pubDate>
					<dc:creator>Krešimir Karamazen</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 2</p>
						<p class="wp-block-paragraph">In December 2022 I made a publication proposal for wordpress plugin on wordpress.org. I recently needed an on-screen numeric keypad. The only plugin I could find was &#8220;on-screen-kyeboard&#8221;. I thought it would be helpful to the community to revive this plugin and add a pure numeric keypad, especially for password-protected pages. That&#8217;s how I did it.<br />The source can be downloaded at:</p>



<pre class="wp-block-code"><code>https:&#047;&#047;github.com/kresimir71/on-screen-keyboard

However, for submitting the plugin to wordpress dot org the following requirements are proposed during inspection:

<strong>Data Must be Sanitized, Escaped, and Validated</strong>

When you include POST/GET/REQUEST/FILE calls in your plugin, it's important to sanitize, validate, and escape them. The goal here is to prevent a user from accidentally sending trash data through the system, as well as protecting them from potential security issues.

SANITIZE: Data that is input (either by a user or automatically) must be sanitized as soon as possible. This lessens the possibility of XSS vulnerabilities and MITM attacks where posted data is subverted.

VALIDATE: All data should be validated, no matter what. Even when you sanitize, remember that you don’t want someone putting in ‘dog’ when the only valid values are numbers.

ESCAPE: Data that is output must be escaped properly when it is echo'd, so it can't hijack admin screens. There are many esc_*() functions you can use to make sure you don't show people the wrong data.

To help you with this, WordPress comes with a number of sanitization and escaping functions. You can read about those here:
• https://developer.wordpress.org/apis/security/sanitizing/
• https://developer.wordpress.org/apis/security/escaping/

Remember: You must use the most appropriate functions for the context. If you’re sanitizing email, use sanitize_email(), if you’re outputting HTML, use wp_kses_post(), and so on.

An easy mantra here is this:

Sanitize early
Escape Late
Always Validate

Clean everything, check everything, escape everything, and never trust the users to always have input sane data. After all, users come from all walks of life.

Example(s) from your plugin:

on-screen-keyboard-master/library/apf/factory/_common/utility/base_utility/AdminPageFramework_Utility_URL.php:27: $_sHost = isset($_SERVER&#091; 'HTTP_X_FORWARDED_HOST' ]) ? $_SERVER&#091; 'HTTP_X_FORWARDED_HOST' ] : (isset($_SERVER&#091; 'HTTP_HOST' ]) ? $_SERVER&#091; 'HTTP_HOST' ] : $_SERVER&#091; 'SERVER_NAME' ]);
on-screen-keyboard-master/library/apf/factory/_common/utility/base_utility/AdminPageFramework_Utility_URL.php:29: return $_sProtocol . '://' . $_sHost . $_sPort . $_SERVER&#091; 'REQUEST_URI' ];
on-screen-keyboard-master/library/apf/factory/_common/utility/base_utility/AdminPageFramework_Utility_URL.php:33: $_sPort = isset($_SERVER&#091; 'SERVER_PORT' ]) ? ( string ) $_SERVER&#091; 'SERVER_PORT' ] : '';
on-screen-keyboard-master/library/apf/factory/_common/utility/base_utility/AdminPageFramework_Utility_URL.php:40: return array_key_exists('HTTPS', $_SERVER) &amp;&amp; 'on' === $_SERVER&#091; 'HTTPS' ];
on-screen-keyboard-master/library/apf/factory/_common/utility/wp_utility/AdminPageFramework_WPUtility_URL.php:24: $sPageURL .= $_SERVER&#091; "SERVER_NAME" ] . ":" . $_SERVER&#091; "SERVER_PORT" ] . $sRequestURI;
on-screen-keyboard-master/library/apf/factory/_common/utility/wp_utility/AdminPageFramework_WPUtility_URL.php:26: $sPageURL .= $_SERVER&#091; "SERVER_NAME" ] . $sRequestURI;

<strong>Variables and options must be escaped when echo'd</strong>

Much related to sanitizing everything, all variables that are echoed need to be escaped when they're echoed, so it can't hijack users or (worse) admin screens. There are many esc_*() functions you can use to make sure you don't show people the wrong data, as well as some that will allow you to echo HTML safely.

At this time, we ask you escape all $-variables, options, and any sort of generated data when it is being echoed. That means you should not be escaping when you build a variable, but when you output it at the end. We call this 'escaping late.'

Besides protecting yourself from a possible XSS vulnerability, escaping late makes sure that you're keeping the future you safe. While today your code may be only outputted hardcoded content, that may not be true in the future. By taking the time to properly escape when you echo, you prevent a mistake in the future from becoming a critical security issue.

This remains true of options you've saved to the database. Even if you've properly sanitized when you saved, the tools for sanitizing and escaping aren't interchangeable. Sanitizing makes sure it's safe for processing and storing in the database. Escaping makes it safe to output.

Also keep in mind that sometimes a function is echoing when it should really be returning content instead. This is a common mistake when it comes to returning JSON encoded content. Very rarely is that actually something you should be echoing at all. Echoing is because it needs to be on the screen, read by a human. Returning (which is what you would do with an API) can be json encoded, though remember to sanitize when you save to that json object!

There are a number of options to secure all types of content (html, email, etc). Yes, even HTML needs to be properly escaped.
• https://developer.wordpress.org/apis/security/escaping/

Remember: You must use the most appropriate functions for the context. There is pretty much an option for everything you could echo. Even echoing HTML safely.

Example(s) from your plugin:

on-screen-keyboard-master/library/apf/factory/widget/AdminPageFramework_Widget_Factory.php:19: echo $aArguments&#091; 'before_widget' ];
on-screen-keyboard-master/library/apf/factory/widget/AdminPageFramework_Widget_Factory.php:23: echo $_sContent;
on-screen-keyboard-master/library/apf/factory/widget/AdminPageFramework_Widget_Factory.php:24: echo $aArguments&#091; 'after_widget' ];
on-screen-keyboard-master/library/apf/factory/admin_page/_view/AdminPageFramework_View__PageMetaboxEnabler.php:72: echo '';</code></pre>



<p class="wp-block-paragraph">Any experiance with this?</p>
						]]>
					</description>

					
					
					
				</item>

				
				<item>
					<guid>https://wordpress.org/support/topic/user_meta-not-show-value/</guid>
					<title><![CDATA[user_meta not show value]]></title>
					<link>https://wordpress.org/support/topic/user_meta-not-show-value/</link>
					<pubDate>Sun, 13 Nov 2022 15:00:52 +0000</pubDate>
					<dc:creator>pdrmgh</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 0</p>
						<p>in user_meta profile when save data store on databae but not show value in input on admin dashboard.<br />
this problem after update wordpress</p>
						]]>
					</description>

					
					
					
				</item>

				
				<item>
					<guid>https://wordpress.org/support/topic/licensing-field-type-pack/</guid>
					<title><![CDATA[Licensing Field Type Pack]]></title>
					<link>https://wordpress.org/support/topic/licensing-field-type-pack/</link>
					<pubDate>Wed, 26 Oct 2022 19:23:29 +0000</pubDate>
					<dc:creator>churcholution</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 0</p>
						<p>Hi there,</p>
<p>I don’t quite understand the way of licensing of the Field Type Pack. Does the number of pages refer to the plugin installations of the Field Type Pack (development) or does it mean the number of pages where the developed end product is used?</p>
						]]>
					</description>

					
					
					
				</item>

				
				<item>
					<guid>https://wordpress.org/support/topic/php-8-1-ready/</guid>
					<title><![CDATA[PHP 8.1 ready?]]></title>
					<link>https://wordpress.org/support/topic/php-8-1-ready/</link>
					<pubDate>Wed, 26 Oct 2022 19:20:52 +0000</pubDate>
					<dc:creator>churcholution</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 0</p>
						<p>Hi,</p>
<p>is this library PHP 8.1 ready (using in end-product)? When I switch the PHP version, several error messages will be displayed. See below:</p>
<p>Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/co-ctconnect/library/admin-page-framework/factory/post_type/AdminPageFramework_PostType.php on line 24</p>
<p>Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/co-ctconnect/library/admin-page-framework/factory/post_type/AdminPageFramework_PostType.php on line 24</p>
<p>Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/co-ctconnect/library/admin-page-framework/factory/post_type/AdminPageFramework_PostType.php on line 24</p>
						]]>
					</description>

					
					
					
				</item>

				
				<item>
					<guid>https://wordpress.org/support/topic/checkbox-problem-10/</guid>
					<title><![CDATA[Checkbox Problem]]></title>
					<link>https://wordpress.org/support/topic/checkbox-problem-10/</link>
					<pubDate>Sat, 15 Oct 2022 12:10:05 +0000</pubDate>
					<dc:creator>Aris</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 2</p>
						<p>Hello,</p>
<p>I managed to have a working Admin Page with a checkbox (result is correcty stored in database) but I can&#8217;t figure how to execute some piece of code only if is checked&#8230; Found nothing related to checkbox in tutorials.</p>
<p>Tried this with no succes:</p>
<pre><code> if (AdminPageFramework::getOption( &#039;MyPluginName&#039;, &#039;my_checkbox_2&#039;, &#039;1&#039; )) {
    remove_action( &#039;wp_head&#039;, &#039;feed_links&#039;, 2 );
    remove_action( &#039;wp_head&#039;, &#039;feed_links_extra&#039;, 3 );
  } else {}</code></pre>
<p>In fact, the code is always executed. Not only when the option is checked&#8230;</p>
<p>Somebody has an idea?</p>
<p>Here is a gist with my full plugin code<br />
<a href="https://gist.github.com/bugsysop/5b81d62ae49415df4e9c3cc657964118" rel="nofollow ugc">https://gist.github.com/bugsysop/5b81d62ae49415df4e9c3cc657964118</a></p>


<ul id="bbp-topic-revision-log-16102016" class="bbp-topic-revision-log">

	<li id="bbp-topic-revision-log-16102016-item-16102022" class="bbp-topic-revision-log-item">
		This topic was modified 3 years, 6 months ago by <a href="https://wordpress.org/support/users/bugsysop/" title="View Aris&#039;s profile" class="bbp-author-link"><span  class="bbp-author-name">Aris</span></a>.
	</li>

</ul>

						]]>
					</description>

					
					
					
				</item>

				
				<item>
					<guid>https://wordpress.org/support/topic/fatal-error-on-plugin-activation-41/</guid>
					<title><![CDATA[<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>Fatal Error on Plugin Activation]]></title>
					<link>https://wordpress.org/support/topic/fatal-error-on-plugin-activation-41/</link>
					<pubDate>Thu, 07 Jul 2022 03:15:52 +0000</pubDate>
					<dc:creator>edwardcox</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 1</p>
						<p>Hi, hope someone can advise. Have created an Admin plugin. Installs and Activates 100% ok on my local dev. When I upload the .zip plugin to my live test site it will not Activate. Yes, I have the APF framework installed. What I get is:</p>
<p>Fatal error: Unparenthesized <code>a ? b : c ? d : e</code> is not supported. Use either <code>(a ? b : c) ? d : e</code> or <code>a ? b : (c ? d : e)</code> in /home/edwardc/web/plugindev.hostwest.net/public_html/wp-content/plugins/hestia-plugin/library/admin-page-framework/factory/AdminPageFramework_Factory/utility/AdminPageFramework_Utility/AdminPageFramework_Utility_URL.php on line 15</p>
<p>Any ideas please?<br />
Edward</p>
						]]>
					</description>

					
					
					
				</item>

				
				<item>
					<guid>https://wordpress.org/support/topic/including-an-api-call-within-a-form/</guid>
					<title><![CDATA[<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>Including an API call within a Form]]></title>
					<link>https://wordpress.org/support/topic/including-an-api-call-within-a-form/</link>
					<pubDate>Wed, 06 Jul 2022 12:15:39 +0000</pubDate>
					<dc:creator>edwardcox</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 1</p>
						<p>Hi. Apologies if this is a dumb question. I&#8217;m new. So, I will be using the amazing APF Plugin and I have code that needs to be called upon Form Submit which uses Fields from the Form in the process. </p>
<p>So in my Form i will call below and insert Form Fields i.e. $username, $password into the API call. </p>
<p>Can someone please show me how this might look in my Form?<br />
Thank you kindly,<br />
Edward</p>
<pre><code>&lt;?php

// Server credentials
$hst_hostname = &#039;server.hestiacp.com&#039;;
$hst_port = &#039;8083&#039;;
$hst_username = &#039;&lt;redacted&gt;&#039;;
$hst_password = &#039;&lt;redacted&gt;&#039;;
$hst_returncode = &#039;yes&#039;;
$hst_command = &#039;v-add-user&#039;;

// New Account
$username = &#039;demo&#039;;
$password = &#039;&lt;redacted&gt;&#039;;
$email = &#039;&lt;redacted&gt;&#039;;
$package = &#039;default&#039;;
$first_name = &#039;First&#039;;
$last_name = &#039;Last&#039;;

// Prepare POST query
$postvars = array(
    &#039;user&#039; =&gt; $hst_username,
    &#039;password&#039; =&gt; $hst_password,
    &#039;returncode&#039; =&gt; $hst_returncode,
    &#039;cmd&#039; =&gt; $hst_command,
    &#039;arg1&#039; =&gt; $username,
    &#039;arg2&#039; =&gt; $password,
    &#039;arg3&#039; =&gt; $email,
    &#039;arg4&#039; =&gt; $package,
    &#039;arg5&#039; =&gt; $first_name,
    &#039;arg6&#039; =&gt; $last_name
);

// Send POST query via cURL
$postdata = http_build_query($postvars);
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, &#039;https://&#039; . $hst_hostname . &#039;:&#039; . $hst_port . &#039;/api/&#039;);
curl_setopt($curl, CURLOPT_RETURNTRANSFER,true);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_POSTFIELDS, $postdata);
$answer = curl_exec($curl);

// Check result
if($answer === 0) {
    echo &quot;User account has been successfuly created\n&quot;;
} else {
    echo &quot;Query returned error code: &quot; .$answer. &quot;\n&quot;;
}</code></pre>


<ul id="bbp-topic-revision-log-15802016" class="bbp-topic-revision-log">

	<li id="bbp-topic-revision-log-15802016-item-15802048" class="bbp-topic-revision-log-item">
		This topic was modified 3 years, 9 months ago by <a href="https://wordpress.org/support/users/fierevere/" title="View Yui&#039;s profile" class="bbp-author-link"><span  class="bbp-author-name">Yui</span></a>. Reason: unnecessary possibly sensitive data redacted
	</li>

</ul>

						]]>
					</description>

					
					
					
				</item>

				
				<item>
					<guid>https://wordpress.org/support/topic/accessing-site-options/</guid>
					<title><![CDATA[Accessing Site Options]]></title>
					<link>https://wordpress.org/support/topic/accessing-site-options/</link>
					<pubDate>Tue, 10 May 2022 09:16:29 +0000</pubDate>
					<dc:creator>fredpik</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 4</p>
						<p>hi,</p>
<p>I&#8217;m working on a multisite installation.<br />
I&#8217;d like to retrieve saved options of a specific blog from another blog.<br />
There is a function getSiteOption() but I can&#8217;t figure how to send the blog ID as parameter.</p>
<p>Could you help me?</p>
<p>Thanks</p>
						]]>
					</description>

					
					
					
				</item>

				
				<item>
					<guid>https://wordpress.org/support/topic/some-small-problems-3/</guid>
					<title><![CDATA[Some small problems]]></title>
					<link>https://wordpress.org/support/topic/some-small-problems-3/</link>
					<pubDate>Mon, 04 Apr 2022 10:25:48 +0000</pubDate>
					<dc:creator>ulafox</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 1</p>
						<p>Thank you for creating such a good frame, but can fix the framework in the mobile side? (There are very few parts that are not good in the mobile side)</p>
						]]>
					</description>

					
					
					
				</item>

				
				<item>
					<guid>https://wordpress.org/support/topic/some-internationalized-text-needs-translators-comments/</guid>
					<title><![CDATA[Some internationalized text needs /* translators: */ comments]]></title>
					<link>https://wordpress.org/support/topic/some-internationalized-text-needs-translators-comments/</link>
					<pubDate>Sun, 27 Feb 2022 19:19:12 +0000</pubDate>
					<dc:creator>OllieJones</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 1</p>
						<p>While trying to internationalize a plugin developed with APF, I found quite a few <code>__(&#039;text %1$s replacement&#039;, domain)</code>strings without preceding<code>/* translators: 1:  whatever */</code> comments.</p>
<p><code>wp i18n make-pot</code> complains, rightly, about those.</p>
<p>It would be convenient if those comments were there, explaining to translators the purpose of the numbered sprintf parameters.</p>
						]]>
					</description>

					
					
					
				</item>

				
				<item>
					<guid>https://wordpress.org/support/topic/sortable-subsections/</guid>
					<title><![CDATA[Sortable Subsections]]></title>
					<link>https://wordpress.org/support/topic/sortable-subsections/</link>
					<pubDate>Sat, 29 Jan 2022 07:23:41 +0000</pubDate>
					<dc:creator>wescleveland</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 1</p>
						<p>I&#8217;m new to using the AdminPageFramework but am thoroughly enjoying it so far. I&#8217;m kinda stumped. I&#8217;m trying to create a Settings page that has tabs and inside one of the tabs are collapsible sections. Inside each of those collapsible sections, I want a set of sortable collapsible sections (subsections) that contain fields that are unique for each of the subsections. The structure would look something like:</p>
<pre><code>Settings
   +--&gt;General (Tab)
   |   +--&gt;Sections &amp; fields
   +--&gt;Forms (Tab)
   |   +--&gt;Form 1 (Collapsible Section)
   |   |   +--&gt;Field 1 (Sortable Collapsible Section)
   |   |   |   +--&gt;Field 1 Attribute 1 (checkbox)
   |   |   |   +--&gt;Field 1 Attribute 2 (text)
   |   |   |   +--&gt;more fields
   |   |   +--&gt;Field 2 (Sortable Collapsible Section)
   |   |   |   +--&gt;Field 2 Attribute 1 (radio)
   |   |   |   +--&gt;Field 2 Attribute 2 (checkbox)
   |   |   |   +--&gt;Field 2 Attribute 3 (text)
   |   |   |   +--&gt;more field
   |   |   +--&gt;Field 3 (Sortable Collapsible Section)
   |   |   |   +--&gt;more fields
   +--&gt;Notifications (Tab)
   ...</code></pre>
<p>The <strong>Forms</strong> tab is the one of interest. Hopefully you get the idea. Can this be done with AdminPageFramework? How would I go about making it happen?</p>
<p>Thanks in advance so much.</p>
						]]>
					</description>

					
					
					
				</item>

				
				<item>
					<guid>https://wordpress.org/support/topic/callback-function-after-submit/</guid>
					<title><![CDATA[callback function after submit]]></title>
					<link>https://wordpress.org/support/topic/callback-function-after-submit/</link>
					<pubDate>Fri, 07 Jan 2022 08:46:43 +0000</pubDate>
					<dc:creator>ebieseale</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 2</p>
						<p>Hi there,</p>
<p>I&#8217;ve been using this framework for a few weeks, but I have reached a speed bump.</p>
<p>I want to be able to run certain code that creates a csv file when the user clicks submit. I&#8217;ve tried using the submit and validation hooks but it doesn&#8217;t seem to work.</p>
						]]>
					</description>

					
					
					
				</item>

				
				<item>
					<guid>https://wordpress.org/support/topic/how-can-i-update-the-same-option-field-from-different-forms-in-different-tabs/</guid>
					<title><![CDATA[How can I update the same option field from different forms in different tabs?]]></title>
					<link>https://wordpress.org/support/topic/how-can-i-update-the-same-option-field-from-different-forms-in-different-tabs/</link>
					<pubDate>Thu, 06 Jan 2022 13:42:48 +0000</pubDate>
					<dc:creator>OllieJones</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 1</p>
						<p>I hope to use the same option value in multiple tabs.  That is, I want to populate the value in each tab from the saved option, and I want to update the option value when my user pushes the submit button in the form.</p>
<p>Is there a good way to do that? </p>
						]]>
					</description>

					
					
					
				</item>

				
				<item>
					<guid>https://wordpress.org/support/topic/use-adminpageframework_metabox-in-custom-class-and-namespace/</guid>
					<title><![CDATA[Use AdminPageFramework_MetaBox in custom class and namespace]]></title>
					<link>https://wordpress.org/support/topic/use-adminpageframework_metabox-in-custom-class-and-namespace/</link>
					<pubDate>Fri, 19 Nov 2021 00:16:24 +0000</pubDate>
					<dc:creator>fecouse</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 1</p>
						<p>hello<br />
how Use AdminPageFramework_MetaBox in custom class and namespace?<br />
when<br />
extends AdminPageFramework_MetaBox;<br />
and<br />
use AdminPageFramework_MetaBox;</p>
<p>this error showing:<br />
Uncaught ArgumentCountError: Too few arguments to function AdminPageFramework_MetaBox::__construct()</p>
						]]>
					</description>

					
					
					
				</item>

				
				<item>
					<guid>https://wordpress.org/support/topic/how-to-control-tooltips-on-buttons/</guid>
					<title><![CDATA[How to control tooltips on buttons?]]></title>
					<link>https://wordpress.org/support/topic/how-to-control-tooltips-on-buttons/</link>
					<pubDate>Thu, 30 Sep 2021 15:18:03 +0000</pubDate>
					<dc:creator>OllieJones</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 1</p>
						<p>My admin page&#8217;s &#8216;submit&#8217; buttons have hovering tooltips containing the same text as the item&#8217;s &#8216;value&#8217;.</p>
<p>Is it possible to use the <code>tip</code> attribute to put something else, perhaps more useful, in those tooltips? Or is there some other attribute I haven&#8217;t yet found for that purpose?</p>
						]]>
					</description>

					
					
					
				</item>

				
				<item>
					<guid>https://wordpress.org/support/topic/when-naming-inpagetabs-with-variables-how-can-i-use-content_pageslug/</guid>
					<title><![CDATA[<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>when naming inPageTabs with variables, how can I use content_pageslug(){}]]></title>
					<link>https://wordpress.org/support/topic/when-naming-inpagetabs-with-variables-how-can-i-use-content_pageslug/</link>
					<pubDate>Wed, 29 Sep 2021 22:09:45 +0000</pubDate>
					<dc:creator>OllieJones</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 2</p>
						<p>I&#8217;m hoping to create a few inPageTabs from a list, in which the tag slugs come from variables.</p>
<p>Is there a good way, from within a <code>content_pageslug() {}</code> method, to figure out the name of the current tab so I can render the correct content? </p>
<p>(I&#8217;d have to use eval() to declare a <code>content_pageslug_tabslug()</code> function, but I obvs don&#8217;t want to do that.)</p>
<p>Or is this a misbegotten idea I should abandon?</p>
<p>Thanks for a great framework!</p>


<ul id="bbp-topic-revision-log-14922472" class="bbp-topic-revision-log">

	<li id="bbp-topic-revision-log-14922472-item-14922474" class="bbp-topic-revision-log-item">
		This topic was modified 4 years, 6 months ago by <a href="https://wordpress.org/support/users/olliejones/" title="View OllieJones&#039;s profile" class="bbp-author-link"><span  class="bbp-author-name">OllieJones</span></a>.
	</li>

</ul>

						]]>
					</description>

					
					
					
				</item>

				
				<item>
					<guid>https://wordpress.org/support/topic/in-page-tabs-adding-post_typepost-to-url-causing-page-not-to-load/</guid>
					<title><![CDATA[<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>In page tabs adding post_type=post to URL causing page not to load]]></title>
					<link>https://wordpress.org/support/topic/in-page-tabs-adding-post_typepost-to-url-causing-page-not-to-load/</link>
					<pubDate>Thu, 17 Jun 2021 05:47:12 +0000</pubDate>
					<dc:creator>rexreed</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 2</p>
						<p>I have a particular Menu page structure where the Settings is set to be a submenu off an existing menu.</p>
<p>The main Admin Page menu loads fine with the initial page having in-page tabs.<br />
However, I am unable to navigate to the tabs since the tab URL for some reason appends &#8220;post_type=post&#8221; to the page URL, which causes the WordPress admin to fail with &#8220;Cannot load page&#8221;.</p>
<p>Is there a way to disable the addition of the post_type=post to the automatically generated URL to navigate to the proper in-page tab? I find that when I remove the extra &amp;post_type=post from the URL, the tab loads fine.</p>
<p>Is there something in how I setup the menu and submenu structure?</p>
						]]>
					</description>

					
					
					
				</item>

				
				<item>
					<guid>https://wordpress.org/support/topic/can-i-make-options-so-they-dont-autoload/</guid>
					<title><![CDATA[<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>Can I make options so they don&#8217;t autoload?]]></title>
					<link>https://wordpress.org/support/topic/can-i-make-options-so-they-dont-autoload/</link>
					<pubDate>Thu, 10 Jun 2021 22:07:37 +0000</pubDate>
					<dc:creator>OllieJones</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 2</p>
						<p>I&#8217;m finishing up a new plugin that almost never needs access to its options (from wp_options). </p>
<p>Is there a way I can avoid autoloading the options from that table? Can I create the options object with some sort of &#8220;autoload&#8221; =&gt; false parameter. </p>
<p>I&#8217;m a bit compulsive about avoiding pointless extra work for webservers and their databases.</p>
						]]>
					</description>

					
					
					
				</item>

				
				<item>
					<guid>https://wordpress.org/support/topic/how-do-i-specify-css-classes-in-addsettingsfield/</guid>
					<title><![CDATA[<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>How do I specify css class(es) in addSettingsField?]]></title>
					<link>https://wordpress.org/support/topic/how-do-i-specify-css-classes-in-addsettingsfield/</link>
					<pubDate>Tue, 08 Jun 2021 17:16:35 +0000</pubDate>
					<dc:creator>OllieJones</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 2</p>
						<p>How can I use the array() passed to addSettingsField to give one or more of my own css classes to HTML elements in the field, to allow styling my admin pages?</p>
<p>Or if there&#8217;s another way, that would be helpful.</p>
<p>Great great stuff, but you already know that.  Thanks.</p>
						]]>
					</description>

					
					
					
				</item>

				
				<item>
					<guid>https://wordpress.org/support/topic/capability-not-hiding-item/</guid>
					<title><![CDATA[<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>Capability not hiding item]]></title>
					<link>https://wordpress.org/support/topic/capability-not-hiding-item/</link>
					<pubDate>Tue, 06 Apr 2021 21:29:02 +0000</pubDate>
					<dc:creator>lachlanphillips</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 5</p>
						<p>Hi, when I use &#8220;capability&#8221; =&gt; &#8220;activate_plugins&#8221; (for example) it hides the field, but not the heading. As a result you end up with this weird menu filled with orphaned titles.</p>
<p>I can&#8217;t imagine this is the intended use. Can anyone tell me the correct way to hide fields for different user levels?</p>
<p>Thanks<br />
Lachlan</p>
						]]>
					</description>

					
					
					
				</item>

				
				<item>
					<guid>https://wordpress.org/support/topic/how-to-translate-72/</guid>
					<title><![CDATA[How to translate]]></title>
					<link>https://wordpress.org/support/topic/how-to-translate-72/</link>
					<pubDate>Tue, 16 Feb 2021 03:52:31 +0000</pubDate>
					<dc:creator>Reinhard Jung</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 1</p>
						<p>How can i translate it?<br />
<a href="https://translate.wordpress.org/projects/wp-plugins/admin-page-framework/" rel="nofollow ugc">https://translate.wordpress.org/projects/wp-plugins/admin-page-framework/</a></p>
<p>Is says: &#8220;This plugin is not properly prepared for localization (View detailed logs on Slack). If you would like to translate this plugin, please contact the author.&#8221; 🙁</p>
<p>Any Hint?</p>


<ul id="bbp-topic-revision-log-14055388" class="bbp-topic-revision-log">

	<li id="bbp-topic-revision-log-14055388-item-14055390" class="bbp-topic-revision-log-item">
		This topic was modified 5 years, 1 month ago by <a href="https://wordpress.org/support/users/cloudmeister/" title="View Reinhard Jung&#039;s profile" class="bbp-author-link"><span  class="bbp-author-name">Reinhard Jung</span></a>.
	</li>

</ul>

						]]>
					</description>

					
					
					
				</item>

				
				<item>
					<guid>https://wordpress.org/support/topic/documentation-for-tabnavigationbar/</guid>
					<title><![CDATA[Documentation for TabNavigationBar]]></title>
					<link>https://wordpress.org/support/topic/documentation-for-tabnavigationbar/</link>
					<pubDate>Sun, 03 Jan 2021 15:08:52 +0000</pubDate>
					<dc:creator>kabouton</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 2</p>
						<p>In one of the examples (<a href="https://wordpress.org/support/topic/representing-custom-post-types-under-tabs-in-settings-menu/" rel="ugc">https://wordpress.org/support/topic/representing-custom-post-types-under-tabs-in-settings-menu/</a>) given in this forum for tabbing CPTs it refers to new AdminPageFramework_TabNavigationBar but I can&#8217;t find any documentation for it.<br />
Suggestions?</p>
<p>It works great by the way, just trying to fully understand your example. Ta</p>
						]]>
					</description>

					
					
					
				</item>

				
				<item>
					<guid>https://wordpress.org/support/topic/page-groups-with-cpts/</guid>
					<title><![CDATA[Page Groups with CPTs]]></title>
					<link>https://wordpress.org/support/topic/page-groups-with-cpts/</link>
					<pubDate>Sat, 02 Jan 2021 18:31:53 +0000</pubDate>
					<dc:creator>kabouton</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 3</p>
						<p>Trying out your framework. Using your tutorial examples for both page groups/tabs and custom post types (cpts), how would I show the admin list page/table for cptA on the first_page submenuitem (Tab1), and also the admin list page for cptB on second_page submenu item (Tab2)</p>
<p>I have the CPTS create, and the page groups from your tutorial. Both work fine. But now trying to combine them.</p>
<p>I am cofortable with php, but never really used classes alot.<br />
Thanks &#8211; this framework does make alot so much easier.</p>
						]]>
					</description>

					
					
					
				</item>

				
				<item>
					<guid>https://wordpress.org/support/topic/error-method-does-not-exist/</guid>
					<title><![CDATA[Error: Method does not exist]]></title>
					<link>https://wordpress.org/support/topic/error-method-does-not-exist/</link>
					<pubDate>Wed, 02 Dec 2020 11:32:46 +0000</pubDate>
					<dc:creator>RezaY</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 1</p>
						<p>I have a scheduling post plugin for WordPress. It works pretty well. but today I see an error on Query Monitoring plugin.</p>
<pre><code>ScheduleMenu-&gt;load_pre_schedule_queue()
Error: Method ScheduleMenu::load_pre_schedule_queue() does not exist</code></pre>
<p>I do not know why WordPress could not find the method! but everything works fine!</p>
<p>admin-menu.php:</p>
<pre><code>require_once SCHEDULE_PLUGIN_DIR . &#039;libs/admin-page-framework/admin-page-framework.php&#039;;
require_once SCHEDULE_PLUGIN_DIR . &#039;admin/settings.php&#039;;
require_once SCHEDULE_PLUGIN_DIR . &#039;admin/queue.php&#039;;
class ScheduleMenu extends LazyCoala_AdminPageFramework
{
    public function setUp() {
        $this-&gt;setRootMenuPage(&#039;Post Timing&#039;);
        $this-&gt;addSubMenuItems(
            array(
                &#039;title&#039;     =&gt; &#039;Setup Time&#039;,
                &#039;page_slug&#039; =&gt; &#039;schedule_settings&#039;,
            ),
            array(
                &#039;title&#039;     =&gt; &#039;Queue&#039;,
                &#039;page_slug&#039; =&gt; &#039;schedule_queue&#039;,
            )
        );
    }
    
}
new ScheduleMenu();</code></pre>
<p>index.php:</p>
<pre><code>define(&quot;SCHEDULE_PLUGIN_DIR&quot;, trailingslashit(dirname(__FILE__)));
define(&quot;SCHEDULE_PLUGIN_URL&quot;, trailingslashit(plugin_dir_url(__FILE__)));
require_once SCHEDULE_PLUGIN_DIR . &quot;functions.php&quot;;
require_once SCHEDULE_PLUGIN_DIR . &quot;admin/admin-menu.php&quot;;</code></pre>
						]]>
					</description>

					
					
					
				</item>

				
				<item>
					<guid>https://wordpress.org/support/topic/safari-related-bug-collapsible-section-jumps-away/</guid>
					<title><![CDATA[Safari related bug: Collapsible Section jumps away]]></title>
					<link>https://wordpress.org/support/topic/safari-related-bug-collapsible-section-jumps-away/</link>
					<pubDate>Mon, 16 Nov 2020 08:10:03 +0000</pubDate>
					<dc:creator>churcholution</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 3</p>
						<p>Hi there,</p>
<p>For safari users: When I want to click on an collapsible section, it jumps away. No chance to edit the fields.</p>
<p>See screen capture at: <a href="https://www.dropbox.com/s/hvy3druyqesmqog/2020-11-16_09-05-30.mp4?dl=0" rel="nofollow ugc">https://www.dropbox.com/s/hvy3druyqesmqog/2020-11-16_09-05-30.mp4?dl=0</a></p>
<p>How can this be fixed?</p>
<p>Thanks &amp; kind regards,<br />
Simon</p>
						]]>
					</description>

					
					
					
				</item>

				
				<item>
					<guid>https://wordpress.org/support/topic/list-posts-pages-with-select2/</guid>
					<title><![CDATA[list posts/pages with select2]]></title>
					<link>https://wordpress.org/support/topic/list-posts-pages-with-select2/</link>
					<pubDate>Mon, 21 Sep 2020 13:00:22 +0000</pubDate>
					<dc:creator>Tzvook</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 7</p>
						<p>Hello<br />
I&#8217;m using &#8216;Admin Page Framework&#8217; to administrate my theme, till now all is fine, but I&#8217;m straggling with the little documentation &#8230; and can&#8217;t list posts/pages from some reason (with select2) &#8230; what am I missing ?</p>
<p>This code is taken from the demo, but is not working for me:</p>
<pre><code>&lt;?php

        $this-&gt;addSettingFields(
array(
    &#039;type&#039;          =&gt; &#039;select2&#039;,
    &#039;field_id&#039;        =&gt; &#039;pstSwiper_cat&#039;,
    &#039;options&#039;         =&gt; array(
        &#039;minimumInputLength&#039; =&gt; 2,
        &#039;width&#039; =&gt; &#039;60%&#039;,
    ),
    &#039;callback&#039;        =&gt; array(
        &#039;search&#039;    =&gt; __CLASS__ . &#039;::getPosts&#039;,
    ),
),

            array(
                &#039;field_id&#039;      =&gt; &#039;pstSwiper_postno&#039;,
                &#039;title&#039;         =&gt; __( &#039;No. of post to show&#039;, &#039;bitRT&#039; ),
                &#039;type&#039;          =&gt; &#039;no_ui_slider&#039;,
                &#039;default&#039;       =&gt; 4,
                &#039;options&#039;       =&gt; array(
                    &#039;range&#039; =&gt; array(
                        &#039;min&#039;   =&gt; 2,
                        &#039;max&#039;   =&gt; 10,
                    ),
                    &#039;step&#039;  =&gt; 1,
                ),
            ),

            array( // Submit button
                &#039;field_id&#039;      =&gt; &#039;submit_button&#039;,
                &#039;type&#039;          =&gt; &#039;submit&#039;,
                &#039;value&#039;         =&gt; __( &#039;Submit&#039;, &#039;bitRT&#039; ),
            )

        );

function getPosts( $aQueries, $aFieldset ) {

    $_aArgs         = array(
        &#039;post_type&#039;         =&gt; &#039;post&#039;,
        &#039;paged&#039;             =&gt; $aQueries[ &#039;page&#039; ],
        &#039;s&#039;                 =&gt; $aQueries[ &#039;q&#039; ],
        &#039;posts_per_page&#039;    =&gt; 30,
        &#039;nopaging&#039;          =&gt; false,
    );
    $_oResults      = new WP_Query( $_aArgs );
    $_aPostTitles   = array();
    foreach( $_oResults-&gt;posts as $_iIndex =&gt; $_oPost ) {
        $_aPostTitles[] = array(    // must be numeric
            &#039;id&#039;    =&gt; $_oPost-&gt;ID,
            &#039;text&#039;  =&gt; $_oPost-&gt;post_title,
        );
    }
    return array(
        &#039;results&#039;       =&gt; $_aPostTitles,
        &#039;pagination&#039;    =&gt; array(
            &#039;more&#039;  =&gt; intval( $_oResults-&gt;max_num_pages ) !== intval( $_oResults-&gt;get( &#039;paged&#039; ) ),
        ),
    );

}
    new bitRT_Select2CustomFieldType( &#039;bitRT&#039; );
 ?&gt;
</code></pre>


<ul id="bbp-topic-revision-log-13433438" class="bbp-topic-revision-log">

	<li id="bbp-topic-revision-log-13433438-item-13433471" class="bbp-topic-revision-log-item">
		This topic was modified 5 years, 6 months ago by <a href="https://wordpress.org/support/users/tzvook/" title="View Tzvook&#039;s profile" class="bbp-author-link"><span  class="bbp-author-name">Tzvook</span></a>.
	</li>
	<li id="bbp-topic-revision-log-13433438-item-13433509" class="bbp-topic-revision-log-item">
		This topic was modified 5 years, 6 months ago by <a href="https://wordpress.org/support/users/tzvook/" title="View Tzvook&#039;s profile" class="bbp-author-link"><span  class="bbp-author-name">Tzvook</span></a>.
	</li>

</ul>

						]]>
					</description>

					
					
					
				</item>

				
				<item>
					<guid>https://wordpress.org/support/topic/create-submenus-of-a-group-of-pages-on-different-pages/</guid>
					<title><![CDATA[create submenus of a group of pages on different pages]]></title>
					<link>https://wordpress.org/support/topic/create-submenus-of-a-group-of-pages-on-different-pages/</link>
					<pubDate>Sat, 09 May 2020 19:52:40 +0000</pubDate>
					<dc:creator>luis9430</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 1</p>
						<p>Hello, I just installed admin page frame and I would like to know if you can create a submenu within a group of pages on different pages for example:</p>
<pre><code>$ this-&gt; addSubMenuItems (
training(
&#039;title&#039; =&gt; &#039;First page&#039;, // page title
&#039;page_slug&#039; =&gt; &#039;my_first_page&#039;, // page slug
&#039;screen_icon&#039; =&gt; &#039;https://lh5.googleusercontent.com/-vr0hu0pHcYo/UilDa_OwGYI/AAAAAAAABRg/29eid1MIBW0/s800/demo03_01_32x32.png&#039;,
&#039;style&#039; =&gt; array (
AdminPageFrameworkLoader_Registry :: $ sDirPath. &#039;/css/code.css&#039;,
) // page screen icon for WP 3.7.x or lower
),
training(
&#039;title&#039; =&gt; &#039;Second page&#039;, // page title
&#039;page_slug&#039; =&gt; &#039;my_second_page&#039;, // page slug
&#039;screen_icon&#039; =&gt; &#039;https://lh5.googleusercontent.com/-vr0hu0pHcYo/UilDa_OwGYI/AAAAAAAABRg/29eid1MIBW0/s800/demo03_01_32x32.png&#039; // page screen icon for WP 3.7.x or lower
), </code></pre>
<p>That the first page of the submenu is on a different page, to better organize the submenus.</p>
<p>I saw this example, but I don&#8217;t know how to do it for a group of pages<br />
<a href="https://gist.github.com/michaeluno/b580ae3a021bafbe13da2d352885b13a" rel="nofollow ugc">Example</a><br />
and the other question is if you can add css file to the file</p>
<p>I hope you can help me, thanks in advance</p>


<ul id="bbp-topic-revision-log-12808394" class="bbp-topic-revision-log">

	<li id="bbp-topic-revision-log-12808394-item-12808401" class="bbp-topic-revision-log-item">
		This topic was modified 5 years, 11 months ago by <a href="https://wordpress.org/support/users/luis9430/" title="View luis9430&#039;s profile" class="bbp-author-link"><span  class="bbp-author-name">luis9430</span></a>.
	</li>

</ul>

						]]>
					</description>

					
					
					
				</item>

				
				<item>
					<guid>https://wordpress.org/support/topic/mapping-form-fields-directly-to-existing-wp_options-values/</guid>
					<title><![CDATA[Mapping form fields directly to existing wp_options values]]></title>
					<link>https://wordpress.org/support/topic/mapping-form-fields-directly-to-existing-wp_options-values/</link>
					<pubDate>Sun, 26 Apr 2020 10:04:38 +0000</pubDate>
					<dc:creator>menathor</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 1</p>
						<p>Hello again</p>
<p>I&#8217;d like to create my own custom settings pages for various plugins and core settings. Unfortunately this isn&#8217;t so easy with ACF, as you can&#8217;t map form fields directly to existing wp_options values. Is this possible with your framework? </p>
<p>Also, would it be possible for you to add the following tab style to the framework? <a href="https://i.imgur.com/QoaD4la.png" rel="nofollow ugc">https://i.imgur.com/QoaD4la.png</a></p>
<p>Thanks!</p>
						]]>
					</description>

					
					
					
				</item>

				
				<item>
					<guid>https://wordpress.org/support/topic/how-do-i-set-an-option-manually/</guid>
					<title><![CDATA[How do i set an option manually]]></title>
					<link>https://wordpress.org/support/topic/how-do-i-set-an-option-manually/</link>
					<pubDate>Mon, 16 Mar 2020 00:51:33 +0000</pubDate>
					<dc:creator>brianandersen</dc:creator>

					
					<description>
						<![CDATA[
						<p>Replies: 1</p>
						<p>I need to set some options manually&#8230; I really got a hard time figuring out how to do it. A form is submitted with some options, and i need to set an option manually, after submit. I think i have tried all hooks now, could someone plz point me in the correct way, i would be forever grateful 🙂</p>
						]]>
					</description>

					
					
					
				</item>

							
		
	</channel>
	</rss>

