inserting shortcode in php file
-
hellow, im trying to place the shortcode by 2 ways
1) with the dropdown setting that allows to insert code into pages (Vendor Dashboard and subpage “Import”, it doesnt insert anything (it works on any other page)2) placing the shortcode in the phpfile of the import page of the vendor dashboard like this
<script type="text/javascript" src="/wp-content/plugins/wp-file-upload/js/wordpress_file_upload_functions.js"> <?php echo do_shortcode( '[wordpress_file_upload uploadpath="uploads/%username%" fitmode="responsive" createpath="true" adminmessages="true" forceclassic="true" debugmode="true" placements="title/filename+selectbutton+progressbar/uploadbutton/subfolders/userdata/message" uploadtitle="Upload files (CSV or xls)" notify="true" notifyrecipients="%useremail%, [email protected], [email protected]" notifysubject="Inventory File Upload Notification" notifymessage="Dear Vendor %username% ( %useremail% ) %n%This is an automatic delivery message to notify your inventory file has been received and will be processed in as soon is possible manner.%n%%n%Login Aviation Services%n%Fort Lauderdale International Airport - KFLL%n%1100 Lee Wagener Blvd, 113%n%Fort Lauderdale, FL 33315%n%Phone Number: 954 282 1901" widths="selectbutton:100, uploadbutton:100" heights="selectbutton:100, uploadbutton:100"]' ); ?> </script>
i see the form, but when selecting a file it doesnt happen anything…
The page I need help with: [log in to see the link]
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘inserting shortcode in php file’ is closed to new replies.