Browsing Tag

file

move_uploaded file not working in wordpress

I am attempting to do my own manual manual upload of a file in a WordPress template page. But Im getting this error. Warning: move_uploaded_file():

Using a combination of html and php in an echo in a php file (wordpress)

I’d be most grateful if someone could help me out here. I’d like to call a shortcode in a echo section, in a php file

how can i give breakline in txt file i am exporting order details in txt file

i required break-line i get my output in the browser, but it does not on the text file while i am downloading the txt file.

Return ACF field as a Shortcode using WordPress Functions.php file

How do I use an Advanced Custom Field as a Shortcode. Ive used the following code in the WordPress functions.php file but no luck. Here

Where can I find the wordpress-woocommerce completed order email language file?

I would like to change a word in the completed order e-mail. I tried to edit the wp-contentpluginswoocommercei18nlanguageswoocommerce-hu_HU.po file, but it has no effect,the e-mail

How to publically access a file uploaded via git to wp-content on openshift

I have just created an app on open shift and I have the WordPress example set up. The site works fine. I have git connected

Linking to another index in JSON file

Please bear with me here because I am a total beginner when it comes to JSON and AJAX and abstracting jQuery. So far I have

Writing plugin to affect the index.php file

I am new to PHP and WordPress plugin so I am a bit ignorant of some features. I want to write a plugin that restricts

File is not within the allowed path

[Tue Jul 08 07:13:37 2014] [warn] [client 66.249.80.15] mod_fcgid: stderr: PHP Warning: file_exists(): open_basedir restriction in effect. File(/var/www/vhosts/mydomain.com/httpdocs/wp-content/themes/gt3-wp-cleanspace/timthumb/timthumb.php/wp-content/uploads/2013/12/post-cyberlaw.jpg) is not within the allowed path(s): (/var/www/vhosts/mydomain.com/:/tmp/)

WordPress plugin causes duplicate jquery source file include on different port

My website is configured in such way that admin section is on port 9999 and user facing section is on port 80. When i do

i want same functionality of edit media file of admin side to frontend of wordpress

in admin side of wordpress if we edit any media picture then its resize and other various options are displaying . I want same option

cURL within a WordPress theme’s functions file not working

I’m trying to make an API call from within a theme’s functions file and am having some issues. I’m hooking in to Contact Form 7’s

Formatting data from CSV file to generate XML that WordPress can import

I’ve got a recipe site that is using a MYSQL database and a really old CMS. I am wanting to convert my site over to

get file of shortcode wordpress

I am working with wordpress and want to change the output of a shortcode that I wrote myself earlier. Because I forgot where I put

How to include WP_Widget from another file in main plugin file?

I tried to use the code bellow in my main file: define( 'MYPLUGINNAME_PATH', plugin_dir_path(__FILE__) ); include MYPLUGINNAME_PATH . 'class/class-widget.php'; Then I have a file class/class-widget.php

Create a custom WordPress post for every element of a XML file

I’m sorry for my english. I explain my situation. I have an XML file that i get using CURL function in PHP. I would to

Back to Top 145132 wordpress questions, 32 Wordpress answers.
Wordpress related, All rights reserved
Powered by Creative Advertising