do_setup ) { $slug = add_options_page( 'Aceti Dynamic SEO', 'Aceti Dynamic SEO', 'manage_options', 'ac-manage-page', 'ac_setup_page' ); add_action('admin_print_styles-' . $slug, 'sp_enq_script'); if ( $_GET['page'] != 'ac-manage-page' ) { $notice_str = admin_url() . 'options-general.php?page=ac-manage-page'; ac_notice ( __('Please perform the Aceti Dynamic SEO setup.') ); } } else { $slug = add_options_page( 'Aceti Dynamic SEO', 'Aceti Dynamic SEO', 'manage_options', 'ac-manage-page', 'ac_manage_page' ); add_action('admin_print_styles-' . $slug, 'sp_enq_script'); } } add_action( 'admin_menu', 'ac_admin_options' ); // Enqueue scripts function sp_enq_script () { wp_enqueue_script('aceti-script'); wp_enqueue_style('aceti-style'); } // Register Scripts function sp_reg_script () { wp_register_style( 'aceti-style', plugins_url('aceti-style.css', __FILE__) ); wp_register_script( 'aceti-script', plugins_url('aceti-script.js', __FILE__), array('jquery','jquery-ui-draggable'), '1.0', true ); } add_action( 'init', 'sp_reg_script' ); /** * ------------------------------------------------------- * MARKUP FOR SET UP PAGE * ------------------------------------------------------- * Gather initial data to enable the plugin. */ function ac_setup_page () { if ( !current_user_can('manage_options') ) wp_die( __('You do not have sufficient permissions to access this page.') ); global $ac_settings; if ( isset($_POST['aceti_title']) ) { if ( !check_admin_referer( 'sp_nonce', 'sp_form' ) ) return false; $ac_settings->is_front_page->title = htmlspecialchars(stripslashes($_POST['aceti_title'])); $ac_settings->is_front_page->description = htmlspecialchars(stripslashes($_POST['aceti_description'])); $ac_settings->is_front_page->keywords = htmlspecialchars(stripslashes($_POST['aceti_keywords'])); $ac_settings->do_setup = 0; $ac_settings->activated = 1; ac_save_settings( $ac_settings ); ac_manage_page(); return true; } ?>

Aceti Dynamic SEO

%blogname% - The name of your site."); ?>

Aceti Dynamic SEO

Welcome to Aceti SEO! Manage settings + support options. Click input boxes for explanations.'); ?>

  • %blogname% -
  • %post_title%> -

  • %blogname% -
  • %post_title% -

  • %blogname% -
  • %post_title% -

title_rewrite ? '' : 'checked="checked"'); ?> /> Disable title re-writing?

  • %blogname% -
  • %post_title% -
  • %date% - General.'); ?>
  • %post_category% -

  • %blogname% -
  • %post_title% -
  • %date% - General.'); ?>

  • %blogname% -
  • %date% - General.'); ?>

  • %blogname% -
  • %post_author_nicename% -
  • %post_author_firstname% -
  • %post_author_lastname% -
  • %post_author_login% -

  • %blogname% -
  • %datetime% -

  • %blogname% -
  • %category_title% -

  • %blogname% -
  • %tag_title% -

  • %blogname% -
  • %tax_title% -

  • %blogname% -
  • %request_url% -
  • %request_words% -

  • %blogname% -
  • %page% -

Use %s
'; $taxes = get_taxonomies(array('public' => true,'_builtin' => true),'objects'); foreach ( $taxes as $tax => $term ) { if ( $tax == 'post_format' ) break; $first = ( in_array( $tax, $ac_settings->create_keywords ) ? 'checked="checked"' : '' ); $second = $tax; $third = $term->labels->name; printf($preptax, $first, $second, $third); } ?>

  • %description% -
  • %blogname% -

canonical ? 'checked="checked"' : ''); ?> /> .

Noindex These:

