The tag has no wiki summary.

learn more… | top users | synonyms (3)

0
votes
2answers
1k views

index.php file in wp-content/themes/ folder

I was manually uploading a theme im working on to my wordpress install tonight when I noticed a index.php file in my themes folder. I opened the file and it contained only the following three lines of ...
2
votes
1answer
221 views

Remove 'wp-content/themes/themename/' from Image path

I'm currently moving an old website based on some other CMS towards a new server, with WordPress. However, the site ranks good on Google, and I'm have to keep all the link structure, including the ...
0
votes
1answer
207 views

get_stylesheet_directory() returns wrong URI… localhost/using vhosts

I'm trying to develop a WP theme for a client via localhost. I'm using XAMPP on Windows 8 and has set up vhosts to something like myclient.dev. This works for stylesheet <?= get_stylesheet_uri(); ...
0
votes
1answer
53 views

Media Upload Directory to MMYY instead of YYYY/MM

Is there a way to change the upload directory's location and format from YYYY/MM (/wp-content/uploads/2013/06) to MMYY (/news/0613)? I've searched everywhere and could not find an answer - in fact, ...
1
vote
1answer
103 views

Limit multisite/network site names to a property of the user

We need to limit the blog names users may choose when they create their own blogs. We have a WordPress Network configured to have all blogs share a domain name. E.g., domain.name.com/x, ...
0
votes
1answer
82 views

Prevent WordPress from interpreting a subfolder?

How do I prevent WordPress from interpreting a subfolder? Right now WordPress is installed in the root folder (grassrootsmedia.net/) and I have several other subfolders like (/Clients) that should ...
0
votes
2answers
261 views

How long does it take for a new plugin to be approved?

I've just submited my first wp plugin and i would like to know after how much time will my plugin be published to the wordpress plugin directory? Hou much did you actually waited?
0
votes
1answer
244 views

Custom theme folder

Is anyone aware of an equivalent to WP_PLUGIN_DIR and WP_PLUGIN_URL for themes that I can define in wp-config.php, or am I stuck creating a mu-plugin and registering a new theme dir?
0
votes
1answer
323 views

Two Wordpress installations: One in root and one in sub directory - no images in subdir installation

The setup: I have two Wordpress installations. One in the root of the Server and one in a subdirectory, every installation has it's own database. The subdirectory installation is connected with a ...
0
votes
1answer
104 views

Multisite for main in subdirectory, subdomain and subfolders (EN/ES)

I have a domain <http://my-site.com> and I want to restructure it, used to have a Drupal for the portal and numerous installations of WordPress in different subdomains. The hosting I have only ...
2
votes
3answers
1k views

Sending form data via PHPMailer - How to action PHP script from a form

Some easy points on offer... I wish to action a PHP script from a WordPress page but where is the best place to store the script? The script works perfectly fine using a non-WordPress environment in ...
0
votes
3answers
595 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
14 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 ...
0
votes
0answers
14 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
2k 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
1answer
163 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
66 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 ...
6
votes
2answers
227 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
1answer
188 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
2answers
61 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
97 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
112 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 ...
1
vote
2answers
567 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
403 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
220 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
2answers
586 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
2answers
503 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
115 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 ...
1
vote
3answers
367 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
273 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
447 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
1answer
630 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) ...
1
vote
2answers
256 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
607 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 ...
8
votes
1answer
3k 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
865 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
2k 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
760 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
362 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 ...
7
votes
1answer
5k 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
74 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
2k 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
914 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
965 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
370 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
1answer
84 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
135 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
4answers
3k 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
241 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 ...
1
vote
2answers
425 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 ...