Plugin Directory

Changeset 2223323


Ignore:
Timestamp:
01/07/2020 07:48:55 AM (6 years ago)
Author:
seodevrobin
Message:

Update 1.4

Location:
s-dev-seo/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • s-dev-seo/trunk/inc/opengraph.php

    r2208611 r2223323  
    1414   
    1515    $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).'" />
    1931    <meta property="article:published_time" content="'.get_the_date('Y-m-d H:i:s', $post->ID).'" />
    2032    <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  
    4343                if( (int)$wpse_sdevseo_settings['enable_meta_desc'] === 1 ) {
    4444               
    45                     $meta_desc_tag = "\n".'<meta name="description" content="'.$desc.'" />'."\n";
     45                    $meta_desc_tag = "\n\t".'<meta name="description" content="'.$desc.'" />'."\n";
    4646                }
    4747               
  • s-dev-seo/trunk/inc/views.php

    r2212765 r2223323  
    424424                echo '<br />';
    425425               
    426                 echo '<form method="post" action="?page=sdev-seo">';
     426                echo '<form method="post" action="?page=sdev-seo-overview">';
    427427                    echo '<input name="import_seo_ultimate" type="submit" value=" Import Now " class="button" />';
    428428                echo '</form>';
  • s-dev-seo/trunk/readme.txt

    r2212765 r2223323  
    55License URI: http://www.gnu.org/licenses/gpl-2.0.html
    66Tags: SEO, Title, Meta Description
    7 Stable tag: 1.3
     7Stable tag: 1.4
    88Tested up to: 5.3
    99Requires at least: 5.3
     
    2828== Changelog ==
    2929
     30= 1.4 =
     31Bugfix import function.
     32
    3033= 1.2 =
    3134Removed check function for WP Title. Force Replace title is now the only replace function used.
  • s-dev-seo/trunk/sdev-seo.php

    r2212765 r2223323  
    44Plugin Name: S-DEV SEO
    55Description: Add SEO Title and Meta Description fields to posts and pages
    6 Version: 1.3
     6Version: 1.4
    77Author: Rob von Bothmer / SeoDev
    88Author URI: https://www.seodev.se
Note: See TracChangeset for help on using the changeset viewer.