refactor(inc, image-optimizer): restructure /inc architecture and standardize image optimizer module

- reorganized /inc directory structure for improved separation of concerns
  - grouped files into customizer, utilities, and tools
  - improved naming consistency across files (e.g. *-settings, template-tags, etc.)
  - simplified functions.php includes for better readability and maintainability

- refactored Customizer structure
  - extracted image optimizer settings from core-settings into dedicated module
  - consolidated settings, UI logic, and styles into a single feature file
  - improved naming consistency for hooks and functions

- standardized Image Optimizer admin tool
  - renamed "Performance Tools" to "Image Optimizer" across UI and hooks
  - updated admin page registration, callback names, and menu labels
  - aligned AJAX nonce naming for consistency and clarity

- preserved all existing logic and behavior (no functional changes)
- improved overall code organization and long-term maintainability

no breaking changes
This commit is contained in:
2026-04-30 21:41:19 +02:00
parent 84b2b85bf6
commit 1020442c06
14 changed files with 137 additions and 142 deletions
+12 -36
View File
@@ -247,6 +247,16 @@ textarea {
margin: 0;
}
/* Article Justifiy */
.entry-content p,
.post-content p {
text-align: justify;
hyphens: auto;
word-break: normal;
overflow-wrap: break-word;
}
/* Header Wrapper */
.header-wrapper {
@@ -997,7 +1007,7 @@ header.site-header .social-links svg:hover {
}
.site-header .search-field::placeholder {
color: var(--light-color) !important;
color: var(--dark-color)) !important;
font-weight: 300;
}
@@ -1275,33 +1285,6 @@ header.site-header .social-links svg:hover {
}
}
/* Search Widget */
.site-header .search-field:focus {
width: 320px;
background-color: rgba(255,255,255,0.85);
background-image: url(images/search-b.svg);
cursor: text;
outline: none;
}
@media (max-width: 500px) {
.site-header .search-field:focus {
width: 100%;
}
}
.site-header .search-field::placeholder {
color: var(--dark-color);
font-weight: 300;
}
.site-header .search-submit {
display: none;
}
/* Sidebar Search */
.widget_search form {
@@ -1366,12 +1349,6 @@ header.site-header .social-links svg:hover {
margin-bottom: var(--space-md);
}
.entry-content,
.post-content,
.inner-article-content {
max-width: 100%;
}
.single-post .entry-content > * + * {
margin-top: var(--space-md);
}
@@ -1582,7 +1559,6 @@ header.page-header h1 {
display: flex;
align-items: center;
gap: 0.3rem;
font-family: var(--primary-font);
margin: 0.5rem 0;
}
@@ -1590,7 +1566,7 @@ header.page-header h1 {
.comments a {
background: none;
color: inherit;
transform: translateY(-1px);
transform: translateY(-0.5px);
}
.comments svg {