Plugin Directory

Changeset 2885734


Ignore:
Timestamp:
03/23/2023 02:43:59 PM (3 years ago)
Author:
optimistic_shekhar
Message:

1.0.5 update wifixes for 404 & guttenberg titles

Location:
shk-hide-title/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • shk-hide-title/trunk/hide_title.php

    r2836447 r2885734  
    5151
    5252        public function st_hide_title_css() {
     53            if (is_404()) {
     54                return;
     55            }
    5356            global $post;
    5457            $class = get_theme_mod('shk_hide_title_class_name');
     
    6366                    <style type="text/css">
    6467                        #post-<?php echo $post->ID; ?> .entry-title,
    65                         #post-<?php echo $post->ID; ?> .entry-header h1
     68                        #post-<?php echo $post->ID; ?> .entry-header h1,
     69                        .postid-<?php echo $post->ID; ?> h1.wp-block-post-title,
     70                        .page-id-<?php echo $post->ID; ?> h1.wp-block-post-title
    6671                        {display:none;}
    6772                    </style>
  • shk-hide-title/trunk/index.php

    r2836447 r2885734  
    44 * Plugin URI: http://shkthemes.com/shk-hide-title
    55 * Description: A Plugin To disable title for pages in WordPress
    6  * Version: 1.0.4
     6 * Version: 1.0.5
    77 * Author: Shekhar Bhandari, Shk Themes
    88 * Author URI: http://shekharbhandari.com.np/
  • shk-hide-title/trunk/readme.txt

    r2836455 r2885734  
    3838--------
    3939
     4023/03/2023 version 1.0.5
     41- Fixed bug for 404
     42- Fixed support issues with guttenberg titles
Note: See TracChangeset for help on using the changeset viewer.