no_index) ? 'checked="checked"' : ''); ?> />
no_index) ? 'checked="checked"' : ''); ?> />
no_index) ? 'checked="checked"' : ''); ?> />
no_index) ? 'checked="checked"' : ''); ?> />
no_index) ? 'checked="checked"' : ''); ?> />
no_index) ? 'checked="checked"' : ''); ?> />
no_index) ? 'checked="checked"' : ''); ?> />

capitalize ? 'checked="checked"' : '' ); ?> value="1" /> Yes, please capitalize titles.

(?)'); ?>

by_hook ? 'checked="checked"' : '' ); ?> /> Yes, use healthy Wordpress API standards (so we all can sleep better at night.)

wp_head(); or, if you do not like to load the entire wp_head(); and just want the SEO parts, use this instead: ac_head();'); ?>

Reporting problems

If you encounter a problem that appears to be caused by Aceti Dynamic SEO, you may check the bug list at the Aceti Issue Report Page.

Any issues that appear to be bugs/problems in the code will be settled in time if they appear on the Aceti Issue Report Page. If you do not see your issue in the list, you may submit a report and it will be addressed for the next version of Aceti.

Want to make Aceti Dynamic SEO better?

If you'd like to suggest an enhancement to Aceti Dynamic SEO to make it an even better plugin, please visit: Aceti Enhancement Request Page.

Donations

Aceti Dynamic SEO is under the GPL2 license. Your contributions help continued development of this plugin for you and all who use it.

Premium Support

