Plugin Directory

Changeset 2253452


Ignore:
Timestamp:
03/03/2020 08:46:02 AM (6 years ago)
Author:
seodevrobin
Message:

Update 1.83

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

Legend:

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

    r2253439 r2253452  
    1717        $wpse_sdevseo_settings = get_option('wpse_sdevseo_settings');
    1818       
    19         if(is_category()) {
     19        if(is_home()) {
     20           
     21            $title = $wpse_sdevseo_settings['home_title'];
     22           
     23            if(empty($title)) {
     24                $title = "Home";
     25            }
     26           
     27            $auto_title = true;
     28           
     29        } elseif(is_category()) {
    2030
    2131            $category = get_category( get_query_var( 'cat' ) );
  • s-dev-seo/trunk/inc/views.php

    r2248133 r2253452  
    695695                    echo '</div>';
    696696                   
     697                    echo '<div class="wpse-sdevseo-table-row">';
     698                       
     699                        echo '<div class="wpse-sdevseo-table-cell">';
     700                           
     701                            echo 'Home / Blog Title';
     702                           
     703                        echo '</div>';
     704                       
     705                        echo '<div class="wpse-sdevseo-table-cell">';
     706                           
     707                            echo '<input type="text" name="home_title"';
     708
     709                            if( !empty($wpse_sdevseo_settings['home_title'])) {
     710                                echo ' value="'.$wpse_sdevseo_settings['home_title'].'"';
     711                            }
     712
     713                            echo ' />';
     714                       
     715                        echo '</div>';
     716                       
     717                    echo '</div>';
     718                   
    697719                    echo '<div class="wpse-sdevseo-table-row table-footer">';
    698720
     
    743765        $updated_options = $wpse_sdevseo_settings;
    744766       
     767        /* Added in 1.82 */
     768        if(!isset($updated_options['home_title'])) {
     769            $updated_options['home_title'] = 'Home';
     770        }
     771       
    745772        foreach($updated_options as $option_name=>$option_value) {
    746773           
  • s-dev-seo/trunk/readme.txt

    r2253439 r2253452  
    55License URI: http://www.gnu.org/licenses/gpl-2.0.html
    66Tags: SEO, Title, Meta Description
    7 Stable tag: 1.82
     7Stable tag: 1.83
    88Tested up to: 5.3
    99Requires at least: 5.3
     
    2828== Changelog ==
    2929
     30= 1.83 =
     31Added field for home / blog title (used for index.php) on settings page.
     32Bugfix category title replacement.
     33
    3034= 1.5 =
    3135Bugfix JS character counter.
  • s-dev-seo/trunk/sdev-seo.php

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