Plugin Proposal: Manage inserting of Code Snippets
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
Direzione di ricerca
Non vengono indicati file, test o punti di ingresso. Inizia esaminando l’architettura esistente della pagina delle impostazioni, del tipo di contenuto personalizzato e dell’inserimento in header/contenuto/footer, prima di restringere la proposta a un lavoro implementabile. Il lavoro completato deve includere snippet di codice gestiti, una posizione selezionabile e un caricamento o un bundling controllati, come specificato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Overview
- Proposed plugin name: Code Snippets
- Proposed plugin slug: code-snippets
- Proposed plugin owner GitHub username(s): pbearne
About the plugin
Purpose
Create admin settings to allow management of Code Snippets so WP can control where and how they are added to rendered HTML.
Scope
Adds a WP settings page that enables adding/selecting of script blocks and allows the options to be managed
Rationale
There are lots of instructions ( GTM Code Snippets) on the web to add script blocks and sometimes HTML, and these are added to the header in an uncontrolled way or require a plugin.
Other
We create a location to paste the snippet, then parse it (store it as a CPT) to create settings that control how it is loaded/adjusted.
We also allow a JSON block to be pasted in as well to create the settings with options for the scripts that allow
Part of the settings control where the snippets are added to the page and or bundled into larger or external files
We just call the CPT with a meta query in the header/content/footer to insert as needed
- Lingua principale
- PHP
- Stelle
- 467
- Fork
- 171
- Merge medio
- 13h 21m
- PR unite (30g)
- 32
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di WordPress/performance
-
Reuse template enhancement output buffer in Optimization Detective for WP 6.9Forse già presa @Hug0-Drelon l’ha presa 162 giorni fa. Aperta[Plugin] Optimization Detective [Type] Enhancement ContributorDay
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
WordPress/performance#2224 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
AVIF sub-sizes are larger than WebP at the default quality of 82Forse già presa @b1ink0 l’ha presa 10 giorni fa. Aperta[Plugin] Modern Image Formats [Type] Bug
WordPress/performance#2745 · 15 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Enhanced Responsive Images assumes units of Column and Post Featured Image widthsForse già presa @rejaulalomkhan l’ha presa 26 giorni fa. Aperta[Plugin] Enhanced Responsive Images [Type] Bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 57/100
WordPress/performance#2726 ·
I maintainer di solito rispondono entro 1 giorno
-
Fatal error in Enhanced Responsive Images when using old Columns block with a percentage float widthForse già presa @westonruter l’ha presa 28 giorni fa. Aperta[Plugin] Enhanced Responsive Images [Type] Bug
WordPress/performance#2724 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
WordPress/performance#2709 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di WordPress/performance
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 89/100
backdrop-contrib/commerce#65 ·
-
backend enhancement good first issue php
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Evalogical-Inc/devReady#66 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
mollie/PrestaShop#1627 ·
I maintainer di solito rispondono entro 5 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
FriendsOfFlarum/follow-tags#118 ·