مخصص CSS البسيط

الوصف

إضافة و,ردبريس سهلة الاستخدام تعمل على إضافة أنماط مخصصة لـ CSS بحيث تتجاوز الأنماط الافتراضية للإضافة والقالب. تم تصميم هذه الإضافة لتلبية احتياجات المدراء الذين يرغبون في إضافة الـ CSS الخاصة بهم إلى موقع ووردبريس الخاص بهم. الأنماط التي تم إنشائها باستخدام هذه الإضافة ستظهر حتى إذا تم تغيير القالب.

** New in Version 4.0.2 **
– Uses native WP CodeMirror on settings page (Does not load unnecessary scripts)
– Tested for WP version 5.1.1
– Tested for PHP version 7.2

Features

  • Customizer Control (live preview)
  • Useful Code Syntax Highlighter
  • Code linting (error checking)
  • No configuration needed
  • Simple interface built on native WordPress UI
  • Virtually no impact on site performance
  • No complicated database queries
  • Thorough documentation
  • Allows Administrator access on WP Networks (Multisite)

لقطات الشاشة

  • The Simple Custom CSS Administration Screen

  • قسم التخصيص للإضافة مخصص CSS البسيط

التنصيب

Install Simple Custom CSS just as you would any other WP Plugin:

  1. Download Simple Custom CSS from WordPress.org.

  2. Unzip the .zip file.

  3. Upload the Plugin folder (simple-custom-css/) to the wp-content/plugins folder.

  4. Go to Plugins Admin Panel and find the newly uploaded Plugin, “Simple Custom CSS” in the list.

  5. Click Activate Plugin to activate it.

  6. ابدأ في استخدام الإضافة بالانتقال إلى المظهر > تستطيع تخصيص الـ CSS في قائمة المدير, أو المظهر > تخصيص, وبعدها أنقر على قسم “مخصص CSS البسيط”.

More help installing Plugins

التعليمات

Will this Plugin work on my WordPress.com website?

Sorry, this plugin is available for use only on self-hosted (WordPress.org) websites.

My Custom CSS isn’t showing up

There are several reasons this could be happening:

  • Your CSS is targeting the wrong selector.

  • Your CSS selectors aren’t specific enough.

على سبيل المثال ، قد يكون لديك:

a {
    color: #f00;
}

عندما تحتاج:

\#content a {
    color: #f00;
}

الخصوصية التي تحتاجها تعتمد على قواعد CSS التي تحاول تجاوزها.

  • Your CSS isn’t valid.

نرجوا التحقق من شفرات CSS من خلال خدمة فحص أكواد CSS بواسطة W3C.

المراجعات

21 يونيو، 2019
Warning to any one using this plugin: This plugin has been around for years at yet still loads CSS in the most inefficient way, serving the CSS using a dynamic non-cacheable request on every page. This will not only affect the first page visited but will delay the render of every subsequent page visited. My advice would be to remove this plugin and use the default WordPress CSS editor, under the appearance > customize tab. There's simply no reason to use this plugin.
28 مايو، 2019
Simple, lightweight and perfect. It's the first plugin I add to all my sites. Has a decent sized viewer, unlike the css option in customizer that comes with some themes. Zero problems with this plugin.
2 مايو، 2019
Clean and simple as a Custom CSS plugin is supposed to be. Tired of all the silly un-needed bells and whistles getting added to CSS plugins. If you could move it out of the Appearance sub nav group and into its own link in the dashboard nav so I can go right to it while editing, I'll change this to 5 stars in a heartbeat!
7 مارس، 2019
The add-on works immediately after installation. That's what I expected
17 ديسمبر، 2018
Very good plugin! Thanks!
إقرأ جميع المراجعات 147

المساهمون والمطوّرون

“مخصص CSS البسيط” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.

المساهمون

لقد تم ترجمة ”مخصص CSS البسيط“ إلى 24 لغة. شكراً إلى جميع المُترجمين لمُساهماتهم.

ترجمة ”مخصص CSS البسيط“ إلى لغتك.

مُهتم بالتطوير؟

تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.

سجل التغييرات

4.0.3

  • Tested for compatibility with WP version 5.3

4.0.2

  • Use WP’s CodeMirror on settings page
  • Tested for compatibility with WP version 5.1.1
  • Tested for compatibility with PHP version 7.2

4.0.1

  • Fixed bug with broken editor styles on older versions of WP.

4.0

  • New Customizer Control (still compatible with older WP versions)
  • Added colors and linting to the Settings Page
  • Updated hooks to replace hyphens with underscores
  • Tested for WPCS compliance
  • Tested for compatibility with WP version 4.9.4

3.3

  • Added support for https://
  • Added base support for Danish language. Thanks @ThomasDK81!
  • Tested for compatibility with WP version 4.4.1

3.2

  • Tested for compatibility with WP 4.1
  • Improved architecture to reduce the number of queries (Thanks, @dvankooten!)

3.0.1

  • Tested for compatibility with WP 3.9.1
  • Sidebar “Update CSS” button added

3.0

  • Added Sytnax Highlighter
  • Removed Need for “Allow Quotation Marks” checkbox
  • Removed plugin attribution text
  • Allow Administrator access on multisite
  • Minor styling changes. Thanks @kucrut!

2.5

  • Fixed issue with WP installs in subdirectories. Thanks @lopo!
  • Tested for compatibility with WP 3.8.1

2.0

  • Added option to allow Double Quotes in CSS
  • Tested for compatibility with WP 3.8

1.2.1

  • Tested for compatibility with WP 3.7.1
  • Code update to conform fully with WP coding standards

1.2

  • Give Admins (not just Super Admins) access to the plugin
  • Correcting Credit error
  • Minor Bugfixes

1.1.1

  • Allowing the “>” direct child selector.

1.1

  • Removed unneeded hidden input
  • Added Action Hooks
  • Added cleanup on deletion
  • Added author attribution option
  • Added a more elegant method for adding CSS to the page:

Instead of using print_scripts() to insert the CSS directly into the HEAD, CSS styles are generated within simple-custom-css.php, then added via wp_enqueue_scripts, so now it will appear in the HEAD as:

    <link rel="stylesheet" href="http://yoursite.com/?sccss=1" />

…even though no css file is actually generated. Please see the comments within the Plugin file for more detailed information.

1.0

  • Initial Release