The directory tag has no wiki summary.
0
votes
0answers
44 views
Change upload directory and url
I am developing a plugin and I changed the upload directory of the v.3.5 media uploader to this: \wp-content\plugins\deixto\cle.
I used the following function and filter:
function ...
0
votes
2answers
33 views
How to point my domain to a Wordpress install in a sub-directory?
I have recently been re-designed a client's website (whose website is - for example purposes - mywebsite.co.uk)/
I have developed the new website (a heavily modified wordpress install) in a ...
0
votes
0answers
13 views
Preventing collisions between permalinks and subdirectories [duplicate]
I've deployed a WordPress installation on the root of my site. This site also has a few subdirectories that should remain accessible, such as /somefolder/. I've configured WordPress to use ...
-2
votes
0answers
27 views
wp-content will move but not rename
define( 'WP_CONTENT_DIR', $_SERVER['DOCUMENT_ROOT'] . '/new-wp-content-name' );
define('WP_CONTENT_URL', 'http://www.site.com/new-wp-content-name');
This works so long as I keep the folder called ...
0
votes
0answers
11 views
Is there some way to put a theme's header.php and footer.php in a subdir [duplicate]
and still call them with get_header() / get_footer()?
For example {themedir}/templates/headers/header.php
of {themedir}/templates/footers/footer.php
With templates this is easy, but I can't get it ...
0
votes
3answers
93 views
bloginfo('template_directory') img src
I am lazy loading some images with URLs which are added via custom fields.
The lazy load plugin I'm using requires a place-holder image in the src attribute and the actual image in data-original.
...
0
votes
0answers
17 views
Plugin folder isn't accessible for plugins
When a plugin needs to include a file from it's own folder it can't be read. It returns the 404 theme page.
For example. If a plugin installs some CSS to the header of a theme like so:
<link ...
0
votes
1answer
52 views
Infamous admin login redirect
I have a multisite installed with the domain mapping plugin.
All the domains work fine, except...
One of the sites is on a subdirectory (the main site running Magento).
I added a symlink to the ...
0
votes
1answer
20 views
WP white screen of death after duping a site that works fine on same server
I have simply duped a site that runs absolutely fine on a separate domain into a sub directory of another domain for development purposes. I have zipped the /httpdocs/ directory excluding cache and ...
5
votes
2answers
103 views
Categorising themes by folders in backend
I want to organize themes like:
wp-content/themes/themeshop/theme1
wp-content/themes/themeshop/theme2
wp-content/themes/themeshop/theme3
Now from my understanding, this organization works ...
0
votes
0answers
35 views
Order posts by meta value then by random with pagination
Firstly thank you in advance for your help.
I am creating a directory site. My client needs featured directory listings to appear before standard listing but they also need to be in a random order ...
0
votes
1answer
35 views
Get WP Install Directory
I have a theme which - I was quite proud of myself! - I designed to be installed in wp sites where wp is on root level.
Then half my users installed the theme on a mysite.com*/wordpress/* !
...and ...
0
votes
0answers
29 views
WordPress MU with Multi-level URL's
I have a bit of a complex question. Is it possible to create a multi-level URL with WordPress MU. By this I mean so that I would have the install on xyz.example.com, I could then create ...
0
votes
2answers
34 views
Disable plugin visibility at the plugin directory
Hello I have recently pushed my plugin's files to WordPress SVN trunk.
Unfortunately, it's not a ready to use release.
I don't want anybody accidentally download this half-baked 'release'.
Can I ...
1
vote
0answers
39 views
Checking for page templates in child theme
I have a simple problem I'm hoping someone can shed some light on. I have a child theme with a custom page template and I'm simply trying to check weather or not the template is in use. Under normal ...
0
votes
1answer
38 views
Multiple domains for multiple single installs
I've done my share of searching, but apparently my search-fu is failing me, because I haven't found anything that really seems to fit my circumstance. Also, I don't want to just try random solutions ...
0
votes
2answers
124 views
Setting up two separate blogs while using WordPress as a CMS
I need to get this set up ASAP and cannot seem to figure out how to do this after searching and searching.
I am using a WordPress install mostly as a CMS. I would like to have two separate areas on ...
1
vote
2answers
121 views
Mapping Subdomains in Wordpress to give the appearance of a localised site, best approach?
I am building a classifieds website and am using Wordpress for the functionality of user accounts, Paypal integration, custom taxonomies and of course super flexible custom post types for the ...
0
votes
1answer
71 views
Unwanted redirect in admin area
I have a strange behaviour on my backend. This is possible due to the way my WordPress is located.
I installed it in a VirtualBox, using Ubuntu from the standard repository (i.e., apt-get install ...
0
votes
1answer
99 views
How to execute WordPress as though it is in the root folder while it is installed in a subdirectory?
I have a folder and file structure already in place for a site to which I am inserting WordPress. My goal is to execute WP at the root level (/) when a visitor just visits the domain without a path, ...
0
votes
1answer
123 views
Plugin could not be deleted due to an error: Unable to locate WordPress Plugin directory
I have moved my Wordpress site to a new host, because of performance problems on the old host.
I have updated wp-config.php with the new host's values, but when I try to delete a plugin from ...
0
votes
2answers
56 views
subdirectory install breaking existing links
I've had this issue several times now. While building a site, including some content, I keep wordpress in a subdirectory (say, /wordpress/). When putting it live, I move/copy 3 files out of the dir ...
0
votes
2answers
84 views
Can't Access Subdirectory
I've moved my blog from http://leghumped.com/blog to http://leghumped.com/ and now I can't access my /images directory. I've tried every combination of rules from trawling for people with the same ...
0
votes
1answer
114 views
Building a Data Intensive Website with Wordpress
I am an intemediate website builder and have been working with wordpress for a few years. I am attempting to build a website (for myself) that is data intensive. All I've built to date are sites ...
0
votes
2answers
97 views
Giving WordPress Its Own Directory together with index.html
I want to power my website from http://www.example.com and not from http://www.example.com/foldername
I've completed this task and this is working but before people actually get to the WordPress ...
0
votes
0answers
44 views
where is the path to plugin folder stored? [closed]
today i duplicated one wordpress instance of mine to be able to archive one of them and to further renew the other one:
1) i cloned the DB and changed the values accordingly in wp-config.php
2) i ...
0
votes
1answer
166 views
Upload an image at frontend > Create direction and/or rename filename possible?
I have a form for a non-profit-club, that publish posts + up to 20 images. The image-path will be writen in a custom-field. Images are uploaded. Ok, now i want to rename the pictures or (much better) ...
0
votes
0answers
75 views
wordpress automatically created a new 2013/01 subdirectory [closed]
apparently for the new year, wordpress created a new subdirectory(s) '2013/01' in the wp-content/uploads folder. this had the unintended result of breaking all the image links on the site. Does ...
1
vote
2answers
72 views
Retrieve the template directory URI via global or get_template_directory_uri() every time?
One Wordpress function I happen to use frequently is get_template_directory_uri(). While I tried to minimize or avoid its use where I can, I still happen to have more than one call to this function in ...
1
vote
3answers
81 views
Accessing WordPress installation in its own directory at domain root
I am using this tutorial Giving WordPress Its Own Directory to launch a WordPress (installed in a sub folder called wordpress) by using example.com instead of example.com/wordpress.
It says to copy ...
6
votes
1answer
519 views
Moving a WP Multisite to a subdirectory
Firstly, I've read a number of posts on this process. However, for various reasons, the process remains difficult to implement or troubleshoot for lack of even abstracted examples, or maybe too ...
5
votes
2answers
405 views
File and directory permissions
I installed latest WordPress 3.5 in my CentOS server. When I tried accessing http://example.com/wp-includes/, I received a listing of the directory: (Index of wp-includes).
I added the following code ...
1
vote
1answer
353 views
Disable directory browsing of uploads folder
I'm using Wordpress as a CMS for a simple website.
I want to prevent users from being able to browse the directories such as the wp-content/uploads folder or any directories of my theme.
My host does ...
1
vote
1answer
117 views
Plugins will only be installed with 777 on folder. Solution?
I'm 100% not the first asking this question, yet I want to have this question be answered to my situation..
I got Wordpress installed on my server (I host it at Versio.nl) and configured whole ...
0
votes
1answer
66 views
why there is a large file named core in wpmu's directory?
why the file named core is here? can i delete it?
ls -lh
total 37M
-rw-rw-r-- 1 hugemeow pg 16 2012-03-04 04:22 a.php
-rw------- 1 hugemeow pg 30M 2012-10-16 10:41 core // this is the large ...
2
votes
1answer
780 views
get_template_directory() vs bloginfo( 'template_directory' ) vs TEMPLATEPATH
I was reading this article: Common WordPress Development Mistakes and How to Fix Them, and in it, they author says:
Getting the theme location: If you are using TEMPLATEPATH or bloginfo(
...
1
vote
0answers
45 views
Moved Wordpress site to new server, directory permissions not working correctly
I built a Wordpress on my hosting space and then transferred it my clients server - followed all the instructions and pretty much everything works fine.
The ONLY problem I have is that the directory ...
0
votes
1answer
444 views
How to restrict access to wp-content, wp-includes and all sub-folders
after searching I didn't find an answer still confused of how do I hide the
-> wp-content
--> uploads
--> themes
--> plugins
-> wp-includes in browser. What I want is when viewer browse some like ...
4
votes
2answers
67 views
Get a path to a different plug-in
To get a the path to a plugin you can use plugin_dir_path(__FILE__) - but this obviously has to be called from within the plug-in.
How can you reliably get the path to plugin B (pluginb/pluginb.php) ...
1
vote
2answers
133 views
Accessing site's root from themes folder
Having some troubles with a PHP script I am trying to build.
I need to access the a file which is located in the root folder of my Wordpress install:
wordpress-root/live-config.php
Problem is, my ...
0
votes
1answer
89 views
Make theme editor to show all theme's files
Is there a way to make all files (also in subfolder) in my theme directory visible in the theme editor? I need a way to edit themes without having to upload a new one every time.
Thanks!
0
votes
0answers
23 views
Moving a Site within a Directory [closed]
I installed a WordPress site at http://austin.kitson.org/update and went into the settings and changed the url to http://austin.kitson.org. I then moved the directory up to austin.kitson in my FTP.
...
0
votes
1answer
69 views
wordpress sub-directory sites on a sub-domain?
I have a large site at www.example.com this is a .net site
I want to use WP multisite installed at word.example.com this would point to the WP root install directory but on a different server than ...
3
votes
1answer
91 views
Isolating WordPress to a subfolder
I'm trying to isolate a wordpress installation on our site to a specific subfolder. I created a folder on our root site named _wp and placed all the wordpress files in there. I added the following ...
0
votes
1answer
279 views
Permalink Issues by Installing WordPress in Subdirectory / Subfolder
I installed WP in subfolder /cms and it runs live without subfolder. When I use /%postname%/ as permalink I get 404 error on my site. My Server supported mod_rewrite.
My Code
wp-config.php
...
0
votes
1answer
120 views
navigation doesn't work in custom header.php
I've made a custom header-blog.php(for blog page/home.php) in addition to header.php, both of which use the exact same <nav> code. On the pages that use header.php, the navigation works ...
0
votes
2answers
169 views
How to produce a sub-page-system in Wordpress
I am currently new to Wordpress development and I am developing a custom theme with a few custom post types and custom functionality. For the most part, it was pretty easy to find the information I ...
-1
votes
1answer
57 views
Directory List For WordPress? [closed]
I was hoping someone could suggest a good Directory Listing Script Or Plugin that is friednly with WordPress?
I don't like what WordPress has to offer in it's free Plugins, so I am willing to pay.
I ...
1
vote
2answers
82 views
How do i structure my theme folder to avoid one huge list of files
When working with a worpress site with lots of custom post types and lots of page templates, my theme folder is looking messy. What are the accepted best practices to organise code files in WordPress?
...
1
vote
2answers
176 views
Opendir and Wordpress Path
I wrote a simple function to get the contents in a folder (called templates) in my wordpress plugin, but am having problems getting the path to work (thus the function always dies). My question is: ...
