can someone help me ?
-
Hi everyone!
i want to write on post this embed code
<iframe width=”640″ height=”360″ src=”” frameborder=”0″ allowfullscreen></iframe>and i want to edit single.php to put a code, and then this code to take this embed text from post and show on my post page on the place where i put the code on single.php
anyone know something like that? what php code i need to use
Thanx a lot.
-
Hi,
I’m sorry I didn’t quite understood what you are trying to do.All you want to do is to add the above code to all your posts?
You mentioned something about another code, what about it? what should it do?
Sorry, I’m confused about your question, hope you can explain things a little bit so we can help.
i want to type the iframe code on post backend text window where we type posts and this iframe to show me on the page right there where i will put this code on single.php now i need the code. php code i dont know
. echo maybecodul iframe il voi folosi unde scriem posturile.
as vrea ca acest iframe sa fie afisat in pagina in alta zona decat in zona the content.Am inteles, poti crea un camp personalizat (ai optiunea in post) si sa faci echo acestui camp in single.php unde vrei tu sa apra.
Cand creezi campul trebuie sa-i dai un nume, foloseste pentru toate posturile acelasi nume (ca exemplu’ voi folosi in cod campul „myiframe”) si atunci in template vei folosi urmatorul cod:
echo get_post_meta(get_the_ID(), 'myiframe', true);
si cam asta e..
Dar vrei sa folosesti iframe-uri diferite pentru fiecare post? sau acelasi iframe pentru tot site-ul? solutia de mai sus este ideala daca vrei sa folosesti iframe-uri diferite pe fiecare articol, alta solutie ar fi mai buna daca ai un singur iframe de afisat.
si in post ce ar trebui sa scriu ca sa imi ia echo din single.php
vreau sa folosesc alt iframe pentru fiecare post…. adica sa introduc alt video
ce text ar trebui sa folosesc in post si sa adaug in post mereu codul iframe care sa mi`l ia in single.php
<iframe width=”640″ height=”360″ src=”https://rumble.com/embed/8.2zle9/” frameborder=”0″ allowfullscreen></iframe>
si ce ar trebui sa pun in single.php ca sa imi ia ce am scris in post adica sa imi ia iframe-ul… iframe-ul va fi diferit de la post la post…. alt video…
nu cunosc o boaba de php sau ce o fi:)… nu scrie incomplet 😀 sunt bata
scuze, nu am fost prea disponibil in ultimul timp, pentru a-ti putea da indicatii precise trebuie sa cunosc tema pe care o folosesti.. poti sa-mi spui care este site-ul tau sau ce tema ai acum?
folosesti cumva o tema copil (child theme) ?
te voi ajuta cu pasi exacti pe care ii vei putea face si daca nu ai cunostinte de php dar am nevoie de detaliile de mai sus..
Alex
viabreak.com
nu stiu ce inseamna thema child 🙂 thema e ribbon si am modificato!Buna,
Vreau sa schimb licenta de pe pagina princlipala si nu stiu cum sa fac?
Nu este vorba de inclus o oferta este vorba de actualizarea unei licente.Licenta este postata pe prima principala in stanga, jos.
As vrea sa stiu ce coduri folosesc sau unde trebuie sa merg sa scot licenta veche si sa o actualizez pe cea noua.Sunt nou -nout in domeniu asa ca nu prea ma pricep dar invat repede.
Multumesc
Sergo B.
http://www.brightevents.ro
- Subiectul „can someone help me ?” este închis pentru răspunsuri noi.