Used only when more then one button and there is a menu.', array( &$this, 'field_icon_icon' ) );
$this->aSubPages['design'] .= $this->createFormField( 'Main label
Used only when more then one button and there is a menu.', array( &$this, 'field_icon_label' ) );
$this->aSubPages['design'] .= $this->createFormField( 'Only show labels on hover
Only show the label when you hover the button.', array( &$this, 'field_label_show_on_hover' ) );
$this->aSubPages['design'] .= '
';
}
public function registerAdvancedSettings()
{
$this->aSubCatagories['advanced'] = __( 'Advanced settings', BUTTONIZER_SLUG );
$this->aSubPages['advanced'] = '
';
$this->aSubPages['advanced'] .= '
Advanced settings
';
$this->aSubPages['advanced'] .= $this->createFormField( '
If you have your Google Analytics tracking code already installed you can ignore this setting. If you want to be sure that your buttons are tracked in your Google Analytics account? Then go to your Google Analytics account > Click on Real Time > Events and open your website in another tab. Click on a Buttonizer button and check if you see that the click gets tracked in Google Analytics. If this doesn\'t happen than go to your google Analytics settings page > Click on tracking code and copy your tracking-ID. It should look like this (UA-00000000-0)
Google Analytics', array( &$this, 'field_analytics_code' ) );
$this->aSubPages['advanced'] .= $this->createFieldset( 'Show on scroll' );
// Show on scroll
$this->aSubPages['advanced'] .= $this->createFormField( '
When selected, the buttons will be shown after the user has scrolled a percentage of the page.
Show on scroll?', array( &$this, 'field_show_on_scroll' ) );
$this->aSubPages['advanced'] .= $this->createFormField( '
Enter a percentage, starting from 0, up to 100.
% from top to show:', array( &$this, 'field_procent_to_scroll' ) );
$this->aSubPages['advanced'] .= $this->closeFieldset();
// Show after timeout
$this->aSubPages['advanced'] .= $this->createFieldset( 'Show after timeout' );
$this->aSubPages['advanced'] .= $this->createFormField( '
When selected, the buttons will be shown when the user browsers more than the given seconds. So when you say: Show after 20000ms, the button shows after the user browsed on the website for 20 seconds.
Show after timeout?', array( &$this, 'field_show_on_timeout' ) );
$this->aSubPages['advanced'] .= $this->createFormField( '
Enter the miliseconds from when the buttons must get shown to the user.
1 second = 1000 miliseconds
10 seconds = 10000 miliseconds
1 minute = 60000 miliseconds
Milliseconds: ', array( &$this, 'field_time_to_timeout' ) );
$this->aSubPages['advanced'] .= $this->closeFieldset();
// Exit intent
$this->aSubPages['advanced'] .= $this->createFieldset( 'Exit intent' );
$this->aSubPages['advanced'] .= $this->createFormField( '
When selected, the buttons will open with a effect when your guest/user tries to escape from your website. The user gets attracted from your buttons.
Exit intent', array( &$this, 'field_exit_intent' ) );
$this->aSubPages['advanced'] .= $this->createFormField( '
When the exit intent activates, there will be shown some text next to the head-button. You can edit that here.
When empty, no message will be shown.
Exit intent text', array( &$this, 'field_exit_intent_text' ) );
$this->aSubPages['advanced'] .= $this->closeFieldset();
$this->aSubPages['advanced'] .= '
You are missing the fun! When upgrading to Buttonizer Pro you will get these features.
';
}
}
public function registerSocialSettings()
{
$this->aSubCatagories['social'] = __( 'Social share settings', BUTTONIZER_SLUG );
$this->aSubPages['social'] = '
';
$this->aSubPages['social'] .= '
Social sharing buttons
This are separated pre-configured buttons to share a page. The buttons will be visible at every page, you can let the user share a page on Twitter, Facebook or LinkedIn.
You can enable them to check the checkbox at the end of the input. Don\'t forget that :)