PFT – Widget Spacing Control
Set per-widget top and bottom margins separately for desktop and mobile. Supports negative values.
Mit Vorsicht verwenden
PFT – Widget Spacing Control works, but test it on a staging site before relying on it in 2026. Was last updated 3 months ago, and scores 49/100 on our health check.
- Kleine Benutzerbasis (<10 aktive Installationen)
- Bisher sehr wenige Bewertungen
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where PFT – Widget Spacing Control stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| margin | >100 |
| ansprechbar | >100 |
| sidebar | >100 |
| spacing | >100 |
| widget | >100 |
About PFT – Widget Spacing Control
From the official readme · v1.2.3Beschreibung
PFT – Widget Spacing Control adds margin-top / margin-bottom inputs (desktop and mobile, separately) to every widget’s settings form. Negative values are supported, so you can both expand and tighten the space between widgets without adding empty spacer widgets.
Merkmale
- Per-widget top and bottom margin (px) for desktop and mobile
- Negative values supported (e.g.
-10to tighten the gap) - Empty value falls back to the theme default
- No settings page — inputs appear directly inside each widget’s form
- Works with any theme (sidebar / widget area)
- No external CSS file. No JavaScript. Single PHP file
- No tracking. No external requests
How priority is guaranteed
To make sure your margin settings always win over theme and other plugin CSS:
- A triple-ID selector (
#id#id#id) raises specificity to 0-3-0-0, beating typical theme selectors. !importantis added on every declaration as a second line of defense.- Styles are output via
wp_footerat priority 9999, so they load after all other styles.
Media queries are used to switch between desktop and mobile values cleanly (inline styles are intentionally avoided because inline !important would override @media rules).
Responsive breakpoints
- Desktop: 769px and above
- Mobile: 768px and below
Privatsphäre
This plugin does not collect, store, or transmit any personal data. It only stores numeric margin values inside each widget’s settings.
Installation
- Upload the
widget-spacing-controlfolder to/wp-content/plugins/, or install via the Plugins screen in WordPress. - Activate the plugin through the Plugins screen.
- Go to Appearance → Widgets. Each widget now has a “余白設定 (Spacing)” section at the bottom of its form.
- Enter values (positive or negative integers) for PC and/or mobile, then save the widget.
Änderungsprotokoll
Internationalization: widget form labels are now translatable. UI displayed in user's WordPress locale when translations are available.
1.2.3
- i18n: all widget form labels are now translatable via the
pft-widget-spacing-controltext domain. English source strings; translations welcome at https://translate.wordpress.org/projects/wp-plugins/pft-widget-spacing-control/
1.2.2
- Refactor: CSS is now registered with
wp_register_style()/wp_enqueue_style()and attached viawp_add_inline_style()(instead of being echoed directly). - Refactor: CSS is precomputed during
wp_enqueue_scriptsby iterating widget instances, eliminating the priorwp_footerecho and the global variable used to accumulate styles. - Naming: all plugin functions now use the
pftwsc_prefix (Pifto Works WSC). - The
dynamic_sidebar_paramsfilter is now used only to injectid="{widget_id}"into widget HTML when the active theme does not provide one (so the precomputed selectors match).
1.2.1
- Fixed: mobile margin values were ignored because inline
!importantstyles overrode@mediarules. Inline style injection has been removed; styles are now applied exclusively via the#id#id#id !importantselector inside<style>, so PC and mobile values work independently as intended. - Security: footer style output is now run through
esc_html()to satisfy WordPress output-escaping standards. - Renamed plugin to “PFT – Widget Spacing Control” for clearer ownership.
1.2.0
- Added GPL license headers
- Added
Requires at least/Tested up toheaders - Escaped widget form field IDs and names with
esc_attr()
1.1.0
- Triple-ID selector with
!importantfor stronger CSS specificity - Output styles via
wp_footerat priority 9999
1.0.0
- Erste Freigabe
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best PFT – Widget Spacing Control alternatives
All margin plugins →Fragen und Antworten
PFT – Widget Spacing Control: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is PFT – Widget Spacing Control free?
Yes. PFT – Widget Spacing Control is free to download and use from the official WordPress.org plugin directory.
Is PFT – Widget Spacing Control safe to use in 2026?
PFT – Widget Spacing Control works, but test it on a staging site before relying on it in 2026. Was last updated 3 months ago, and scores 49/100 on our health check.
How many websites use PFT – Widget Spacing Control?
PFT – Widget Spacing Control is active on <10 WordPress websites and has been downloaded 356 times since it launched in June 2026. It was downloaded 57 times in the last 30 days.
Does PFT – Widget Spacing Control work with WordPress 7.1?
PFT – Widget Spacing Control is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does PFT – Widget Spacing Control need?
PFT – Widget Spacing Control requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was PFT – Widget Spacing Control last updated?
The latest version, 1.2.3, was released on August 30, 2026 (3 months ago).
Who makes PFT – Widget Spacing Control?
PFT – Widget Spacing Control is developed and maintained by Pifto Works.
What are the best alternatives to PFT – Widget Spacing Control?
The most popular alternatives to PFT – Widget Spacing Control are Admin Bar Fix (500+ installs), Forex Calculators (100+ installs) and CSS Margin & Padding Utility (60+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte
