Risposte nei forum create
-
AutorePost
-
LuigiMdgPartecipante
Ovvio che lo so.. Sono un programmatore PHP..
Grazie per il link
LuigiMdgPartecipanteTi Amo :-*
LuigiMdgPartecipanteL’ho realizzato da me, ora però rimane il problema che ogni volta che scrivo un codice php di esempio in un articolo si blocca tutto.. Non mi salva la bozza e non mi pubblica l’articolo..
LuigiMdgPartecipanteMe le ha sostituite..
Comunque c’è qualcosa che fa bloccare il salvataggio della bozza e la pubblicazione quando inserisco del codice php… Sempre..
LuigiMdgPartecipanteOra che mi hai linkato i valori per mettere l’indentatura si capisce, prima potevi capirlo solo tu quel messaggio
In realtà non c’è nulla da capire, o tab o 4 spazi.
In wp si preferisce il tab, la maggior parte degli sviluppatori preferiscono i 4 spazi.
Se sai il php, la tua domanda non ha alcun senso, è la base.
Il problema è che quando inserisco delle entity si blocca.. Tipo quando inserisco un codice simile a questo:
<html>
<head>
<title>Esecuzione Codice Online</title>
</head>
<body>
<?php
echo “<h1>Ciao PHP</h1>”;
?>
</body>
</html>
LuigiMdgPartecipanteLa convenzione è che quello spazio lungo, come lo chiami tu, sia realizzato o con un tab o con 4 spazi.
Ogni IDE o editor di codice ti permette di configurare il tab come 4 spazi.
QUi trovi le convenzioni per quanto riguarda WordPress, che suggerisce di utilizzare tab e non spazi: https://make.wordpress.org/core/handbook/best-practices/coding-standards/php/
Ora si capisce, nel PHP so bene come si fa…
Ora che mi hai linkato i valori per mettere l’indentatura si capisce, prima potevi capirlo solo tu quel messaggio
LuigiMdgPartecipanteok, o è un tab o 4 spazi.
Ma che stai dicendo scusami?
LuigiMdgPartecipanteSi, quello che in genere si fa con il TAB.. Sarebbe quello utilizzato per l’indentatura in HTML, PHP e in tutti i linguaggi di programmazione
LuigiMdgPartecipanteLo so, ma volevo sapere se ne conoscete uno specifico che fa ciò che ho chiesto..
Perchè ne ho già provati un paio di wiki ma non fanno altro che creare una wiki distaccata dal blog..
LuigiMdgPartecipanteMa ne esiste uno dove mi creo tipo un vocabolario e mi va a cercare quelle parole in tutti gli articoli?
-
AutorePost