function seometa_site_admin_options()
{
    if ($_POST['action'] == 'update') {
        do_action('update_seo_meta_tags');
    }
    ?>
<div class="wpsmt_content_wrapper">
    <div id="wpsmt_content_top" class="wpsmt_content_cell">
        <div class="tool-box">
	<h3 class="title"><?php 
    _e('Seo Meta Tags');
    ?>
</h3> 
	<p>You can enter your meta keywords and description for your homepage.<br>
	This plugin will add Meta description for each individual post as your excerpt of your post.
	This will help your blog to rank better in google. You can easily increase your blog traffic using this plugin.
        <a href="http://www.digcms.com/">digcms.com</a></p>
	
	<form method="post">
	<input type="hidden" name="action" value="update" />
	 <?php 
    wp_nonce_field('seo_meta_tags');
    ?>
				
		
		<table class="form-table">     
                    <?php 
    smt_input_text_field(SMT_HOME_KEYWORDS, 'Seo Meta Tags Keywords');
    ?>
			
                        <tr>
				<td colspan='2'>
				<label for='seo_meta_tags[keywords]'>Example: <code>&lt;meta name='keywords' content='<strong><font color="blue">wp,Social Networking, Social Media, News, Web, Technology, Web 2.0, Tech, Information, Blog, Facebook, YouTube, Google, Top,Main Page,About wp,Advanced Topics,Backing Up Your Database,Backing Up Your wp Files,Blog Design and Layout,CSS,Contributing to wp,Core Update Host Compatibility,Database Description,Developer Documentation</font></strong>'&gt;</code></label>
				</td>
			</tr>

                        <?php 
    smt_input_textarea_field(SMT_HOME_DESCRIPTION, 'Seo Meta Tags Description');
    ?>
                        <tr>
				<td colspan='2'>
				<label for='seo_meta_tags[description]'>Example: <code>&lt;meta name='description' content='<strong><font color="blue">digcms.com is focused on design and web-development. We deliver useful information, latest trends and techniques, useful ideas, innovative approaches and tools. Social Media news blog covering cool new websites and social networks: Facebook, Google, Twitter, MySpace and YouTube.  The latest web technology news, via RSS daily.</font></strong>'&gt;</code></label>
				</td>
			</tr>
		</table>
	<p class="submit"><input type="submit" class="button-primary" value="Save Changes" /></p>
	</form>
	</div>
    </div>
    <div id="sidebar-container" class="wpsmt_content_cell">
        
    </div>
</div>
	
	<?php 
}
function seometatag_webmaster_tool()
{
    echo "<h2>" . __('WebMaster Tool', 'menu-seometatags') . "</h2>";
    if ($_POST['action'] == 'update') {
        do_action('update_seo_meta_tags');
    }
    ?>
<div class="wpsmt_content_wrapper">
    <div id="wpsmt_content_top" class="wpsmt_content_cell">
        <div class="tool-box">	
	<p>You can use the boxes below to verify with the different Webmaster Tools, 
            if your site is already verified, you can just forget about these. Enter the verify meta values for:
	</p>
	
	<form method="post">
	<input type="hidden" name="action" value="update" />
	 <?php 
    wp_nonce_field('seo_meta_tags');
    ?>
				
		
		<table class="form-table">     
                    <?php 
    smt_input_text_field('smt_alexa_varification', '<a href="http://www.alexa.com/siteowners/claim" target="_blank">Alexa Verification ID</a>');
    ?>
                    <?php 
    smt_input_text_field('smt_bing_webmaster', '<a href="http://www.bing.com/webmaster/?rfp=1#/Dashboard/?url=wordpress.purab.com" target="_blank">Bing Webmaster Tools</a>');
    ?>
                    <?php 
    smt_input_text_field('smt_google_varification', '<a href="https://www.google.com/webmasters/verification/verification?hl=en&amp;siteUrl=http%3A%2F%2Fwordpress.purab.com/" target="_blank">Google Webmaster Tools</a>');
    ?>
                    <?php 
    smt_input_text_field('smt_pinterest_webmaster', '<a href="https://help.pinterest.com/entries/22488487-Verify-with-HTML-meta-tags" target="_blank">Pinterest</a>');
    ?>
                    <?php 
    smt_input_text_field('smt_yandex_webmaster', '<a href="http://help.yandex.com/webmaster/service/rights.xml#how-to" target="_blank">Yandex Webmaster Tools</a>');
    ?>
                       
		</table>
	<p class="submit"><input type="submit" class="button-primary" value="Save Changes" /></p>
	</form>
	</div>
    </div>
    <div id="sidebar-container" class="wpsmt_content_cell">
        
    </div>
</div>
	
	<?php 
}
Пример #3
0
function seometatag_social()
{
    echo "<h2>" . __('Social Info', 'menu-seometatags') . "</h2>";
    if ($_POST['action'] == 'update') {
        do_action('update_seo_meta_tags');
    }
    ?>
<div class="wpsmt_content_wrapper">
    <div id="wpsmt_content_top" class="wpsmt_content_cell">
        <div class="tool-box">	
	<p>You can use the boxes below to verify with the different Webmaster Tools, 
            if your site is already verified, you can just forget about these. Enter the verify meta values for:
	</p>
	
	<form method="post">
	<input type="hidden" name="action" value="update" />
	 <?php 
    wp_nonce_field('seo_meta_tags');
    ?>
				
		
		<table class="form-table">     
                    <?php 
    smt_input_text_field('smt_facebookpage_url', 'Facebook Page URL:', 'Facebook Publisher/Author URL:');
    ?>
                    <?php 
    smt_input_text_field('smt_twitter_username', 'Twitter Username:'******'smt_google_publisher_page', 'Google Plus Posts Page:');
    ?>
                                          
		</table>
	<p class="submit"><input type="submit" class="button-primary" value="Save Changes" /></p>
	</form>
	</div>
    </div>
    <div id="sidebar-container" class="wpsmt_content_cell">
        
    </div>
</div>
	
	<?php 
}