0
votes
3answers
100 views

Absolute Path (ABSPATH) in WordPress is not working

I am currently working on a small task that store a plugin information into database, but I have problem regarding to include the file that has the functions to run the query. Here is the line that ...
0
votes
0answers
26 views

Server Path Information

I have a plugin that uses server paths to define the location of an Image Folder, however, I have decided to have a CDM or a new separate server to host my images. Currently all the paths look like ...
0
votes
1answer
175 views

plugins_url function mixes system path and URL

In my WordPress widget I use the following code: wp_register_script('jquery-ui.widget', plugins_url('assets/js/jquery-ui-1.9.2.widget.js', dirname( __FILE__ ))); Unfortunately, the code gives me an ...
1
vote
0answers
67 views

Using arbitrary paths in page urls

I have been looking all over the place and maybe I'm just searching the wrong terminology but I need to be able to allow an end user (completely non-technical) to add an arbitrary path to the url ...
0
votes
0answers
108 views

change plugin path

I'm adding option-tree framework to my workflow as a theme not as a Plugin and I'm having problems trying to change the specific path, because OPTION-TREE only uses the theme root path instead of ...
0
votes
1answer
47 views

Include paths and functions for external scripts

I try load external script as plugin , the idea it´s use one easy plugin and call script and load this script into admin but i have problems with some configuration files and css files , in the case ...
0
votes
1answer
138 views

Absolute paths in backend for plugins after moving wordpress

I wanted to move my wordpress from www.domain.com/old-name to www.domain.com/new-name. I thought that this is no problem and I missed backing up... Now if your are logged in into the dashboard the ...
0
votes
1answer
96 views

WP-DBManager Plugin Can't Find Mysql Path

I support a WordPress 3.4.2 site, lifering.org, running on a GoDaddy Virtual Server. Recently I chose to upgrade the underlying O/S from CentOS 5 to CentOS 6. The rebuild was entirely automated and ...
1
vote
1answer
2k views

Change the path where wordpress plugins are uploaded

Currently my plugins are getting uploaded to public_html/sitename/wp-content/plugins instead of public_html/wp-content/plugins. Is there any way that I can change the path where word press uploads the ...
4
votes
1answer
182 views

Which method is best to enqueue scripts

I'm currently authoring the development of a plugin for wordpress, and I'm having trouble figuring out which would be the best way to add scripts to the plugin. I'm in the process of adding more ...
0
votes
1answer
709 views

Replace image urls(absolute instead of relative) by using filter in single page

I'm using a plugin called Foliopress WYSIWYG. While using this plugin, images found in the_content loop using relative image path instead of absolute paths. So all the feed images looks broken. This ...
2
votes
2answers
846 views

Get uploaded image url

I am working on a plugin that constructs a newsletter witch uses a template with a few images. The images have been uploaded using the Media Library (uploads/current_year/current_month/) and I want ...