Changeset 2223323
- Timestamp:
- 01/07/2020 07:48:55 AM (6 years ago)
- Location:
- s-dev-seo/trunk
- Files:
-
- 5 edited
-
inc/opengraph.php (modified) (1 diff)
-
inc/replace.php (modified) (1 diff)
-
inc/views.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
sdev-seo.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
s-dev-seo/trunk/inc/opengraph.php
r2208611 r2223323 14 14 15 15 $str = '<!-- S-DEV SEO --> 16 <meta property="og:type" content="article" /> 17 <meta property="og:title" content="' . htmlentities(wp_title('', false)) . '" /> 18 <meta property="og:url" content="'.get_permalink($post->ID).'" /> 16 <meta property="og:type" content="article" />'; 17 18 if($title = get_post_meta($post->ID,'sdevseo_title', true)) { 19 $str .= "\n\t".'<meta property="og:title" content="' . htmlentities($title) . '" />'; 20 } else { 21 $str .= "\n\t".'<meta property="og:title" content="' . htmlentities(wp_title('', false)) . '" />'; 22 } 23 24 if( (int)$wpse_sdevseo_settings['enable_meta_desc'] === 1 ) { 25 if($desc = get_post_meta($post->ID,'sdevseo_desc', true)) { 26 $str .= "\n\t".'<meta property="og:description" content="'.$desc.'" />'; 27 } 28 } 29 30 $str .= "\n\t".'<meta property="og:url" content="'.get_permalink($post->ID).'" /> 19 31 <meta property="article:published_time" content="'.get_the_date('Y-m-d H:i:s', $post->ID).'" /> 20 32 <meta property="article:modified_time" content="'.get_the_modified_date('Y-m-d H:i:s', $post->ID).'" /> -
s-dev-seo/trunk/inc/replace.php
r2212735 r2223323 43 43 if( (int)$wpse_sdevseo_settings['enable_meta_desc'] === 1 ) { 44 44 45 $meta_desc_tag = "\n ".'<meta name="description" content="'.$desc.'" />'."\n";45 $meta_desc_tag = "\n\t".'<meta name="description" content="'.$desc.'" />'."\n"; 46 46 } 47 47 -
s-dev-seo/trunk/inc/views.php
r2212765 r2223323 424 424 echo '<br />'; 425 425 426 echo '<form method="post" action="?page=sdev-seo ">';426 echo '<form method="post" action="?page=sdev-seo-overview">'; 427 427 echo '<input name="import_seo_ultimate" type="submit" value=" Import Now " class="button" />'; 428 428 echo '</form>'; -
s-dev-seo/trunk/readme.txt
r2212765 r2223323 5 5 License URI: http://www.gnu.org/licenses/gpl-2.0.html 6 6 Tags: SEO, Title, Meta Description 7 Stable tag: 1. 37 Stable tag: 1.4 8 8 Tested up to: 5.3 9 9 Requires at least: 5.3 … … 28 28 == Changelog == 29 29 30 = 1.4 = 31 Bugfix import function. 32 30 33 = 1.2 = 31 34 Removed check function for WP Title. Force Replace title is now the only replace function used. -
s-dev-seo/trunk/sdev-seo.php
r2212765 r2223323 4 4 Plugin Name: S-DEV SEO 5 5 Description: Add SEO Title and Meta Description fields to posts and pages 6 Version: 1. 36 Version: 1.4 7 7 Author: Rob von Bothmer / SeoDev 8 8 Author URI: https://www.seodev.se
Note: See TracChangeset
for help on using the changeset viewer.