Changeset 3005652
- Timestamp:
- 12/05/2023 12:29:14 PM (16 months ago)
- Location:
- fcp-first-screen-css/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
fcp-first-screen-css/trunk/first-screen.php
r3004853 r3005652 3 3 Plugin Name: First Screen CSS & Settings 4 4 Description: This is a professional tool to manipulate enqueued Styles and Scripts on your website; add custom CSS to the first screen and not first screen optionally, choose where to apply. Use it to improve your Core Web Vitals score or just add custom styling. 5 Version: 1.7. 05 Version: 1.7.1 6 6 Requires at least: 5.8 7 7 Tested up to: 6.4 -
fcp-first-screen-css/trunk/inc/admin/main.php
r3004853 r3005652 69 69 // link the new css from the plugins list 70 70 add_filter( 'plugin_action_links_'.FCPFSC_BSN, function($links) { 71 $settings_link = '<a href="' . esc_url( admin_url( 'post-new.php?post_type='.FCPFSC_SLUG ) ) . '">Add new Settings </a>';71 $settings_link = '<a href="' . esc_url( admin_url( 'post-new.php?post_type='.FCPFSC_SLUG ) ) . '">Add new Settings Set</a>'; 72 72 array_unshift( $links, $settings_link ); 73 73 return $links; -
fcp-first-screen-css/trunk/inc/apply/main.php
r3004853 r3005652 47 47 48 48 // get css by template 49 $template = get_page_template_slug( $qo->ID ); 50 if ( $template ) { // not default '' and not not-applied false 49 if ( isset($qo->ID) && $template = get_page_template_slug( $qo->ID ) ) { // not default '' and not not-applied false 51 50 $csss = array_merge( $csss, get_fcpfsc_ids( FCPFSC_PREF.'post-templates', $template ) ); 52 51 } … … 60 59 61 60 // filter by exclude 62 if ( $css_exclude = get_post_meta( $qo->ID, FCPFSC_PREF.'id-exclude' )[0] ?? null ) {61 if ( isset($qo->ID) && $css_exclude = get_post_meta( $qo->ID, FCPFSC_PREF.'id-exclude' )[0] ?? null ) { 63 62 $csss = array_values( array_diff( $csss, [ $css_exclude ] ) ); 64 63 } -
fcp-first-screen-css/trunk/readme.txt
r3004853 r3005652 5 5 Tested up to: 6.4 6 6 Requires PHP: 7.4 7 Stable tag: 1.7. 07 Stable tag: 1.7.1 8 8 Author: Vadim Volkov, Firmcatalyst 9 9 Author URI: https://firmcatalyst.com
Note: See TracChangeset
for help on using the changeset viewer.