144
function create_footer_render_box () {
145
echo $this->_create_checkbox('footer_render');
146
echo '<div><small>' . __('Using the WordPress defaults, the needed scripts will be added to your <code>head</code>. Use this option to load the scripts in your footer, after the bulk of your page has lareadt been loaded.', 'wdgpo') . '</small></div>';
147
echo '<div><small>' . __('Note that this method is a bit less reliable then the default one, as it depends on your theme doing the right thing.', 'wdgpo') . '</small></div>';
150
function create_gplus_page_id_box () {
151
$opt = $this->_get_option();
152
$page_id = esc_attr(@$opt['gplus_page_id']);
153
echo "<input type='text' name='wdgpo[gplus_page_id]' class='widefat' value='{$page_id}' />";
154
echo '<div><small>' . __('Your Google+ page ID is the long number at the end of your page URL.', 'wdgpo') . '</small></div>';
157
function create_enable_analytics_box () {
158
echo $this->_create_checkbox('analytics_integration');
159
echo '<div><small>' . __('Enabling this option will allow you to track your +1s in Google Analytics.', 'wdgpo') . '</small></div>';
160
echo '<div><small>' . __('<b>Note:</b> your site will need to have Google Analytics already set up for this to work.', 'wdgpo') . '</small></div>';
163
function create_analytics_category_box () {
164
$opt = $this->_get_option();
165
$category = @$opt['analytics_category'] ? $opt['analytics_category'] : 'Google +1';
166
$category = esc_attr($category);
167
echo "<input type='text' name='wdgpo[analytics_category]' class='widefat' value='{$category}' />";
168
echo '<div><small>' . __('Your +1 clicks will be added to this category.', 'wdgpo') . '</small></div>';
b'\\ No newline at end of file'