\"
plugin_version.type = \"hidden\"
form.appendChild(plugin_version)
var wordpress_version = document.createElement(\"input\")
wordpress_version.name = \"wordpress_version\"
wordpress_version.id = \"wordpress_version\"
wordpress_version.value = '$wp_version'
wordpress_version.type = \"hidden\"
form.appendChild(wordpress_version)
}
},200);
";
} else {
echo '';
}
} else {
echo '';
}
} else {
echo "";
return;
}
}
}
/**
* Google analytics .
*/
function ga_footer() {
if ( ! ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) {
$banner_discarded_count = get_option( 'sm_beta_banner_discarded_count' );
if ( 1 === $banner_discarded_count || '1' === $banner_discarded_count ) {
echo '';
}
}
}
/**
* Check if the requirements of the sitemap plugin are met and loads the actual loader
*
* @package sitemap
* @since 4.0
*/
function sm_setup() {
$fail = false;
// Check minimum PHP requirements, which is 5.2 at the moment.
if ( version_compare( PHP_VERSION, '5.2', '<' ) ) {
add_action( 'admin_notices', 'sm_add_php_version_error' );
$fail = true;
}
// Check minimum WP requirements, which is 3.3 at the moment.
if ( version_compare( $GLOBALS['wp_version'], '3.3', '<' ) ) {
add_action( 'admin_notices', 'sm_add_wp_version_error' );
$fail = true;
}
if ( ! $fail ) {
require_once trailingslashit( dirname( __FILE__ ) ) . 'class-googlesitemapgeneratorloader.php';
}
}
/**
* Adds a notice to the admin interface that the WordPress version is too old for the plugin
*
* @package sitemap
* @since 4.0
*/
function sm_add_wp_version_error() {
/* translators: %s: search term */
echo '
' . esc_html( __( 'Your WordPress version is too old for XML Sitemaps.', 'google-sitemap-generator' ) ) . ' ' . esc_html( sprintf( __( 'Unfortunately this release of Google XML Sitemaps requires at least WordPress %4$s. You are using WordPress %2$s, which is out-dated and insecure. Please upgrade or go to active plugins and deactivate the Google XML Sitemaps plugin to hide this message. You can download an older version of this plugin from the plugin website.', 'google-sitemap-generator' ), 'plugins.php?plugin_status=active', esc_html( $GLOBALS['wp_version'] ), 'http://www.arnebrachhold.de/redir/sitemap-home/', '3.3' ) ) . '
';
}
/**
* Adds a notice to the admin interface that the WordPress version is too old for the plugin
*
* @package sitemap
* @since 4.0
*/
function sm_add_php_version_error() {
/* translators: %s: search term */
echo '
' . esc_html( __( 'Your PHP version is too old for XML Sitemaps.', 'google-sitemap-generator' ) ) . ' ' . esc_html( sprintf( __( 'Unfortunately this release of Google XML Sitemaps requires at least PHP %4$s. You are using PHP %2$s, which is out-dated and insecure. Please ask your web host to update your PHP installation or go to active plugins and deactivate the Google XML Sitemaps plugin to hide this message. You can download an older version of this plugin from the plugin website.', 'google-sitemap-generator' ), 'plugins.php?plugin_status=active', PHP_VERSION, 'http://www.arnebrachhold.de/redir/sitemap-home/', '5.2' ) ) . '
Running a one person business is challenging, but we’re here to help you. Tune into our video series, Solopreneur Office Hours, as our expert, Terry Rice, answers your most pressing questions.
Running a one person business is challenging, but it doesn’t have to be confusing.
In our new series, Office Hours for Solopreneurs with Terry Rice, you’ll get your most pressing business questions answered live while also learning from the challengees of your peers. Be sure to tune in on May 31st at 3 PM EDT as he removes all the guesswork around pricing, personal branding, selling your services and more.
Don’t miss out—register now!
About the Speaker:
Terry Rice is the Business Development Expert-in-Residence at Entrepreneur and host of the podcast Launch Your Business, which provides emerging entrepreneurs with the critical guidance needed to start a business. As the founder of Terry Rice Consulting he helps entrepreneurs make more money, save time and avoid burnout. He writes a newsletter about how to build your revenue and personal brand in just 5 minutes per week.