If you need professional support, you can submit a request to Citrine Design (Aceti's author) to purchase premium support. With this, you can have any errors that occur smoothed out in no time. Citrine Design also provides premium support for installation and configuration of Aceti Dynamic SEO and other useful SEO solutions.

$val ) { if ($val == '1') $keyword_gen[] = $index; } $sp_gather->create_keywords = $keyword_gen; $sp_gather->canonical = ( $_POST['canonical'] == '1' ? 1 : 0 ); $sp_gather->capitalize = ( $_POST['capitalize'] == '1' ? 1 : 0 ); $sp_gather->by_hook = ( $_POST['by_hook'] == '1' ? 1 : 0 ); $noindex = array(); foreach ( $_POST['noindex'] as $index => $val ) { if ($val == '1') $noindex[] = $index; } $sp_gather->no_index = $noindex; foreach ( $_POST['expl_settings'] as $index => $val ) { $expl_arr = explode( ',', $val ); $sp_gather->{$index} = array_map( 'trim', $expl_arr ); } global $ac_settings; $sp_gather->title_rewrite = ( isset($_POST['disable_titles']) && $_POST['disable_titles'] == 1 ? 0 : 1 ); $sp_gather->version = ACETI_VERSION; $sp_gather->do_setup = 0; $sp_gather->frags = $ac_settings->frags; $sp_gather->activated = $ac_settings->activated; ac_save_settings ( $sp_gather ); } add_action('wp_ajax_sp_gather','ac_gather_and_store'); function multidim_to_obj( $input ) { if ( is_array($input) ) { return (object) array_map( __FUNCTION__, $input ); } else { return htmlspecialchars( stripslashes( $input ) ); } } /** * Meta boxes to control content when posting. */ function aceti_box () { $post_types = get_post_types('','names'); foreach ($post_types as $post_type ) { if ($post_type != 'nav_menu_item' && $post_type != 'attachment') { add_meta_box( 'aceti_box', __( 'Aceti Dynamic SEO'), 'aceti_content', $post_type, 'advanced', 'high' ); } } } add_action( 'add_meta_boxes', 'aceti_box' ); add_action( 'save_post', 'aceti_save' ); function aceti_content () { wp_nonce_field( plugin_basename( __FILE__ ), 'aceti_form' ); global $ac_settings; ?>

Character Count:

exclude)) echo 'checked="checked"'; } ?> />
'; ?> exclude)) $ac_settings->exclude[] = $pid; ac_save_settings($ac_settings); } else { $ac_settings = get_ac_settings(); if (in_array($pid, $ac_settings->exclude)) { $ac_settings->exclude = array_diff($ac_settings->exclude, array($pid)); ac_save_settings($ac_settings); } } if ( isset($_POST['ac_description']) && isset($_POST['ac_keywords']) ) { if ($_POST['ac_title'] != '') update_post_meta( $pid, '_ac_title', $_POST['ac_title'] ); if ($_POST['ac_description'] != '') update_post_meta( $pid, '_ac_description', $_POST['ac_description'] ); if ($_POST['ac_keywords'] != '') update_post_meta( $pid, '_ac_keywords', $_POST['ac_keywords'] ); } } /** * Default settings */ function ac_defaults () { $ac_install_settings = new stdClass; $ac_install_settings->version = ACETI_VERSION; $ac_install_settings->activated = 0; $ac_install_settings->do_setup = 1; $ac_install_settings->by_hook = 0; $ac_install_settings->capitalize= 1; $ac_install_settings->title_rewrite = 1; $ac_install_settings->articles = array( array( 'A', 'An', 'And', 'By', 'In', 'Of', 'The', 'To', 'With' ), array( 'a', 'an', 'and', 'by', 'in', 'of', 'the', 'to', 'with' ) ); $ac_install_settings->exclude = array( 'is_feed', 'is_comment_feed' ); $ac_install_settings->is_front_page->title = 'Welcome! | %blogname%'; $ac_install_settings->is_front_page->keywords = 'no, stuffing, recommended'; $ac_install_settings->is_front_page->description = 'My blog'; $ac_install_settings->is_single->title = '%post_title% | %blogname%'; $ac_install_settings->is_page->title = '%post_title% | %blogname%'; $ac_install_settings->is_archive->title = '%date% | %blogname%'; $ac_install_settings->is_author->title = '%post_author_nicename% on %blogname%'; $ac_install_settings->is_date->title = '%date% | %blogname%'; $ac_install_settings->is_time->title = '%date% | %blogname%'; $ac_install_settings->is_category->title = '%category_title% | %blogname%'; $ac_install_settings->is_tag->title = '%tax_title% | %blogname%'; $ac_install_settings->is_tax->title = '%tax_title% | %blogname%'; $ac_install_settings->is_search->title = '%search% | %blogname%'; $ac_install_settings->is_404->title = 'Sorry, %request_words% not found | %blogname%'; $ac_install_settings->is_paged->title = '%post_title% part - %page% | %blogname%'; $ac_install_settings->is_posts_page->title = '%post_title% | %blogname%'; $ac_install_settings->no_index = array( 'is_feed', 'is_comment_feed', 'is_search', 'is_archive', 'is_category', 'is_tag', 'is_tax' ); $ac_install_settings->exclude_segment = array( 'forum' ); $ac_install_settings->canonical = 1; $ac_install_settings->append_keywords = ''; $ac_install_settings->description = '%description%'; $ac_install_settings->create_keywords = array( 'post_tag', 'category' ); $ac_install_settings->frags = array('post->post_title; ?>','','', 'post->post_author); echo $ud->user_login; ?>', 'post->post_author); echo $ud->user_nicename; ?>', 'post->post_author); echo $ud->user_firstname; ?>', 'post->post_author); echo $ud->user_lastname; ?>','','', 'is_year) $d = "Y"; if ($wp_query->is_month) $d = "F Y"; echo get_the_date($d); ?>','','','', '', '', '','',''); return $ac_install_settings; } function aceti_reset () { $resetsettings = ac_defaults(); ac_save_settings ( $resetsettings ); } add_action('wp_ajax_aceti_reset','aceti_reset'); function aceti_switch () { $ac_settings = get_ac_settings(); $ac_settings->activated = ( $_POST['ac_onoff'] == '1' ? 1 : 0 ); ac_save_settings ( $ac_settings ); } add_action('wp_ajax_aceti_switch','aceti_switch'); ?>