Tagged Questions

Here is the context:
I have a sub domains wp mu install with wp-content in a different location and using the domain mapping plugin. WP and all my plugins are up to date. There is no https involved.
...

I've got a multisite with a site that has a path /sites/A.
I'd like to host it as follows /sites/department/A. However when I change the Path under Sites > Info to /sites/department/A (and tick the ...

I am developing a WordPress theme and the background image appeared fine on the local MAMP server. It refuses to appear once I upload the theme into a demo site, however. I've tried every type of path ...

Never encountered this issue before. So I've just moved a site for a client to another server and for some reason all images give me a 404 when I change the default domain in the database (siteurl and ...

I have a multi-site setup. My main site's theme changed the uploads folder to /media, problem now, is I added a subdomain site, and when I upload a file, it still uploads to /media, and wordpress is ...

Few months back I was working on customizing theme that I was assigned to. I remember that I used some function or define something in the config or theme functions file and than it displayed debug ...

I recently inherited a large site from a developer that vanished. The site has more than 6,000 images. In the pages most of the images are missing, however, they are referenced in the media library ...

I own a domain, www.mydomain.com, where I publish solitary webpages on some path - i.e. www.mydomain.com/mycustompath1/ , www.mydomain/mycustompath2/ , etc.
Currently there is no content in the root ...

I just moved a site to another production environment and I have an issue with accessing subpages. The home page and the /wp-admin section works as expected and there are no path issues with images or ...

I just moved to a new server and upgraded WordPress as well. Somewhere in the process my image paths in old posts got mismatched to the actual file location. All the old images are now broken.
As an ...

I am in the process of moving a WP site from one host to another. I copied the database and all the files, created a new database and imported the old one. I then changed the wp-config file. The home ...

Whenever I use a JavaScript path to /images/imagename.jpg or within CSS ie.
background: url(../images/imagename.jpg)
works fine sitewide giving me an expected path to an image that looks like this:
...

I have a framework for WordPress that can be embedded into either a plugin, a theme or a child theme. In order to return proper URLs, the script needs to determine from where it is being executed.
I ...

Use ACF pluging to save a windows path like this : c:\users\thanassis\photos using a text field. The ACF saves this : c:usersthanassisphotos as path except the character \. If I use this / it's ok.
I ...

I have lots of pages with similar titles which may be confusing when users search for something. To help them tell apart the pages, I'd like to add the page/post location (path) under each page/post ...

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 ...

I have a WordPress multisite and I can upload and display images in the main site, but not in the others.
When I upload an image, it doesn't show any error, but the image doesn`t display, like when a ...

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 ...

I have a processForm.php in theme directory that does what it says. I am trying to include a file (which i need in order to run a specific function in processform.php) from a plugin directory and have ...

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 ...

i just recently transfered a new site to a server. All paths are correct when I debug the site but for some reason the uploads front and back do not show either in the media section or the site pages.
...

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 ...

How can I get the current path of my page?
I know how to do it inside a template file, but I need it inside functions.php.
And it has to be before the send_headers hook, because I'll use this info to ...