Changeset 2253452
- Timestamp:
- 03/03/2020 08:46:02 AM (6 years ago)
- Location:
- s-dev-seo/trunk
- Files:
-
- 4 edited
-
inc/replace.php (modified) (1 diff)
-
inc/views.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
sdev-seo.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
s-dev-seo/trunk/inc/replace.php
r2253439 r2253452 17 17 $wpse_sdevseo_settings = get_option('wpse_sdevseo_settings'); 18 18 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()) { 20 30 21 31 $category = get_category( get_query_var( 'cat' ) ); -
s-dev-seo/trunk/inc/views.php
r2248133 r2253452 695 695 echo '</div>'; 696 696 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 697 719 echo '<div class="wpse-sdevseo-table-row table-footer">'; 698 720 … … 743 765 $updated_options = $wpse_sdevseo_settings; 744 766 767 /* Added in 1.82 */ 768 if(!isset($updated_options['home_title'])) { 769 $updated_options['home_title'] = 'Home'; 770 } 771 745 772 foreach($updated_options as $option_name=>$option_value) { 746 773 -
s-dev-seo/trunk/readme.txt
r2253439 r2253452 5 5 License URI: http://www.gnu.org/licenses/gpl-2.0.html 6 6 Tags: SEO, Title, Meta Description 7 Stable tag: 1.8 27 Stable tag: 1.83 8 8 Tested up to: 5.3 9 9 Requires at least: 5.3 … … 28 28 == Changelog == 29 29 30 = 1.83 = 31 Added field for home / blog title (used for index.php) on settings page. 32 Bugfix category title replacement. 33 30 34 = 1.5 = 31 35 Bugfix JS character counter. -
s-dev-seo/trunk/sdev-seo.php
r2253439 r2253452 4 4 Plugin Name: S-DEV SEO 5 5 Description: Add SEO Title and Meta Description fields to posts and pages 6 Version: 1.8 26 Version: 1.83 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.