Emporio: ok. thats the.

 
Jeng: Shudon: shortcodes are very useful things

Liebrecht: Scavotto: “PHP form” still not a thing :d

Jeng: Geez. how did it get to be this late. gotta get back to my to-do list

Deandrade: Http://myphpform.com/ clearly not a thing

Gavaldon: My files are the following: info.php is the form where the action is sent to paymentDo.php who invokes the library and performs transactions: info.php = http://pastebin.com/SMhHfRhZ paymentDo.php = http://pastebin.com/gUUbLwMB

Davilla: Is anyone experienced with wp_handle_upload?

Waughtal: Sempek My files are the following: info.php is the form where the action is sent to paymentDo.php who invokes the library and performs transactions: info.php = http://pastebin.com/SMhHfRhZ paymentDo.php = http://pastebin.com/gUUbLwMB

Roades: Hansel: you should put your form into an actual WP page

Merlin: Been trying to solve this all day

Shatz: F those are currently in wordpress

Veen: Hansel: none of this actually has to be outside of WP

Pardee: If those are currently in wordpress

Sempek: Highlighted by accident, afk again

Shanno: Emporio: yea i’ve used it

Sapnu: If those are currently in wordpress

Nemes: Hansel: what do you mean “if those are currently in WP”

Schueren: Perhaps you can tell me what’s wrong with my handler

Siena: Hansel: if it was a WP file it would be in a template file of some sort. not its own info.php

Fortenberry: These files are placed in the installation of wordpress

Flechas: Scavotto: http://pasteboard.co/vZ0YBlA.png

Figura: Hansel: but that doesnt make them WP files

Fritze: Hansel: or is it an actual page file?

Woodlock: Hansel: remember. i havent been over your shoulder while coding so i’m working on trying to get a handle as to where all this is

Sheff: Scavotto: http://pasteboard.co/vZ6CAbT.png

Billen: Here is the upload button

Scarpato: Jeng: sometimes when time is money its better to use a ready plugin :

Marcelli: The info.php file I created myself, like that of paymenDo.php

Zielinski: Hansel: but is it called within a WP template file? Or are you just trying to point your site directly to the PHP file?

Neithercutt: Emporio: so what is the problem you are seeing?

Usrey: Scavotto: After uploading using that button, I see this in media: http://pasteboard.co/vZatRO3.png

Villamarin: Where should i define my shortcodes? somewhere like wp-includes/*-template.php? after i add it, how do i make it available to my post?

Triana: Emporio: and what exactly do you want your code to do again?

Herzbrun: Well, I would like it first of all to make the image visible in the media library

Sayer: Emporio: it appears it’s creating a media record but not actually uploading a file

Keovongxay: I create the file, then the wordpress admin create a page and told him to use the template info.php

Pfleger: Emporio: no I mean what is the purpose of this code?

Ursini: Scavotto: it seems right

Quade: Or is it more conventional to create a plugin?

Schiele: Emporio: what are you trying to achieve?

Neid: Any here use timber twig templates?

Foutain: I would like the image to be uploaded to the library

Cazarez: And then take it from there really.

Radvany: Emporio: you want a front end form to allow users to add media ? are you addin a customizer field for image upload? A settings page for logo uploads?

Farb: Emporio: no no. i mean what is the goal. what are you actually making. Forget the code

Ohms: It’s a settings page for a theme I am making correct

Bryk: Emporio: ok. thats the info I am looking for