Plugin Directory

Changeset 3190014


Ignore:
Timestamp:
11/16/2024 07:08:42 AM (17 months ago)
Author:
ibermega
Message:

Settings for WordPress version 6.7

Location:
tseo-portfolio/trunk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • tseo-portfolio/trunk/README.txt

    r3007770 r3190014  
    11=== TSEO Portfolio ===
    2 Contributors: ibermega
     2Contributors: devtseo, ibermega
    33Donate link: https://paypal.me/ibermegainc
    44Tags: portfolio, website gallery, website showcase, display websites, website analytics, website marketing, SEO optimization, web development, performance analysis, website quality, PageSpeed, Pingdom, GTmetrix, Google Rich Results, WordPress portfolio
    55Requires at least: 5.5
    6 Tested up to: 6.4.2
    7 Stable tag: 1.0.1
     6Tested up to: 6.7
     7Stable tag: 1.0.2
    88Requires PHP: 7.4
    99Text Domain: tseoportfolio
     
    71716. Shortcode Metabox: Demonstrates how to use the shortcode to integrate the gallery into your pages or posts.
    7272
    73 == Upgrade Notice ==
     73= 1.0.2 - 16/11/2024 =
     74* Settings for WordPress version 6.7
     75
     76## Changelog
     77
     78= 1.0.2 - 16/11/2024 =
     79* Settings for WordPress version 6.7
    7480
    7581= 1.0.1 - 10/12/2023 =
    76 * Settings for WordPress version 6.4.2.
    77 
    78 == Changelog ==
    79 
    80 = 1.0.1 - 10/12/2023 =
    81 * Settings for WordPress version 6.4.2.
     82* Settings for WordPress version 6.4.2
    8283
    8384= 1.0.0 - 02/09/2023 =
  • tseo-portfolio/trunk/inc/tseoportfolio-class.php

    r3007755 r3190014  
    3131        add_action('save_post', array($this, 'tseoportfolio_save_metabox_data'));
    3232        add_action('init', array($this, 'tseoportfolio_rewrite_rules'));
    33     }
     33        add_action('admin_head', [$this, 'tseoportfolio_menu_icon_css']);
     34    }
     35
     36    public function tseoportfolio_menu_icon_css() {
     37        $icon_url = plugin_dir_url(dirname(__FILE__)) . 'admin/img/tseo-portfolio.svg';
     38        echo '<style>
     39            #menu-posts-tseoportfolio .wp-menu-image {
     40                background: url(' . esc_url($icon_url) . ') no-repeat center center !important;
     41                background-size: 23px 23px !important;
     42            }
     43            #menu-posts-tseoportfolio .wp-menu-image:before {
     44                content: "" !important;
     45            }
     46        </style>';
     47    }
     48
    3449    public function register_tseoportfolio_post_type() {
    3550        $args = array(
    36             'label' => __('TSEO Portfolio', 'tseoportfolio'),
     51            'label' => __('tSEO Portfolio', 'tseoportfolio'),
    3752            'public' => false,
    3853            'publicly_queryable' => false,
    3954            'show_ui' => true,
    4055            'supports' => array('title', 'thumbnail'),
    41             'menu_icon' => 'dashicons-portfolio',
     56            'menu_icon' => 'dashicons-admin-generic',
    4257            'rewrite' => array('slug' => 'portfolio'),
    4358        );
  • tseo-portfolio/trunk/tseoportfolio.php

    r3007770 r3190014  
    1212 * Plugin URI:        https://tseo.pro/portfolio/
    1313 * Description:       TSEO Portfolio allows you to display a gallery of websites that you have developed with WordpPress. Each entry displays an image, title, description and six buttons that link to the website, PageSpeed Mobile, PageSpeed Desktop, Pingdom, GTmetrix and Google Rich Results that allows each visitor to analyze the quality of each website.
    14  * Version:           1.0.1
     14 * Version:           1.0.2
    1515 * Requires at least: 5.5
    1616 * Requires PHP:      7.4
     
    4040
    4141if ( ! defined( 'TSEOPORTFOLIO_VERSION' ) ) {
    42     define( 'TSEOPORTFOLIO_VERSION', '1.0.0' );
     42    define( 'TSEOPORTFOLIO_VERSION', '1.0.2' );
    4343}
    4444
Note: See TracChangeset for help on using the changeset viewer.